Date: Wed, 4 Jun 2003 10:12:02 +0100 From: David Malone <dwmalone@maths.tcd.ie> To: gson@nominum.com Cc: freebsd-bugs@FreeBSD.org Subject: Re: misc/34596: slow gettimeofday in FreeBSD 4.5 Message-ID: <20030604091202.GA33362@lanczos.maths.tcd.ie> In-Reply-To: <200306032110.h53LAEtA068006@freefall.freebsd.org> References: <200306032110.h53LAEtA068006@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 03, 2003 at 02:10:14PM -0700, gson@nominum.com wrote: > That's more than 5 microseconds on a 2.8 GHz processor, or more than > 14000 clock cycles per call. > > Other info: > > $ grep -i time /var/run/dmesg.boot > Timecounter "i8254" frequency 1193182 Hz > $ sysctl kern.timecounter > kern.timecounter.method: 0 > kern.timecounter.hardware: i8254 What happens if you try "sysctl kern.timecounter.hardware=TSC"? David.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030604091202.GA33362>