Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2005 01:31:39 -0600 (CST)
From:      Mike Silbersack <silby@silby.com>
To:        Viktor Vasilev <viktor.vasilev@stud.tu-darmstadt.de>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: select(2) timeout precision
Message-ID:  <20051102012953.C815@odysseus.silby.com>
In-Reply-To: <20051101224223.GA737@ilium.0xdeadc0de.net>
References:  <20051101224223.GA737@ilium.0xdeadc0de.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051102012953.C815>