I use databases/mysql50-{client,server}
and use benchmarks/super-smack
to test. There are 3*2*2*2 = 24 cases:
- Compile options: none,
WITH_PROC_SCOPE_PTH=yes
, WITH_LINUXTHREADS=yes
/etc/libmap.conf
: none (libpthread
), libthr
kern.timecounter.choice
: ACPI-fast
, TSC
- kernel:
ULE
+PREEMPTION
, ULE
These benchmarking were tested on my laptop (IBM x31 2672-IQV, Pentium-M 1.5G with 512MB RAM), and powerd
was disabled. Detail informations (dmesg, sysctl, and kernel config file) will post later.
The commands are:
for i in 1 2 3 4 5; do super-smack select-key.smack 10 1000 | grep select_index; done
for i in 1 2 3 4 5; do super-smack update-select.smack 10 1000 | grep select_index; done
mysql-linuxthreads-libpthread-acpifast-ule+pre.txt
select_index 20000 0 0 14097.47
select_index 20000 0 0 13741.43
select_index 20000 1 0 13704.01
select_index 20000 0 0 13626.05
select_index 20000 0 0 13769.32
select_index 10000 2 0 1891.63
select_index 10000 2 0 1758.65
select_index 10000 2 0 1836.00
select_index 10000 4 0 2058.71
select_index 10000 14 0 2050.05
Continue reading "FreeBSD 6.0 MySQL Performance"