linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Disabling power management firmware decisions
@ 2015-03-19 13:33 Daniel Lezcano
  2015-03-19 14:08 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Lezcano @ 2015-03-19 13:33 UTC (permalink / raw)
  To: Rafael J. Wysocki, Len Brown, Linux PM mailing list


Hi,

I would like to do some experiments with the x86 platform but I am 
facing one big issue.

When I use the rapl register to measure the energy consumption with 
turbostat and another tool written by me. I see no differences between 
my kernel changes while using the idlestat tool, I see big differences 
in the idle state durations with the traces.

I remember on x86 the firmware overrides all kernel decisions to do the 
power management. So I assume, it is possible my changes are not 
measurable because of that.

Is there a way to tell the firmware to stop overriding the kernel 
decisions in order to let the kernel handle idle/dvfs on its own ?

Thanks

   -- Daniel


-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disabling power management firmware decisions
  2015-03-19 13:33 Disabling power management firmware decisions Daniel Lezcano
@ 2015-03-19 14:08 ` Rafael J. Wysocki
  2015-03-19 15:34   ` Daniel Lezcano
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael J. Wysocki @ 2015-03-19 14:08 UTC (permalink / raw)
  To: Daniel Lezcano; +Cc: Len Brown, Linux PM mailing list

On Thursday, March 19, 2015 02:33:34 PM Daniel Lezcano wrote:
> 
> Hi,
> 
> I would like to do some experiments with the x86 platform but I am 
> facing one big issue.
> 
> When I use the rapl register to measure the energy consumption with 
> turbostat and another tool written by me. I see no differences between 
> my kernel changes while using the idlestat tool, I see big differences 
> in the idle state durations with the traces.
> 
> I remember on x86 the firmware overrides all kernel decisions to do the 
> power management. So I assume, it is possible my changes are not 
> measurable because of that.
> 
> Is there a way to tell the firmware to stop overriding the kernel 
> decisions in order to let the kernel handle idle/dvfs on its own ?

The short answer to that is no, there isn't.  It also may not be firmware,
but hardware.

Rafael


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Disabling power management firmware decisions
  2015-03-19 14:08 ` Rafael J. Wysocki
@ 2015-03-19 15:34   ` Daniel Lezcano
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2015-03-19 15:34 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: Len Brown, Linux PM mailing list

On 03/19/2015 03:08 PM, Rafael J. Wysocki wrote:
> On Thursday, March 19, 2015 02:33:34 PM Daniel Lezcano wrote:
>>
>> Hi,
>>
>> I would like to do some experiments with the x86 platform but I am
>> facing one big issue.
>>
>> When I use the rapl register to measure the energy consumption with
>> turbostat and another tool written by me. I see no differences between
>> my kernel changes while using the idlestat tool, I see big differences
>> in the idle state durations with the traces.
>>
>> I remember on x86 the firmware overrides all kernel decisions to do the
>> power management. So I assume, it is possible my changes are not
>> measurable because of that.
>>
>> Is there a way to tell the firmware to stop overriding the kernel
>> decisions in order to let the kernel handle idle/dvfs on its own ?
>
> The short answer to that is no, there isn't.  It also may not be firmware,
> but hardware.

mmrfh, that's not funny :(

Thanks for the answer.

   -- Daniel

-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-19 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-19 13:33 Disabling power management firmware decisions Daniel Lezcano
2015-03-19 14:08 ` Rafael J. Wysocki
2015-03-19 15:34   ` Daniel Lezcano

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).