Timers and timing, was: MySQL Performance 6.0rc1

John-Mark Gurney gurney_j at resnet.uoregon.edu
Fri Oct 28 13:19:00 PDT 2005


Michael VInce wrote this message on Fri, Oct 28, 2005 at 22:33 +1000:
> Hey guys, I been watching this thread and I can confirm that MySQL and 
> the Super-smack benchmark greatly rely on this,
> I was able to increase performance %600 by changing 
> kern.timecounter.hardware to dummy.

This is probably because dummy doesn't actually do any real
timecounting... and that the times that the benchmark took was longer
then reported by the machine..  dummy just increments a counter, and
means that the times returned only have a relation to how often/much
the time "hardware" was queried...

Use a stopwatch to time the benchmark, and make sure that the time
the benchmark took agrees with what the computer says...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-current mailing list