All of lore.kernel.org
 help / color / mirror / Atom feed
* S0iX Ultra Low Power States
@ 2014-11-25 12:51 Dennis Wassenberg
  2014-11-25 18:13 ` Kristen Carlson Accardi
  0 siblings, 1 reply; 5+ messages in thread
From: Dennis Wassenberg @ 2014-11-25 12:51 UTC (permalink / raw)
  To: linux-pm

Hi,

I would like to know more about the Linux power management in
correlation to the Intel S0iX Ultra Low Power States.

Systems which have a Windows 8 Logo must support Connected Standby (or
InstantGo, however it is called). One of the requirements getting this
logo is that the ACPI firmware must not provide an S3 object in the root
of the namespace. This means that Linux can not use the S3 mode.

To archive a very low power consumption Microsoft uses the Ultra Low
Power States S0i1 and S0i3. Is there a way to use these low power states
in linux for Haswell/LynxPoint or Broadwell/Skylake platforms?

I read something about these states. Such that they can be activated
automatically but there are some preconditions (e.g. certain IO devices
have to put into a low power state, graphics off, only one CPU online,
...). If I enter the S1 Low Power State (with additional
disable_nonboot_cpus) all of these preconditions should be fulfilled?!
But I can not observe that the there is a power consumption less than 1
Watt.

Thank you & Best regards,

Dennis

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

* Re: S0iX Ultra Low Power States
  2014-11-25 12:51 S0iX Ultra Low Power States Dennis Wassenberg
@ 2014-11-25 18:13 ` Kristen Carlson Accardi
  2014-11-27 11:50   ` Dennis Wassenberg
  0 siblings, 1 reply; 5+ messages in thread
From: Kristen Carlson Accardi @ 2014-11-25 18:13 UTC (permalink / raw)
  To: Dennis Wassenberg; +Cc: linux-pm

On Tue, 25 Nov 2014 13:51:37 +0100
Dennis Wassenberg <dennis.wassenberg@secunet.com> wrote:

> Hi,
> 
> I would like to know more about the Linux power management in
> correlation to the Intel S0iX Ultra Low Power States.
> 
> Systems which have a Windows 8 Logo must support Connected Standby (or
> InstantGo, however it is called). One of the requirements getting this
> logo is that the ACPI firmware must not provide an S3 object in the root
> of the namespace. This means that Linux can not use the S3 mode.
> 
> To archive a very low power consumption Microsoft uses the Ultra Low
> Power States S0i1 and S0i3. Is there a way to use these low power states
> in linux for Haswell/LynxPoint or Broadwell/Skylake platforms?
> 
> I read something about these states. Such that they can be activated
> automatically but there are some preconditions (e.g. certain IO devices
> have to put into a low power state, graphics off, only one CPU online,
> ...). If I enter the S1 Low Power State (with additional
> disable_nonboot_cpus) all of these preconditions should be fulfilled?!
> But I can not observe that the there is a power consumption less than 1
> Watt.
> 
> Thank you & Best regards,
> 
> Dennis

Hi,
On haswell ULT and Broadwell ULT these states can be entered as part of
Linux's normal Idle flow if some preconditions are met.  You should run
powertop to ensure that all devices are tuned for low power.  The
embedded display must be off. (no external display connected).  You
should confirm that all PCIe endpoint devices on your platform support
ASPM and L1 substates (using lspci).  If they do not, you must ensure
they are in D3.  You should kill or freeze any processes that frequently
wake in order to improve your average battery life.  You can use
powertop or turbostat to confirm entry into pc8/pc9/pc10.

Good luck.
Kristen



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

* Re: S0iX Ultra Low Power States
  2014-11-25 18:13 ` Kristen Carlson Accardi
@ 2014-11-27 11:50   ` Dennis Wassenberg
  2014-12-04  9:59     ` Dennis Wassenberg
  0 siblings, 1 reply; 5+ messages in thread
From: Dennis Wassenberg @ 2014-11-27 11:50 UTC (permalink / raw)
  To: Kristen Carlson Accardi; +Cc: linux-pm

Hi Kristen,

thank you for these hints. Especially these regarding PCIe endpoint
devices. I found that some of these was configured to be always on which
prevents the system from entering the S0iX states. After changing this
the power consumption reduced to approximately 0.5 Watt.

Thank you & best regards,

Dennis

On 25.11.2014 19:13, Kristen Carlson Accardi wrote:
> On Tue, 25 Nov 2014 13:51:37 +0100
> Dennis Wassenberg <dennis.wassenberg@secunet.com> wrote:
> 
>> Hi,
>>
>> I would like to know more about the Linux power management in
>> correlation to the Intel S0iX Ultra Low Power States.
>>
>> Systems which have a Windows 8 Logo must support Connected Standby (or
>> InstantGo, however it is called). One of the requirements getting this
>> logo is that the ACPI firmware must not provide an S3 object in the root
>> of the namespace. This means that Linux can not use the S3 mode.
>>
>> To archive a very low power consumption Microsoft uses the Ultra Low
>> Power States S0i1 and S0i3. Is there a way to use these low power states
>> in linux for Haswell/LynxPoint or Broadwell/Skylake platforms?
>>
>> I read something about these states. Such that they can be activated
>> automatically but there are some preconditions (e.g. certain IO devices
>> have to put into a low power state, graphics off, only one CPU online,
>> ...). If I enter the S1 Low Power State (with additional
>> disable_nonboot_cpus) all of these preconditions should be fulfilled?!
>> But I can not observe that the there is a power consumption less than 1
>> Watt.
>>
>> Thank you & Best regards,
>>
>> Dennis
> 
> Hi,
> On haswell ULT and Broadwell ULT these states can be entered as part of
> Linux's normal Idle flow if some preconditions are met.  You should run
> powertop to ensure that all devices are tuned for low power.  The
> embedded display must be off. (no external display connected).  You
> should confirm that all PCIe endpoint devices on your platform support
> ASPM and L1 substates (using lspci).  If they do not, you must ensure
> they are in D3.  You should kill or freeze any processes that frequently
> wake in order to improve your average battery life.  You can use
> powertop or turbostat to confirm entry into pc8/pc9/pc10.
> 
> Good luck.
> Kristen
> 
> 

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

* Re: S0iX Ultra Low Power States
  2014-11-27 11:50   ` Dennis Wassenberg
@ 2014-12-04  9:59     ` Dennis Wassenberg
  2014-12-04 19:25       ` Kristen Carlson Accardi
  0 siblings, 1 reply; 5+ messages in thread
From: Dennis Wassenberg @ 2014-12-04  9:59 UTC (permalink / raw)
  To: Kristen Carlson Accardi; +Cc: linux-pm

Hi Kristen,

Now I am investigating on an other device (Microsoft Surface Pro 3).
There I followed your instructions but without success. Even powertop
assumes that everything is tuned for low power.

This device takes 2.5 Watt in freeze mode. So I assume that the S0i3
state was not entered automatically. Is there any possibility to check
which precondition is not satisfied? Or can I force the system to enter
S0iX states?

Thank you & best regards,
Dennis

On 27.11.2014 12:50, Dennis Wassenberg wrote:
> Hi Kristen,
> 
> thank you for these hints. Especially these regarding PCIe endpoint
> devices. I found that some of these was configured to be always on which
> prevents the system from entering the S0iX states. After changing this
> the power consumption reduced to approximately 0.5 Watt.
> 
> Thank you & best regards,
> 
> Dennis
> 
> On 25.11.2014 19:13, Kristen Carlson Accardi wrote:
>> On Tue, 25 Nov 2014 13:51:37 +0100
>> Dennis Wassenberg <dennis.wassenberg@secunet.com> wrote:
>>
>>> Hi,
>>>
>>> I would like to know more about the Linux power management in
>>> correlation to the Intel S0iX Ultra Low Power States.
>>>
>>> Systems which have a Windows 8 Logo must support Connected Standby (or
>>> InstantGo, however it is called). One of the requirements getting this
>>> logo is that the ACPI firmware must not provide an S3 object in the root
>>> of the namespace. This means that Linux can not use the S3 mode.
>>>
>>> To archive a very low power consumption Microsoft uses the Ultra Low
>>> Power States S0i1 and S0i3. Is there a way to use these low power states
>>> in linux for Haswell/LynxPoint or Broadwell/Skylake platforms?
>>>
>>> I read something about these states. Such that they can be activated
>>> automatically but there are some preconditions (e.g. certain IO devices
>>> have to put into a low power state, graphics off, only one CPU online,
>>> ...). If I enter the S1 Low Power State (with additional
>>> disable_nonboot_cpus) all of these preconditions should be fulfilled?!
>>> But I can not observe that the there is a power consumption less than 1
>>> Watt.
>>>
>>> Thank you & Best regards,
>>>
>>> Dennis
>>
>> Hi,
>> On haswell ULT and Broadwell ULT these states can be entered as part of
>> Linux's normal Idle flow if some preconditions are met.  You should run
>> powertop to ensure that all devices are tuned for low power.  The
>> embedded display must be off. (no external display connected).  You
>> should confirm that all PCIe endpoint devices on your platform support
>> ASPM and L1 substates (using lspci).  If they do not, you must ensure
>> they are in D3.  You should kill or freeze any processes that frequently
>> wake in order to improve your average battery life.  You can use
>> powertop or turbostat to confirm entry into pc8/pc9/pc10.
>>
>> Good luck.
>> Kristen
>>
>>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

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

* Re: S0iX Ultra Low Power States
  2014-12-04  9:59     ` Dennis Wassenberg
@ 2014-12-04 19:25       ` Kristen Carlson Accardi
  0 siblings, 0 replies; 5+ messages in thread
From: Kristen Carlson Accardi @ 2014-12-04 19:25 UTC (permalink / raw)
  To: Dennis Wassenberg; +Cc: linux-pm

On Thu, 4 Dec 2014 10:59:50 +0100
Dennis Wassenberg <dennis.wassenberg@secunet.com> wrote:

> Hi Kristen,
> 
> Now I am investigating on an other device (Microsoft Surface Pro 3).
> There I followed your instructions but without success. Even powertop
> assumes that everything is tuned for low power.
> 
> This device takes 2.5 Watt in freeze mode. So I assume that the S0i3
> state was not entered automatically. Is there any possibility to check
> which precondition is not satisfied? Or can I force the system to enter
> S0iX states?
> 
> Thank you & best regards,
> Dennis

Hi Dennis,
Why don't you do this:

(start with screen on, all external devices unplugged)

# powertop --auto-tune
# xset dpms force off; powertop --html --time 120; xset dpms force on

and send me the powertop.html output files.

BTW - I don't want to be pessimistic here, but you do realize the
surface pro was designed for windows and as such is unlikely to have
firmware which plays well with Linux.  But you can always try I suppose.

Kristen
 
> 
> On 27.11.2014 12:50, Dennis Wassenberg wrote:
> > Hi Kristen,
> > 
> > thank you for these hints. Especially these regarding PCIe endpoint
> > devices. I found that some of these was configured to be always on which
> > prevents the system from entering the S0iX states. After changing this
> > the power consumption reduced to approximately 0.5 Watt.
> > 
> > Thank you & best regards,
> > 
> > Dennis
> > 
> > On 25.11.2014 19:13, Kristen Carlson Accardi wrote:
> >> On Tue, 25 Nov 2014 13:51:37 +0100
> >> Dennis Wassenberg <dennis.wassenberg@secunet.com> wrote:
> >>
> >>> Hi,
> >>>
> >>> I would like to know more about the Linux power management in
> >>> correlation to the Intel S0iX Ultra Low Power States.
> >>>
> >>> Systems which have a Windows 8 Logo must support Connected Standby (or
> >>> InstantGo, however it is called). One of the requirements getting this
> >>> logo is that the ACPI firmware must not provide an S3 object in the root
> >>> of the namespace. This means that Linux can not use the S3 mode.
> >>>
> >>> To archive a very low power consumption Microsoft uses the Ultra Low
> >>> Power States S0i1 and S0i3. Is there a way to use these low power states
> >>> in linux for Haswell/LynxPoint or Broadwell/Skylake platforms?
> >>>
> >>> I read something about these states. Such that they can be activated
> >>> automatically but there are some preconditions (e.g. certain IO devices
> >>> have to put into a low power state, graphics off, only one CPU online,
> >>> ...). If I enter the S1 Low Power State (with additional
> >>> disable_nonboot_cpus) all of these preconditions should be fulfilled?!
> >>> But I can not observe that the there is a power consumption less than 1
> >>> Watt.
> >>>
> >>> Thank you & Best regards,
> >>>
> >>> Dennis
> >>
> >> Hi,
> >> On haswell ULT and Broadwell ULT these states can be entered as part of
> >> Linux's normal Idle flow if some preconditions are met.  You should run
> >> powertop to ensure that all devices are tuned for low power.  The
> >> embedded display must be off. (no external display connected).  You
> >> should confirm that all PCIe endpoint devices on your platform support
> >> ASPM and L1 substates (using lspci).  If they do not, you must ensure
> >> they are in D3.  You should kill or freeze any processes that frequently
> >> wake in order to improve your average battery life.  You can use
> >> powertop or turbostat to confirm entry into pc8/pc9/pc10.
> >>
> >> Good luck.
> >> Kristen
> >>
> >>
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-pm" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > 


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

end of thread, other threads:[~2014-12-04 19:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-25 12:51 S0iX Ultra Low Power States Dennis Wassenberg
2014-11-25 18:13 ` Kristen Carlson Accardi
2014-11-27 11:50   ` Dennis Wassenberg
2014-12-04  9:59     ` Dennis Wassenberg
2014-12-04 19:25       ` Kristen Carlson Accardi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.