From: Dominik Brodowski <linux@dominikbrodowski.net>
To: Venkatesh Pallipadi <venki@google.com>
Cc: Matthew Garrett <mjg@redhat.com>,
Youquan Song <youquan.song@intel.com>,
davej@redhat.com, cpufreq@vger.kernel.org, arjan@linux.intel.com,
lenb@kernel.org, suresh.b.siddha@intel.com, kent.liu@intel.com,
chaohong.guo@intel.com, linux-kernel@vger.kernel.org,
linux-acpi@vger.kernel.org,
Youquan Song <youquan.song@linux.intel.com>
Subject: Re: [PATCH 6/6] cpufreq: Evaluate P1 before enter turbo mode
Date: Thu, 23 Dec 2010 21:48:21 +0100 [thread overview]
Message-ID: <20101223204821.GA6441@comet.dominikbrodowski.net> (raw)
In-Reply-To: <AANLkTi=XkMqUSfO076mVqGCHv-Kw-jnuL8dZiN17ypqZ@mail.gmail.com>
Hey,
On Thu, Dec 23, 2010 at 10:13:54AM -0800, Venkatesh Pallipadi wrote:
> On Thu, Dec 23, 2010 at 6:38 AM, Matthew Garrett <mjg@redhat.com> wrote:
> > On Thu, Dec 23, 2010 at 11:57:30AM +0100, Dominik Brodowski wrote:
> >
> >> NACK. First of all, why is it only a "turbo mode" if it's 1000 kHz
> >> difference?
> >
> > I believe that that's how it's supposed to be defined for Intel systems,
> > but you're right that this doesn't belong in generic code. AMD have
> > support for enabling/disabling their equivalent functionality through
> > sysfs - I'd say that copying that interface and using it to limit the
> > set of p-states provided to the core makes more sense.
> >
>
> If this 1000kHz hack is needed, it should be in acpi-cpufreq driver
> along with Intel CPU and Turbo mode capability check..
> I had a change earlier and I don't think I ever pushed it out. But, it
> was doing the max freq transition on turbo capable CPUs in 2 steps.
> Something like:
> - cpu is in one of the low freqs.
> - ondemand asks for highest freq.
> - acpi-cpufreq will check whether the CPU is turbo capable and will
> only switch to non-turbo peak freq as first step.
> - If ondemand asks for highest freq again, acpi-cpufreq will then
> switch to turbo freq.
>
> Something like that would probably help the problem here?
then we'd put policy in two places, instead of letting the decision be made
at one place. So I'd not favour such an approach... What should indeed be in
acpi-cpufreq is to mark certain frequency steps as being not power
efficient, though.
Best,
Dominik
next prev parent reply other threads:[~2010-12-23 20:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-23 6:23 [PATCH 0/6] cpufreq: Add sampling window to enhance ondemand governor power efficiency Youquan Song
2010-12-23 6:23 ` [PATCH 1/6] cpufreq: Add sampling window for ondemand governor Youquan Song
2010-12-23 6:23 ` [PATCH 2/6] cpufreq: Add sampling_window tunable Youquan Song
2010-12-23 6:23 ` [PATCH 3/6] cpufreq: Add roll back non-sampling_window Youquan Song
2010-12-23 6:23 ` [PATCH 4/6] cpufreq: Add dynamic sampling window tunable Youquan Song
2010-12-23 6:23 ` [PATCH 5/6] cpufreq: Add down_differential tunable Youquan Song
2010-12-23 6:23 ` [PATCH 6/6] cpufreq: Evaluate P1 before enter turbo mode Youquan Song
2010-12-23 10:57 ` Dominik Brodowski
2010-12-23 14:38 ` Matthew Garrett
2010-12-23 18:13 ` Venkatesh Pallipadi
2010-12-23 20:48 ` Dominik Brodowski [this message]
2010-12-23 11:00 ` [PATCH 0/6] cpufreq: Add sampling window to enhance ondemand governor power efficiency Dominik Brodowski
2010-12-23 17:34 ` Dave Jones
[not found] ` <20101223173402.GA3821@redhat.com>
2010-12-23 20:51 ` Dominik Brodowski
[not found] ` <20101223205148.GB6441@comet.dominikbrodowski.net>
2010-12-25 4:24 ` James Cloos
2010-12-24 3:06 ` Youquan Song
2010-12-23 14:42 ` Matthew Garrett
2010-12-24 4:28 ` Youquan Song
[not found] ` <BBBDBC5FD59D92459FAEF7D8EA3361C402A1A424@DUL1WNEXMB05.vcorp.ad.vrsn.com>
2010-12-23 23:26 ` Youquan Song
-- strict thread matches above, loose matches on Subject: below --
2010-12-23 6:17 Youquan Song
2010-12-23 6:17 ` [PATCH 1/6] cpufreq: Add sampling window for ondemand governor Youquan Song
2010-12-23 6:17 ` [PATCH 2/6] cpufreq: Add sampling_window tunable Youquan Song
2010-12-23 6:17 ` [PATCH 3/6] cpufreq: Add roll back non-sampling_window Youquan Song
2010-12-23 6:17 ` [PATCH 4/6] cpufreq: Add dynamic sampling window tunable Youquan Song
2010-12-23 6:17 ` [PATCH 5/6] cpufreq: Add down_differential tunable Youquan Song
2010-12-23 6:17 ` [PATCH 6/6] cpufreq: Evaluate P1 before enter turbo mode Youquan Song
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=20101223204821.GA6441@comet.dominikbrodowski.net \
--to=linux@dominikbrodowski.net \
--cc=arjan@linux.intel.com \
--cc=chaohong.guo@intel.com \
--cc=cpufreq@vger.kernel.org \
--cc=davej@redhat.com \
--cc=kent.liu@intel.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=suresh.b.siddha@intel.com \
--cc=venki@google.com \
--cc=youquan.song@intel.com \
--cc=youquan.song@linux.intel.com \
/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