|
Re: mysql benchmarks: msg#00037os.freebsd.performance
David Xu wrote: Gustavo A. Baratto wrote: "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" |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | new mysql benchmarks: 00037, Gustavo A. Baratto |
|---|---|
| Next by Date: | Re: very busy syslog server: 00037, Mathieu Arnold |
| Previous by Thread: | Re: mysql benchmarksi: 00037, David Xu |
| Next by Thread: | Re: mysql benchmarks: 00037, Peter Pentchev |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |