Benchmark MySQL Performance On FreeBSD And Linux

Gea-Suan Lin gslin at gslin.org
Thu Dec 15 22:46:20 PST 2005


Hi,

In http://blog.gslin.org/archives/2005/12/12/252/ we test more cases,
and summary some important conclusions:

* SCHED_ULE (kernel options) is faster than SCHED_4BSD.

* Use kern.timecounter.choice=TSC (sysctl) will be faster than ACPI-fast
  or ACPI-safe. (about 10% again)

And I notice you use kernel-image-2.6.8-2-686-smp in Debian, but not use
"CPUTYPE?= p3" in /etc/make.conf to compile kernel.

And you should disable these options, it may increase ~10% again:

-cpu             I486_CPU
-cpu             I586_CPU
 cpu             I686_CPU

-- 
* Gea-Suan Lin  (public key: http://ccreader.nctu.edu.tw/~gslin/key.txt)
* If you cannot convince them, confuse them.           -- Harry S Truman


More information about the freebsd-performance mailing list