Timers and timing, was: MySQL Performance 6.0rc1

Steven Hartland killing at multiplay.co.uk
Thu Oct 27 17:11:12 PDT 2005


Very interesting I know game server call this VERY often and
hence it could be affecting them significantly.

Can you post the test code you guys are using, went back through
the thread but cant see it.

    Steve
----- Original Message ----- 
From: "Chuck Swiger" <cswiger at mac.com>


> Mark Kirkwood wrote:
>> 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 :-(.


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-current mailing list