select(2) timeout precision
silby at silby.com
Tue Nov 1 23:31:42 PST 2005
On Tue, 1 Nov 2005, Viktor Vasilev wrote:
> With FreeBSD 5.4-RELEASE I almost constantly get ~20000 microseconds
> delta. That is with 100HZ kernel on PIII 500MHz or Sempron 64 2800+
Put kern.hz=1000 in /boot/loader.conf to kick it up to 1000Hz, that should
improve the accuracy a lot.
The optimizations in the url someone else posted should probably be
integrated into FreeBSD, but moving to a higher Hz setting is a necessity
in either case.
Mike "Silby" Silbersack
More information about the freebsd-hackers