Re: Timers and timing, was: MySQL Performance 6.0rc1
From: Mark Kirkwood (markir_at_paradise.net.nz)
Date: 10/28/05
- Previous message: Poul-Henning Kamp: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- In reply to: Chuck Swiger: "Timers and timing, was: MySQL Performance 6.0rc1"
- Next in thread: David Xu: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Reply: David Xu: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Reply: Chuck Swiger: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Reply: Poul-Henning Kamp: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Reply: Pertti Kosunen: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 Oct 2005 11:59:07 +1300 To: Chuck Swiger <cswiger@mac.com>
Chuck Swiger wrote:
> FreeBSD 5.4-STABLE i386
> null function: 0.01278
> getpid(): 0.51329
> time(): 2.54771
> gettimeofday(): 2.54982
>
Chuck - very interesting results. I happen to have a PIII 1Ghz running
5.4-RELEASE so thought it would be interesting to reproduce your
numbers. My null and getpid pretty much do, but the time functions seem
much quicker on my machine - some sort of regression in 5.4-STABLE maybe?
null function: 0.01578
getpid(): 0.49136
time(): 0.83031
gettimeofday(): 0.78838
However, we are still slower than Linux :-(.
[Running a pretty much stock kernel, except for:
#cpu I486_CPU
#cpu I586_CPU
and timer.c is compiled w/o any optimization.]
cheers
Mark
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: Poul-Henning Kamp: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- In reply to: Chuck Swiger: "Timers and timing, was: MySQL Performance 6.0rc1"
- Next in thread: David Xu: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Reply: David Xu: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Reply: Chuck Swiger: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Reply: Poul-Henning Kamp: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Reply: Pertti Kosunen: "Re: Timers and timing, was: MySQL Performance 6.0rc1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]