From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 00:11:12 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1528C16A41F for ; Fri, 28 Oct 2005 00:11:12 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7256143D45 for ; Fri, 28 Oct 2005 00:11:11 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon.PRO.v8.1.3.R) with ESMTP id md50001962877.msg for ; Fri, 28 Oct 2005 01:11:00 +0100 Message-ID: <004f01c5db54$107d4c70$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Chuck Swiger" , "Mark Kirkwood" References: <21137.1130401220@critter.freebsd.dk><00a801c5dacf$db3b7700$6504010a@Jura><43613541.7030009@mac.com> <43615BBB.2080702@paradise.net.nz> <43616A73.7030709@mac.com> Date: Fri, 28 Oct 2005 01:10:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Spam-Processed: multiplay.co.uk, Fri, 28 Oct 2005 01:11:00 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: current@freebsd.org X-MDAV-Processed: multiplay.co.uk, Fri, 28 Oct 2005 01:11:01 +0100 Cc: current@freebsd.org Subject: Re: Timers and timing, was: MySQL Performance 6.0rc1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 00:11:12 -0000 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" > 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@multiplay.co.uk.