Timers and timing, was: MySQL Performance 6.0rc1

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Oct 28 01:46:03 PDT 2005


In message <1130487786.4259.7.camel at massimo.datacode.it>, Massimo Lusetti write
s:

>For the records here is the result on a Linux kernel 2.6.12-1.1380_FC3
>(Fedora Core 3) on a P4 1.8G
>
>       null function: 0.00947
>            getpid(): 0.00988
>              time(): 3.80196
>      gettimeofday(): 4.04731

That is actually an interesting result because it could indicate
that RH is not too happy about the fast&loose timekeeping in the
default Linux kernel...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list