Re: v2.6.26-rc7: Negative powertop values

From: Pavel Machek
Date: Tue Jul 08 2008 - 09:38:46 EST


On Sat 2008-06-21 14:16:15, Arjan van de Ven wrote:
> 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]

We should really fix that one day...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/