Date: Fri, 28 Oct 2005 22:36:19 +0100 From: "Steven Hartland" <killing@multiplay.co.uk> To: "John-Mark Gurney" <gurney_j@resnet.uoregon.edu>, "Poul-Henning Kamp" <phk@phk.freebsd.dk> Cc: Michael VInce <mv@roq.com>, current@freebsd.org Subject: Re: Timers and timing, was: MySQL Performance 6.0rc1 Message-ID: <005d01c5dc0c$7ad2c9c0$b3db87d4@multiplay.co.uk> References: <35317.1130531852@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
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@multiplay.co.uk.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005d01c5dc0c$7ad2c9c0$b3db87d4>