Re: Timers and timing, was: MySQL Performance 6.0rc1

From: Massimo Lusetti <massimo_at_cedoc.mo.it>
Date: Fri, 28 Oct 2005 16:05:30 +0200
On Fri, 2005-10-28 at 10:23 +0200, Massimo Lusetti wrote:


> Yep, and on 5.3-STABLE of 12/2004 on a Xeon 2.8G
> 
>        null function: 0.00460
>             getpid(): 0.41424
>               time(): 0.55854
>       gettimeofday(): 0.54748
> 
> 
> But, while repeating, I've seen values of time() and gettimeofday()
> changing even to more then 2 secs.

These results are with
kern.timecounter.hardware: TSC
kern.timecounter.choice: TSC(800) i8254(0) dummy(-1000000)

> For the records her
> (e 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

I don't know how to get infos about timecounter on linux.

Regards

-- 
Massimo.run();
Received on Fri Oct 28 2005 - 12:05:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC