From owner-freebsd-current@FreeBSD.ORG Fri Oct 28 01:11:05 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 C133516A41F for ; Fri, 28 Oct 2005 01:11:05 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from linda-2.paradise.net.nz (bm-2a.paradise.net.nz [203.96.152.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 568E443D45 for ; Fri, 28 Oct 2005 01:11:05 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-1.paradise.net.nz (tclsnelbe2-src-nat-1 [203.96.152.177]) by linda-2.paradise.net.nz (Paradise.net.nz) with ESMTP id <0IP100MI4PYGGN@linda-2.paradise.net.nz> for current@freebsd.org; Fri, 28 Oct 2005 14:11:04 +1300 (NZDT) Received: from [192.168.1.11] (218-101-13-50.paradise.net.nz [218.101.13.50]) by smtp-1.paradise.net.nz (Postfix) with ESMTP id 6A4F374D593; Fri, 28 Oct 2005 14:11:04 +1300 (NZDT) Date: Fri, 28 Oct 2005 14:11:02 +1300 From: Mark Kirkwood In-reply-to: <436178EA.5020603@paradise.net.nz> To: Mark Kirkwood Message-id: <43617AA6.2040406@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050726) References: <21137.1130401220@critter.freebsd.dk> <00a801c5dacf$db3b7700$6504010a@Jura> <43613541.7030009@mac.com> <43615BBB.2080702@paradise.net.nz> <43616A73.7030709@mac.com> <436178EA.5020603@paradise.net.nz> 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 01:11:05 -0000 Mark Kirkwood wrote: > To add to the confusion :-), here are results from a dual PIII 1G (Tyan > S2510) running 6.0-RC1 (minus all debugging and malloc checking): > > null function: 0.01143 > getpid(): 0.51563 > time(): 5.27039 > gettimeofday(): 5.24489 > > Interesting - kinda like the 5.4-STABLE results (but 2x slower for > time....). Again a pretty stock kernel ('options SMP' added obviously). > Sorry - I am mistaken, there some debugging support enabled: makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols Not sure if that would explain the poor showing for the time tests tho.