Timers and timing, was: MySQL Performance 6.0rc1
David Xu
davidxu at freebsd.org
Fri Oct 28 03:14:56 PDT 2005
Poul-Henning Kamp wrote:
> In message <4361F057.4030904 at pp.nic.fi>, Pertti Kosunen writes:
>
>
>>Does polling affect to this test?
>
>
> Not apart from the CPU overhead.
>
> sysctl kern.timecounter.hardware
>
> is much more important.
>
> and all the reports here which fail to include it are mostly
> useless.
>
>
I suspect because our time() function in libc uses gettimeofday,
this further causes lots of gettimeofday syscall.
More information about the freebsd-current
mailing list