From owner-freebsd-questions Tue May 15 9:30:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 3529E37B422 for ; Tue, 15 May 2001 09:30:25 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 52013 invoked by uid 100); 15 May 2001 16:30:24 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15105.22944.435184.904578@guru.mired.org> Date: Tue, 15 May 2001 11:30:24 -0500 To: dave Cc: questions@freebsd.org Subject: Re: Gettimeofday Again... In-Reply-To: <29181216@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dave types: > Well I have been on the IRC in and out of mail list archives and cannot get > a good answer to this question... > > Why does gettimeofday perform so poorly on FreeBSD vs the same hardware on > Linux 2.4.2? Check the -questions archive. The first time this came up, someone claimed that some bit of data was being cached by the Linux gettimeofday call, but not by FreeBSD. The more interesting question is which runs a *single* call to gettimeofday faster, as that's the more likely scenario. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message