Hello, guys!
I'm just migrating to the new Quad AMD64 machine with Gentoo 2.6 kernel,
so I installed the standard 4.0.20 distribution for AMD64.
Everything is fine except /proc/stat shows that all threads use just
cpu0.
The server is under a valuable load - 'mysqladmin status' says 800
queries/sec.
But it simply does not utilize cpu1-3.
# ldd /host/mysql/bin/mysqld
librt.so.1 => /lib/librt.so.1 (0x0000002a9566a000)
libdl.so.2 => /lib/libdl.so.2 (0x0000002a95781000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0000002a95885000)
libz.so.1 => /lib/libz.so.1 (0x0000002a95a1a000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x0000002a95b2d000)
libnsl.so.1 => /lib/libnsl.so.1 (0x0000002a95c61000)
libm.so.6 => /lib/libm.so.6 (0x0000002a95d77000)
libc.so.6 => /lib/libc.so.6 (0x0000002a95efb000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2
(0x0000002a95556000)
so, it is compiled with pthreads. Here is the part that I don't know at
all. It's supposed to be with pThreads to use all processors, right?
# cat /proc/stat
cpu 104728 24308 95450 850370429 1232909 15497 71447
cpu0 100078 6285 73133 211489429 1222913 15497 71429
cpu1 1931 6133 7760 212958253 4585 0 9
cpu2 1508 5846 7288 212960523 3503 0 3
cpu3 1210 6042 7268 212962222 1906 0 4
cpu1-3 'user' falue (1st) grows a little - I guess it's some system
daemons, while cpu0 is doing all mysql tasks.
Any help is much appreciated.
Thanks!
--
==================================
Mike Blazer
[EMAIL PROTECTED]
==================================
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]