Re: mysql benchmarks



David Xu wrote:

Gustavo A. Baratto wrote:

Since the last post just had freebsd numbers, I'm re-posting it including
Linux as well. Both linux and freebsd numbers were taken from the same box:


...

Can you try TSC timer on FreeBSD ? someone reported that using TSC
timer boosts performance of super-smack significantly.

David Xu

"TSC" can be a few 100 times faster than gettimeofday(), but one needs to know
how to calibrate and convert it to timer because TSC is counter, not timer.


Also, if FreeBSD uses TSC to compare with Linux using gettimeofday,
it does not sound a fun.
gettimeofday is a very expensive function on all systems.
http://dsd.lbl.gov/DIDC/papers/imc-2003.pdf
tells how much it costs on some common systems, especially FreeBSD and Linux.


So, if both systems use gettimeofday, then slow may be somewhere else.

--
------------ Jin Guojun ----------- v --- jin@xxxxxxxxxxxxxx ---
Distributed Systems Department		http://www.dsd.lbl.gov/~jin
Lawrence Berkeley National Laboratory,	Berkeley, CA 94720

_______________________________________________
freebsd-performance@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-performance
To unsubscribe, send any mail to "freebsd-performance-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: mysql benchmarks
    ... Both linux and freebsd numbers were taken from the ... >>Can you try TSC timer on FreeBSD? ... >>timer boosts performance of super-smack significantly. ...
    (freebsd-performance)
  • Re: Where are the nanoseconds from (new Timestamp(...)).getNanos()?
    ... If you're on Linux, you can "strace" your Bash shell script ... newer HPET "timer" (the 'T' stands for timer, ... redundant;) or it could use the TSC, or the PIT, etc. ... is known to be broken on some architectures (synch problems, ...
    (comp.lang.java.programmer)
  • Re: gettimeofday() in hping
    ... Will install ubuntu on the same machine and let you know, but my experience shows that FreeBSD + TSC ... I guess the default as it is not set anywhere (in linux it can be changed only during boot time i think) ... Calibrating delay using timer specific routine.. ... ACPI-fast - 7.137 MB/s ...
    (freebsd-hackers)
  • Re: mysql benchmarks
    ... Both linux and freebsd numbers were taken from the same box: ... Can you try TSC timer on FreeBSD? ... Also, if FreeBSD uses TSC to compare with Linux using gettimeofday, ...
    (freebsd-performance)
  • Re: FreeBSD 4.x Opteron Question
    ... the FreeBSD developers told everyone that 5.3 was da ... initially over linux not because there's a bunch of good guys on the ... My tests measure kernel performance; ... > a networking device is a key performance indicator. ...
    (freebsd-questions)