On 06/16/2010 03:09 PM Les Mikesell wrote:
On 6/16/2010 1:47 PM, ken wrote:
Hey, folks,
Sometimes my workstation bogs down... slows to a crawl. Using gkrellm, it's obvious the CPU is the laggard. The top utility confirms: the load average gets up over 4 at times. But this occurs when cpu stepping pegs the speed at 600MHz. This processor is capable of 1.5GHz and when it's allowed to run at that speed, the load average is under 2, which is fine.
So the question is: what's a good /etc/sysconfig/cpuspeed file? This workstation is a notebook and it can get hot. Of course I'd rather type on slow machine than a machine with a fried mainboard, so a report of a high temperature should kick in the governor and lower the speed.
Currently my /etc/sysconfig/cpuspeed has no variables defined (it's been this way at least since Apr 24) and I don't know what the number ranges and other values for them might be.
Chances are that it is really your disk io that is the problem. Linux likes to count iowait time as CPU time. What do sar or vmstat say about your wait time?
# vmstat procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 1 0 148 104328 156776 601100 0 0 26 89 525 118 87 12 1 0 0
Sorry for the wrap.