misc/34596: slow gettimeofday in FreeBSD 4.5
David Malone
dwmalone at maths.tcd.ie
Wed Jun 4 02:13:37 PDT 2003
On Tue, Jun 03, 2003 at 02:10:14PM -0700, gson at 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.
More information about the freebsd-bugs
mailing list