Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 16:12:08 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, current@freebsd.org
Subject:   Re: Timers and timing, was: MySQL Performance 6.0rc1
Message-ID:  <43628618.6080004@mac.com>
In-Reply-To: <20051028200007.GP4115@funkthat.com>
References:  <4361F057.4030904@pp.nic.fi> <30622.1130493370@critter.freebsd.dk> <20051028200007.GP4115@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
John-Mark Gurney wrote:
> Poul-Henning Kamp wrote this message on Fri, Oct 28, 2005 at 11:56 +0200:
[ ... ]
>               time(): 0.65022
>       gettimeofday(): 0.60886
> hydrogen,ttypa,/tmp,503#sysctl kern.timecounter.hardware=ACPI-fast
> kern.timecounter.hardware: TSC -> ACPI-fast
[ ... ]
>               time(): 1.33242
>       gettimeofday(): 1.33421
> 
> I was quite impressed by the speed up using the TSC over ACPI-fast...

Yes, but the frightening code in sys/i386/isa/clock.c suggests that the TSC and 
SMP do not play nice together, and neither does power-management stuff.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43628618.6080004>