linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dirk Brandewie <dirk.brandewie@gmail.com>
To: Melanie Kambadur <melanie@cs.columbia.edu>,
	David C Niemi <dniemi@verisign.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>,
	"cpufreq@vger.kernel.org" <cpufreq@vger.kernel.org>,
	Linux PM list <linux-pm@vger.kernel.org>
Subject: Re: powersave governor runs programs faster and uses more power than performance governor
Date: Tue, 29 Oct 2013 10:03:33 -0700	[thread overview]
Message-ID: <526FEA65.2030301@gmail.com> (raw)
In-Reply-To: <CAMeUXYvOTA4FXOo_mZKqeGnC_EhjBNMAsks41p0kx8YHXt9Cew@mail.gmail.com>

On 10/29/2013 09:27 AM, Melanie Kambadur wrote:
> Apologies, I accidentally sent my last mail before finishing...
>
> The available governors I have now are:
> conservative ondemand userspace powersave performance.
>

Only ondemand will have any active control of the P state requested.

performance == highest P state (reported by ACPI) is requested
powersave   == lowest P state (reported by ACPI) is requested
userspace   == Allows the user select a single P state.

With intel_pstate enabled
performance == highest P state (enumerated form CPU) is requested.
powersave   == Active control of the P state similar to ondemand.

To get userspace governor behavior set
/sys/devices/system/cpu/intel_pstate/{min, max}_perf_pct to the same
values.

/sys/devices/system/cpu/intel_pstate/no_turbo allows you to configure
whether P states in the turbo range for your CPU will be selected.


> Thankfully, I did not have to modify my kernel at all to get these.
> Once I get the chance to run some tests, I will keep you posted as to
> whether the governors behave as documented with this new
> configuration.
>
> Thanks again for the pointers and suggestions that got me this far!
>
> Melanie
>
> On Tue, Oct 29, 2013 at 12:25 PM, Melanie Kambadur
> <melanie@cs.columbia.edu> wrote:
>> After getting the chance to modify the BIOS, it finally looks like I
>> have the options that I want in terms of drivers/governors.
>>
>> FYI, rmmod intel-pstate did not work (before or after modifying the
>> bios),

intel_pstate is built-in only and not a module :-)

>> and as I mentioned earlier, before updating the bios, setting
>> intel_pstate=disable erased most of my driver/governor options.

The cpufreq core creates the sysfs files as governors are registered
with the core.  With intel_pstate=disable the driver will not register
with the core so if no other drivers/governors register with the core
the sysfs files will be missing.

>> What
>> did work was to update the BIOS to OS control as suggested, and THEN
>> setting intel_pstate=disable gave me the acpi-cpufreq driver, along
>> with the following governors:
>>
>> On Fri, Oct 25, 2013 at 2:27 PM, David C Niemi <dniemi@verisign.com> wrote:
>>>
>>> I'm pretty sure that Dell's Active Power Controller would supersede what the intel-pstate driver/governor is trying to do as well.  I doubt you will have enough control over the box to do meaningful tests until you can get the BIOS power setting changed to "OS Control".
>>>
>>> speedstep and p4-clockmod are both ancient.  But it is all moot if the BIOS won't let the OS manage the CPU.
>>>
>>> It is possible your distribution is a bit too stripped down.  You might want to build and install your own kernel so you can make sure all the sensible options are in it.  But it is also possible acpi-cpufreq is built in so you don't see it as a module, and it is not possible to activate it due to the Active Power Controller getting in the way.
>>>
>>> Meanwhile, can you rmmod intel-pstate?
>>>
>>> DCN
>>>
>>> On 10/25/13 12:35, Melanie Kambadur wrote:
>>>> If I disable intel_pstate on my kernel command line, I end up with
>>>> access only to the speedstep and p4-clockmod drivers, and no
>>>> acpi-cpufreq driver.  Is there a way to download the acpi-cpufreq
>>>> driver? I've tried a couple of things without success.
>>>>
>>>> BTW, I haven't gotten the chance to modify the BIOS yet (waiting on a
>>>> sysadmin).
>>>> -Melanie


  reply	other threads:[~2013-10-29 17:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAMeUXYuuM4LS2qAhhvQi8VG1bK4eiZjjTikchgHzeqi2EX6=bw@mail.gmail.com>
2013-10-24  5:28 ` powersave governor runs programs faster and uses more power than performance governor Viresh Kumar
2013-10-24 19:42   ` Melanie Kambadur
2013-10-25 14:31     ` David C Niemi
2013-10-25 14:40     ` Dirk Brandewie
2013-10-25 15:13       ` Melanie Kambadur
2013-10-25 15:38         ` Dirk Brandewie
2013-10-25 16:35           ` Melanie Kambadur
2013-10-25 18:27             ` David C Niemi
2013-10-29 16:25               ` Melanie Kambadur
2013-10-29 16:27                 ` Melanie Kambadur
2013-10-29 17:03                   ` Dirk Brandewie [this message]
     [not found]                     ` <CAMeUXYswoEhNbVua6wV-qg_DL5mn5Eahdny12wvSbs02h16RBQ@mail.gmail.com>
2014-11-11 19:46                       ` David C Niemi

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=526FEA65.2030301@gmail.com \
    --to=dirk.brandewie@gmail.com \
    --cc=cpufreq@vger.kernel.org \
    --cc=dniemi@verisign.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=melanie@cs.columbia.edu \
    --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).