Tuning HZ for semi-realtime applications
David Schultz
das at freebsd.org
Wed Aug 6 10:05:32 PDT 2003
On Wed, Aug 06, 2003, Jan Grant wrote:
> On Tue, 5 Aug 2003, David Schultz wrote:
>
> > 100 Hz works just fine for
> > interactive jobs; humans can't tell the difference.[1]
>
> They can if they're using X :-) I gave Denim* a trial recently; it was
> unusable at 100Hz and fine at 1000.
Yes, polling a tablet device is an interesting case where it
matters. If you reread my last message carefully, you'll noticed
that I suggested bumping up the default HZ a bit, since the
overhead appears to be well into the noise even at 500 Hz.
An alternative would be to implement a high-resolution timer
facility similar to the Solaris cyclics implementation.
More information about the freebsd-hackers
mailing list