Date: Wed, 2 Nov 2005 10:20:22 +0100 From: Viktor Vasilev <viktor.vasilev@stud.tu-darmstadt.de> To: Mike Silbersack <silby@silby.com> Cc: freebsd-hackers@freebsd.org Subject: Re: select(2) timeout precision Message-ID: <20051102092022.GA624@ilium.0xdeadc0de.net> In-Reply-To: <20051102012953.C815@odysseus.silby.com> References: <20051101224223.GA737@ilium.0xdeadc0de.net> <20051102012953.C815@odysseus.silby.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 02, 2005 at 01:31:39AM -0600, Mike Silbersack wrote: > > 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. Indeed! That did the trick. > 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. I've read in the lists, that in -CURRENT 1000HZ and PREEMPTION are in the GENERIC kernel. It'll be interesting to see how it performs there. With 6.0 around the corner, I'll give it a try soon. Thank you and Mihail Balikov for the pointers. Cheers, Viktor -- I think and think for months and years. Ninety nine times, the conclusion is false. The hundredth time I am right. -- Albert Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051102092022.GA624>