Re: Timers and timing, was: MySQL Performance 6.0rc1

From: Steven Hartland <killing_at_multiplay.co.uk>
Date: Fri, 28 Oct 2005 22:36:19 +0100
For interest I ran truss on a typical game server we run under
FreeBSD to get a feel for how much this issue would affect
their performance.
Below is a small snippet from truss with -D which indicates
that they would also benefit from work in this area.

[log]
0.000012011 linux_select(0x1,0xbfbfe960,0x0,0x0,0xbfbfe958) = 0 (0x0)
0.000010615 linux_socketcall((12)LINUX_RECVFROM,0xbfbfe9a0) ERR#35 'Resource temporarily unavailable'
0.000010894 gettimeofday({1130534881 790912},0xbfbfe9f0) = 0 (0x0)
0.009520674 nanosleep({0 5000000})               = 0 (0x0)
0.000013409 linux_select(0x1,0xbfbfe960,0x0,0x0,0xbfbfe958) = 0 (0x0)
0.000010615 linux_socketcall((12)LINUX_RECVFROM,0xbfbfe9a0) ERR#35 'Resource temporarily unavailable'
0.000010615 gettimeofday({1130534881 800931},0xbfbfe9f0) = 0 (0x0)
0.009837732 nanosleep({0 5000000})               = 0 (0x0)
0.000012291 linux_select(0x1,0xbfbfe960,0x0,0x0,0xbfbfe958) = 0 (0x0)
0.000017320 linux_socketcall((12)LINUX_RECVFROM,0xbfbfe9a0) = 15 (0xf)
0.000011174 gettimeofday({1130534881 810942},0xbfbfe9e0) = 0 (0x0)
0.000034639 linux_socketcall((11)LINUX_SENDTO,0xbfbfe100) = 154 (0x9a)
0.000013129 linux_select(0x1,0xbfbfe960,0x0,0x0,0xbfbfe958) = 0 (0x0)
0.000010615 linux_socketcall((12)LINUX_RECVFROM,0xbfbfe9a0) ERR#35 'Resource temporarily unavailable'
0.000010615 gettimeofday({1130534881 811255},0xbfbfe9f0) = 0 (0x0)
[/log]


================================================
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.
Received on Fri Oct 28 2005 - 20:12:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC