From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 08:46:03 2005 Return-Path: X-Original-To: freebsd-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 CC60716A41F for ; Fri, 28 Oct 2005 08:46:03 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 731F743D49 for ; Fri, 28 Oct 2005 08:46:03 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 91752BC84; Fri, 28 Oct 2005 08:46:00 +0000 (UTC) To: Massimo Lusetti From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 28 Oct 2005 10:23:05 +0200." <1130487786.4259.7.camel@massimo.datacode.it> Date: Fri, 28 Oct 2005 10:46:00 +0200 Message-ID: <29620.1130489160@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-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 08:46:03 -0000 In message <1130487786.4259.7.camel@massimo.datacode.it>, Massimo Lusetti write s: >For the records here is the result on a Linux kernel 2.6.12-1.1380_FC3 >(Fedora Core 3) on a P4 1.8G > > null function: 0.00947 > getpid(): 0.00988 > time(): 3.80196 > gettimeofday(): 4.04731 That is actually an interesting result because it could indicate that RH is not too happy about the fast&loose timekeeping in the default Linux kernel... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.