From: Mark Gross <mgross@linux.intel.com>
To: Valdis.Kletnieks@vt.edu
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.23-mm1 breaks C-state support on Intel T7200 x86_64
Date: Thu, 8 Nov 2007 10:07:39 -0800 [thread overview]
Message-ID: <20071108180739.GA5062@linux.intel.com> (raw)
In-Reply-To: <3624.1194542384@turing-police.cc.vt.edu>
On Thu, Nov 08, 2007 at 12:19:44PM -0500, Valdis.Kletnieks@vt.edu wrote:
> (Sorry for not reporting this sooner - I haven't been running off battery
> much in the last 3 weeks, so I didn't notice it till now...)
>
> Dell Latitude D820 laptop, T7200 Core2 Duo CPU, x86_64 kernel.
>
> As reported by 'powertop' on a basically idle machine:
>
> 2.6.23-mm1:
>
> Cn Avg residency P-states (frequencies)
> C0 (cpu running) (100.0%) 2.00 Ghz 0.8%
> C1 0.0ms ( 0.0%) 1.67 Ghz 0.0%
> C2 0.0ms ( 0.0%) 1333 Mhz 0.0%
> C3 0.0ms ( 0.0%) 1000 Mhz 99.2%
>
> 2.6.23-rc8-mm2:
>
> Cn Avg residency P-states (frequencies)
> C0 (cpu running) ( 0.3%) 2.00 Ghz 0.0%
> C1 0.0ms ( 0.0%) 1.67 Ghz 0.0%
> C2 0.0ms ( 0.0%) 1333 Mhz 0.0%
> C3 31.5ms (99.7%) 1000 Mhz 100.0%
>
> In addition, the ACPI power estimate reported about 25 watts for 23-mm1,
> but only 21 watts for -rc8-mm2, a significant regression.
well, thats because you burn less watts if you get into C3.
>
> I bisected this down to this set of patches:
>
> pm-qos-infrastructure-and-interface.patch
> pm-qos-infrastructure-and-interface-fix.patch
> pm-qos-infrastructure-and-interface-vs-git-acpi.patch
> pm-qos-infrastructure-and-interface-vs-git-acpi-2.patch
> latencyc-use-qos-infrastructure.patch
yipes! I'll look at it right away. It looks like an integration issue
with CPU-IDLE patches (those control the C-state entry). I'll get it
fixed up.
>
> The patch says:
>
> To register the default pm_qos target for the specific parameter, the
> process must open one of /dev/[cpu_dma_latency, network_latency,
> network_throughput]
>
> As long as the device node is held open that process has a registered
> requirement on the parameter. The name of the requirement is
> "process_<PID>" derived from the current->pid from within the open system
> call.
>
> I shouldn't have to have a process open a /dev/file, write a number, and then
> stay around forever so the file doesn't close in order to get the same behavior
> I was getting by default before. What needs to happen to get this to not
> be a behavior regression/change?
>
you won't have such a process (at least I highly doubt you do) I need
to fix this. Thanks for taking the time to bisect it and reporting it to me!
--mgross
next prev parent reply other threads:[~2007-11-08 18:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-08 17:19 2.6.23-mm1 breaks C-state support on Intel T7200 x86_64 Valdis.Kletnieks
2007-11-08 18:02 ` Andrew Morton
2007-11-08 20:03 ` Mark Gross
2007-11-08 20:15 ` Andrew Morton
2007-11-08 18:07 ` Mark Gross [this message]
2007-11-08 22:30 ` Mark Gross
2007-11-09 20:24 ` Valdis.Kletnieks
2007-11-12 4:26 ` mark gross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071108180739.GA5062@linux.intel.com \
--to=mgross@linux.intel.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox