linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: Prarit Bhargava <prarit@redhat.com>
Cc: rafael.j.wysocki@intel.com, viresh.kumar@linaro.org,
	linux-pm@vger.kernel.org, trenn@suse.de
Subject: Re: [PATCH v2 0/4]  cpufreq governors and Intel P state driver compatibility
Date: Wed, 09 Dec 2015 08:18:34 -0800	[thread overview]
Message-ID: <1449677914.4180.15.camel@linux.intel.com> (raw)
In-Reply-To: <566828C5.3010605@redhat.com>

On Wed, 2015-12-09 at 08:12 -0500, Prarit Bhargava wrote:
> 
> On 12/08/2015 06:57 PM, Srinivas Pandruvada wrote:
> > On Tue, 2015-12-08 at 18:45 -0500, Prarit Bhargava wrote:
> > > 
> > > On 12/08/2015 05:31 PM, Srinivas Pandruvada wrote:
> > > > Intel P State driver implements two policies, performance and
> > > > powersave.
> > > > The powersave policy is similar to ondemand cpufreq governor
> > > > when using
> > > > acpi-cpufreq. This causes lots of confusion among users. This
> > > > results
> > > > in invalid comparison of performance when acpi-cpufreq and
> > > > Intel P state
> > > > performance is compared.
> > > > 
> > > > The reason Intel P state called powersave when it actually
> > > > implemented
> > > > ondemand style P State selection, because the cpufreq core only
> > > > allows
> > > > two generic policies "performance and powersave" for drivers
> > > > which has
> > > > setpolicy() interface. All drivers using this interface are
> > > > forced to
> > > > support these two policies.
> > > > 
> > > > This patchset adds feature to have configurable generic
> > > > policies and
> > > > allows ondemand as one of the policy. With this approach, Intel
> > > > P state
> > > > now adds support for ondemand policy and power save policy both
> > > > in
> > > > addition to performance.
> > > 
> > Prarit,
> > > Srinivas, if I read the patchset correctly then this means that
> > > ondemand ==
> > > powersave ?
> > Yes. Will it cause problem to you?
> 
> Nope :)  I like that option.  I was just asking to make sure I
> understood
> the nature of the change.
> 
> > > 
> > > If so, is the intention to one day remove powersave altogether
> > > and switch to
> > > only ondemand & performance?
> > Yes. But we can add powersave, which all requests P state to max
> > efficiency ratio. But I want to check, if it will this cause more
> > confusion.
> > 
> 
> I'm thinking of end users -- we (Red Hat, but I'm pretty sure this
> applies
> to all distributions) have spent a significant amount of effort in
> educating
> users about the differences between the cpufreq and intel-pstate
> governors.
> 
> Google search yields several results detailing the difference between
> the
> powersave and userspace governors as well, so I think that making
> changes at
> this point, especially after years of use, will only lead to more
> confusion
> for users.
> 
Good point. We have customers in both camps. This is tough one.
> IOW, I agree with the technical argument, but I think that our users
> will
> really be confused.
> 
Thanks,
Srinivas
> P.

  reply	other threads:[~2015-12-09 16:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 22:31 [PATCH v2 0/4] cpufreq governors and Intel P state driver compatibility Srinivas Pandruvada
2015-12-08 22:31 ` [PATCH v2 1/4] cpufreq: Add configurable generic policies Srinivas Pandruvada
2015-12-09  2:18   ` Viresh Kumar
2015-12-08 22:31 ` [PATCH v2 2/4] cpufreq: Add ondemand as a generic policy Srinivas Pandruvada
2015-12-08 22:31 ` [PATCH v2 3/4] Documentation: cpu-freq: update setpolicy documentation Srinivas Pandruvada
2015-12-09  2:19   ` Viresh Kumar
2015-12-08 22:31 ` [PATCH v2 4/4] cpufreq: intel_pstate: Change powersave to ondemand policy Srinivas Pandruvada
2015-12-08 23:45 ` [PATCH v2 0/4] cpufreq governors and Intel P state driver compatibility Prarit Bhargava
2015-12-08 23:57   ` Srinivas Pandruvada
2015-12-09 13:12     ` Prarit Bhargava
2015-12-09 16:18       ` Srinivas Pandruvada [this message]
2015-12-16 19:33 ` Srinivas Pandruvada

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=1449677914.4180.15.camel@linux.intel.com \
    --to=srinivas.pandruvada@linux.intel.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=prarit@redhat.com \
    --cc=rafael.j.wysocki@intel.com \
    --cc=trenn@suse.de \
    --cc=viresh.kumar@linaro.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;
as well as URLs for NNTP newsgroup(s).