Re: v2.6.26-rc7: Negative powertop values

From: Arjan van de Ven
Date: Sat Jun 21 2008 - 17:17:19 EST


On Sat, 21 Jun 2008 21:16:37 +0200
"Vegard Nossum" <vegard.nossum@xxxxxxxxx> wrote:

> Hi,
>
> I was testing v2.6.26-rc7 by running lmbench and hotplug/-unplugging
> CPUs and a few other programs at the same time. Powertop was showing a
> negative number of wakeups/second and average C3 residency was
> something really insane. Is there anything strange with this schedstat
> file, or is there another file I should look at that can explain the
> strange powertop numbers? Or maybe it's just an artifact of powertop
> and this has nothing to do with the kernel?

powertop doesn't assume you do cpu hotunplug (and the internal state
goes wacky if you do).

[I assume you know that doing a software unplug you burn more power
than by leaving the cpu idle]


--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/