IP Library › Granted Patent US 9,921,635
Granted Patent B2
US 9,921,635 · App. 14/068,207 · Granted Mar 20, 2018

Dynamic and adaptive sleep state management

Inventors: Yasuko Eckert (Kirkland, WA); Manish Arora (Dublin, CA)
Assignee: Advanced Micro Devices, Inc.
G06F1/3228G06F1/32G06F1/3203G06F1/324G06F1/3206G06F1/3231G06F1/3246Y02B60/1217Y02B60/1289
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,921,635
App. No.
14/068,207
Granted
Mar 20, 2018
Kind
B2
Abstract

An approach is described herein that includes a method for power management of a device. In one example, the method includes sampling duration characteristics for a plurality of past idle events for a predetermined interval of time and determining whether to transition a device to a powered-down state based on the sampled duration characteristics. In another example, the method includes determining whether an average idle time for a plurality of past idle events exceeds an energy break-even point threshold. If the average idle time for the plurality of past idle events exceeds the energy break-even point threshold, a device is immediately transitioned to a powered-down state upon receipt of a next idle event. If the average idle time for the plurality of past idle events does not exceed the energy break-even point threshold, transition of the device to the powered-down state is delayed.

Claims (39)

1. A method, comprising:

sampling, by a power management controller, a device's duration characteristics for a plurality of past idle events for a predetermined interval of time, wherein the sampling comprises:

determining a quantity of the plurality of past idle events for the predetermined interval of time; and

determining an average idle time duration for the quantity of past idle events; and

determining, by the power management controller, whether to transition the device to a powered-down state based on the sampled duration characteristics of the device, wherein determining whether to transition the device to the powered-down state comprises:

determining whether the average idle time duration for the plurality of past idle events exceeds an energy break-even point threshold, wherein the energy break-even point threshold is an amount of time when a cumulative leakage energy savings equals an energy overhead during the powered-down state;

if the average idle time duration for the plurality of past idle events exceeds the energy break-even point threshold, initiating the transition of the device to the powered-down state upon receipt of a next idle event, wherein initiating the transition of the device to the powered-down state comprises determining a frequency of the plurality of past idle events received and adjusting a current pre-flush latency for the next idle event based on the determined frequency; and

if the average idle time duration for the plurality of past idle events does not exceed the energy break-even point threshold, delaying the transition of the device to the powered-down state.

2. The method of claim 1 , wherein adjusting the current pre-flush latency comprises:

setting the current pre-flush latency to zero if the determined frequency of the plurality of past idle events is less than an events received threshold; and

incrementing the current pre-flush latency if the determined frequency of the plurality of past idle events exceeds the events received threshold.

3. The method of claim 1 , wherein delaying the transition of the device to the powered-down state comprises:

determining whether a last pre-flush latency of a last idle event received exceeds a latency threshold; and

if the last pre-flush latency does not exceed the latency threshold, setting a future pre-flush latency for future idle events to a default value.

4. The method of claim 3 , further comprising:

if the last pre-flush latency of the last idle event received exceeds the latency threshold:

determining whether a quantity of unsuccessful transitions to the powered-down state exceeds a wake-up event threshold; and

adjusting the future pre-flush latency for future idle events based on the determination whether the quantity of unsuccessful transitions to the powered-down state exceeds the wake-up event threshold.

5. The method of claim 4 , wherein adjusting the future pre-flush latency comprises:

incrementing the future pre-flush latency if the quantity of unsuccessful transitions to the powered-down state exceeds the wake-up event threshold; and

if the quantity of unsuccessful transitions to the powered-down state does not exceed the wake-up event threshold:

decrementing the future pre-flush latency when the quantity of unsuccessful transitions to the powered-down state exceeds a predetermined unsuccessful transitions threshold.

6. A system comprising:

a power management controller configured to:

sample a device's duration characteristics for a plurality of past idle events for a predetermined interval of time, wherein the power management controller is further configured to determine a quantity of the plurality of past idle events for the predetermined interval of time and determine an average idle time duration for the plurality of past idle events based on the quantity; and

determine whether to transition a device to a powered-down state based on the sampled duration characteristics of the device, wherein the power management controller is further configured to determine whether the average idle time duration for the plurality of past idle events exceeds an energy break-even point threshold, the energy break-even point threshold being an amount of time when a cumulative leakage energy savings equals an energy overhead during the powered-down state, if the average idle time duration for the plurality of past idle events exceeds the energy break-even point threshold, initiate the transition of the device to the powered-down state upon receipt of a next idle event, wherein the power management controller is further configured to determine a frequency of the plurality of past idle events received and adjust a current pre-flush latency for a next idle event based on the determined frequency when initiating the transition of the device to the powered-down state, and if the average idle time for the plurality of past idle events does not exceed the energy break-even point threshold, delay the transition of the device to the powered-down state.

7. The system of claim 6 , wherein the power management controller is configured to adjust a current pre-flush latency by being further configured to:

set the current pre-flush latency to zero if the determined frequency of the plurality of past idle events is less than an events received threshold; and

increment the current pre-flush latency if the determined frequency of the plurality of past idle events exceeds the events received threshold.

8. The system of claim 6 , wherein the power management controller is configured to delay the transition of the device to the powered-down state by being further configured to:

determine whether a last pre-flush latency of a last idle event received exceeds a latency threshold; and

if the last pre-flush latency does not exceed the latency threshold, set a future pre-flush latency for future idle events to a default value.

9. The system of claim 8 , wherein the power management controller is further configured to:

if the last pre-flush latency of the last idle event received exceeds the latency threshold:

determine whether a quantity of unsuccessful transitions to a powered-down state exceeds a wake-up event threshold; and

adjust the future pre-flush latency for future idle events based on the determination whether the quantity of unsuccessful transitions to the powered-down state exceeds the wake-up event threshold.

10. The system of claim 9 , wherein the power management controller is configured to adjust the future pre-flush latency by being further configured to:

increment the future pre-flush latency if the quantity of unsuccessful transitions to a powered-down state exceeds the wake-up event threshold; and

if the quantity of unsuccessful transitions to a powered-down state does not exceed the wake-up event threshold: decrement the future pre-flush latency when the quantity of unsuccessful transitions to a powered-down state exceeds a predetermined unsuccessful transitions threshold.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 22, 2014
From: ECKERT, YASUKO; ARORA, MANISH
To: ADVANCED MICRO DEVICES, INC.
Reel/Frame 033589/0027 →
Continuity (1)
Related Publication 20150121106A1 · Apr 30, 2015