Re: 100% cpu usage on single cpu core
Posted by:
Gus Lopez
Date: December 23, 2009 06:07PM
After tweaking a little the my.cnf
TOP shows the following
Cpu0 : 15.2%us, 0.3%sy, 0.0%ni, 83.8%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 15.1%us, 1.0%sy, 0.0%ni, 82.3%id, 1.6%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 65.5%us, 2.6%sy, 0.0%ni, 31.6%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.3%us, 0.0%sy, 0.0%ni, 98.5%id, 1.2%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2057716k total, 1248484k used, 809232k free, 20952k buffers
Swap: 5844984k total, 681032k used, 5163952k free, 479692k cached
PR NI VIRT RES SHR S %CPU %MEM TIME COMMAND
20 0 898m 140m 2580 S 100 7.0 42:20.44 mysqld
All Core have a share BUT does NOT Exceed 100%.
Is there a param that I need to tune?
Thanks
Gus