27.16. Scheduler

Configuration of the scheduler:

max_sleep_time : float = 0.05 1
min_sleep_time : float = 0.005 
sleep_time_decrement_constant : float = 0.01 2
sleep_time_increment_constant : float = 0.005
tick_delta_high_limit : float = 0.02 3
tick_delta_low_limit : float = 0.005 4

1

Maximum and minimum sleep time.

2

Constant added to/ subtracted from sleep_time if idle.

3

If time delta between two ticks is larger than tick_delta_low_limit, sleep time will decrease.

4

If time delta between two ticks is smaller than tick_delta_low_limit, sleep time will increase. This is the evidence that there were very little work to do in the previous tick.