Differences

This shows you the differences between two versions of the page.

chibios:kb:round_robin [2011/10/03 20:54]
giovanni [Round Robin scheduling explained]
chibios:kb:round_robin [2015/03/01 18:12] (current)
giovanni [Recommendations]
Line 40: Line 40:
 ===== Recommendations ===== ===== Recommendations =====
  
-As you can see the ''CH_TIME_QUANTUM'' setting is really useful only if there are threads at the same priority level that can run not preempted for long periods of time and that do not explicitly yield using ''chThdYield()'. Because of this you should consider setting ''CH_TIME_QUANTUM'' to zero in your configuration file, this makes the kernel much faster and smaller and **does not** forbid the use of multiple threads at the same priority level.+As you can see the ''CH_TIME_QUANTUM'' setting is really useful only if there are threads at the same priority level that can run not preempted for long periods of time and that do not explicitly yield using ''chThdYield()''. Because of this you should consider setting ''CH_TIME_QUANTUM'' to zero in your configuration file, this makes the kernel much faster and smaller and **does not** forbid the use of multiple threads at the same priority level.
  
 
chibios/kb/round_robin.txt · Last modified: 2015/03/01 18:12 by giovanni
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.3