Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754028AbYFUVQh (ORCPT ); Sat, 21 Jun 2008 17:16:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752038AbYFUVQ2 (ORCPT ); Sat, 21 Jun 2008 17:16:28 -0400 Received: from casper.infradead.org ([85.118.1.10]:51898 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751623AbYFUVQ2 (ORCPT ); Sat, 21 Jun 2008 17:16:28 -0400 Date: Sat, 21 Jun 2008 14:16:15 -0700 From: Arjan van de Ven To: "Vegard Nossum" Cc: "Ingo Molnar" , "Peter Zijlstra" , "Linux Kernel Mailing List" Subject: Re: v2.6.26-rc7: Negative powertop values Message-ID: <20080621141615.51f7100c@linux.intel.com> In-Reply-To: <19f34abd0806211216y4695c532ndb4935082bd8ea1@mail.gmail.com> References: <19f34abd0806211216y4695c532ndb4935082bd8ea1@mail.gmail.com> Organization: Intel X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1163 Lines: 29 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] -- If you want to reach me at my work email, use arjan@linux.intel.com 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/