Tuning HZ for semi-realtime applications

Roderick van Domburg r.s.a.vandomburg at student.utwente.nl
Tue Aug 5 03:22:44 PDT 2003


There's this Linux kernel patch that allows for timeslice tuning. It's 
got the following rules of the thumb:

* The optimal setting is your CPU's speed in MHz's / 2
* ...but there is no point in going above 1000 Hz
* ...and be sure to use multiples of 100 Hz

I am everything but an expert at scheduling, but somehow this makes 
sense: i.e. one jiffy for the scheduler and one jiffy for the process.

Does all of this make any sense or is it just a load of hooey?

Regards,

Roderick



More information about the freebsd-hackers mailing list