Massive number of unexplained wakeups on Thinkpad X60s
Arjan van de Ven
arjan at linux.intel.com
Wed Jun 6 07:35:34 PDT 2007
John Fremlin wrote:
> For a very simple example: suppose the CPU enters state C1. Then
> cur_usage[1]=1. Now suppose that it stays there for a few
> milliseconds. It will automatically fall down to C2.
actually.. it will not unless the OS kernel wakes up, executes code
and then selects C2. Even if the HW would change C-states under you,
the counters wouldn't be updated to reflect that because it's the
kernel that does that counting pretty much ;)
> So
> cur_usage[2]=1. Then there is a wake-up and it goes back to C0. Your
> calculation will say there were two wake-ups.
because there were two...
More information about the Power
mailing list