All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] System runs very slow with high cooling_device state
@ 2011-07-28  8:39 David Herrmann
  2011-07-28 20:43 ` Matthew Garrett
  0 siblings, 1 reply; 2+ messages in thread
From: David Herrmann @ 2011-07-28  8:39 UTC (permalink / raw)
  To: linux-acpi; +Cc: lenb, rui.zhang, David Herrmann

Hi

I tried running:
echo 10 >/sys/class/thermal/cooling_device0/cur_state
echo 10 >/sys/class/thermal/cooling_device1/cur_state
Both "max_state" is 10 and cur_state was 0 before.

After that the whole system runs horribly slow. Running "htop" didn't
show any CPU consuming process, though. Even the kernel threads were
idle. Setting *either of them* to 0 made the system response timer
much better again. Setting one to 10 and the other one to 5 makes the
system slow again, but not as slow as with both at 10 so I think this
is incremental.

Since htop doesn't show anything I guess this attribute either changes
the wrong option or the kernel is running in lots of interrupt
handlers. Also I didn't notice any speed change of my fans. They run
at the same "noise-level" with state 0 and 10.
"cooling_device2" (LCD) doesn't show this behaviour.

I run an Intel Atom N450 @ 1.66ghz (dual core or HT, I am not sure).
Both cooling_devices correspond to one of the CPUs.


Is there an easy way to debug this? Does running oprofile help? Or am
I just misunderstanding what "cooling_deviceX" does?

Regards
David

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUG] System runs very slow with high cooling_device state
  2011-07-28  8:39 [BUG] System runs very slow with high cooling_device state David Herrmann
@ 2011-07-28 20:43 ` Matthew Garrett
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Garrett @ 2011-07-28 20:43 UTC (permalink / raw)
  To: David Herrmann; +Cc: linux-acpi, lenb, rui.zhang

On Thu, Jul 28, 2011 at 10:39:06AM +0200, David Herrmann wrote:

> Is there an easy way to debug this? Does running oprofile help? Or am
> I just misunderstanding what "cooling_deviceX" does?

When the colling device type is "Processor", that means that it's 
reducing heat output by slowing down the processor.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-28 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-28  8:39 [BUG] System runs very slow with high cooling_device state David Herrmann
2011-07-28 20:43 ` Matthew Garrett

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.