Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755623AbYGHNio (ORCPT ); Tue, 8 Jul 2008 09:38:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754468AbYGHNib (ORCPT ); Tue, 8 Jul 2008 09:38:31 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:2474 "EHLO spitz.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753631AbYGHNia (ORCPT ); Tue, 8 Jul 2008 09:38:30 -0400 Date: Sun, 6 Jul 2008 21:48:45 +0200 From: Pavel Machek To: Arjan van de Ven Cc: Vegard Nossum , Ingo Molnar , Peter Zijlstra , Linux Kernel Mailing List Subject: Re: v2.6.26-rc7: Negative powertop values Message-ID: <20080706194845.GA5617@ucw.cz> References: <19f34abd0806211216y4695c532ndb4935082bd8ea1@mail.gmail.com> <20080621141615.51f7100c@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080621141615.51f7100c@linux.intel.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1276 Lines: 30 On Sat 2008-06-21 14:16:15, Arjan van de Ven wrote: > On Sat, 21 Jun 2008 21:16:37 +0200 > "Vegard Nossum" 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/