[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Versions 3.2 and 4 Performance Tuning Guide

Modifying the Scheduler Time Slice

The length of the scheduler time slice can be modified with the schedtune command. The syntax for this function is:

   schedtune -t increase

where increase is the number of 10ms clock ticks by which the standard time slice (one 10ms tick) is to be increased. Thus, schedtune -t 2 would set the time slice length to 30ms. schedtune -t 0 would return the time slice length to the default.

In an environment in which the length of the time slice has been increased, some applications may not need or should not have the full time slice. These applications can give up the processor explicitly with the yield system call (as can programs in an unmodified environment). After a yield call, the calling thread is moved to the end of the dispatch queue for its priority level.


[ Previous | Next | Contents | Glossary | Home | Search ]