Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754712Ab0AZVpe (ORCPT ); Tue, 26 Jan 2010 16:45:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754676Ab0AZVpa (ORCPT ); Tue, 26 Jan 2010 16:45:30 -0500 Received: from one.firstfloor.org ([213.235.205.2]:56826 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754546Ab0AZVpW (ORCPT ); Tue, 26 Jan 2010 16:45:22 -0500 To: jeff@jgarrett.org (Jeff Garrett) Cc: linux-kernel@vger.kernel.org, Len Brown , linux-acpi@vger.kernel.org Subject: Re: acpi_idle: Very idle Core i7 machine never enters C3 From: Andi Kleen References: <20100126084740.GA5265@jgarrett.org> Date: Tue, 26 Jan 2010 22:45:20 +0100 In-Reply-To: <20100126084740.GA5265@jgarrett.org> (Jeff Garrett's message of "Tue, 26 Jan 2010 02:47:40 -0600") Message-ID: <87y6jkee1b.fsf@basil.nowhere.org> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1452 Lines: 39 jeff@jgarrett.org (Jeff Garrett) writes: > Hi, > > I was trying to chase down a theory that my desktop machine (a core i7) > is running warm (the fan sounds like it's at full speed all the time, > and I think it's not always acted this way -- hence the theory). > > powertop is never showing it spending any time in C3... > > I compiled a kernel without USB/sound/radeon, and ran without X. I was > able to get the wakeups/sec down below 20, but no time is spent in C3. [...] > This may be a complete red herring, but I added some printk logic to > acpi_idle_bm_check(), and it is getting called often, but bm_status is > always 1. [I infer from this that the idle logic is trying to go into > C3, but this check is stopping it... Unless I misread something.] Normally a Core i7 (or any modern Intel systems) should not use bm_check at all. That's only for older systems that didn't support MWAIT with c-state hint, but relied on the old port based interface. So something is already confused there. I think it should still work though. Of course if you really have a lot of bus mastering in the background then yes there will be no C3. -Andi -- ak@linux.intel.com -- Speaking for myself only. -- 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/