Daemon News Ezine BSD News BSD Mall BSD Support Forum BSD Advocacy BSD Updates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Benchmark MySQL Performance On FreeBSD And Linux



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