IP Library › Granted Patent US 8,984,311
Granted Patent B2
US 8,984,311 · App. 13/341,657 · Granted Mar 17, 2015

Method, apparatus, and system for energy efficiency and energy conservation including dynamic C0-state cache resizing

Inventors: Jaideep Moses (Portland, OR); Rameshkumar G. Illikkal (Portland, OR); Ravishankar Iyer (Portland, OR); Jared E. Bendt (Hillsboro, OR); Sadagopan Srinivasan (Hillsboro, OR); Andrew J. Herdrich (Hillsboro, OR); Ashish V. Choubal (Austin, TX); Avinash N. Ananthakrishnan (Hillsboro, OR); Vijay S. R. Degalahal (Bangalore, IN)
Assignee: Intel Corporation
G06F1/3275G06F1/3225G06F1/3287Y02B60/1225
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 8,984,311
App. No.
13/341,657
Granted
Mar 17, 2015
Kind
B2
Abstract

Embodiments of systems, apparatuses, and methods for energy-efficient operation of a device are described. In some embodiments, a cache performance indicator of a cache is monitored, and a set of one or more cache performance parameters based on the cache performance indicator is determined. The cache is dynamically resized to an optimal cache size based on a comparison of the cache performance parameters to their energy-efficient targets to reduce power consumption.

Claims (40)

1. A method comprising:

monitoring a cache performance indicator of a cache;

determining a set of one or more cache performance parameters based on the cache performance indicator;

comparing the set of one or more cache performance parameters to a set of one or more energy-efficient targets for those cache performance parameters;

dynamically resizing the cache to an optimal cache size based on the comparison of the cache performance parameters to the energy-efficient targets to reduce power consumption;

entering a deep-sleep state by shrinking the cache; and

waking up from the deep-sleep state by expanding the cache to a size that was determined to be the optimal cache size prior to entering the deep-sleep state.

2. The method of claim 1 , wherein the cache performance indicator of the cache is a cache miss counter, and the set of one or more cache performance parameters includes at least one of a cache miss per cycle measurement, a target cache miss per cycle deviation, and a cache miss per cycle variation.

3. The method of claim 2 , wherein the set of one or more energy-efficient targets includes a target cache miss per cycle; and

dynamically resizing the cache includes resizing the cache to tune the cache miss per cycle measurement toward the target cache miss per cycle.

4. The method of claim 2 , wherein the set of one or more energy-efficient targets includes a convergence threshold; and

dynamically resizing the cache includes resizing the cache until the target cache miss per cycle deviation is less than the convergence threshold.

5. The method of claim 2 , wherein the set of one or more energy-efficient targets includes a stability threshold; and

dynamically resizing the cache includes reverting the cache to a full cache size when a workload phase change is detected, wherein the workload phase change is detected when the cache miss per cycle variation is above the stability threshold.

6. The method of claim 1 , wherein the cache is expanded by enabling one or more cache ways of the cache, and the cache is shrunk by disabling one or more cache ways of the cache.

7. The method of claim 1 , wherein the cache is a last level cache (LLC).

8. A non-transitory, machine readable storage medium containing instructions that when processed by a machine causes the machine to fabricate logic capable of performing a method, the method comprising:

monitoring a cache performance indicator of a cache;

determining a set of one or more cache performance parameters based on the cache performance indicator;

comparing the set of one or more cache performance parameters to a set of one or more energy-efficient targets for those cache performance parameters;

dynamically resizing the cache to an optimal cache based on the comparison of the cache performance parameters to the energy-efficient targets to reduce power consumption;

entering a deep-sleep state by shrinking the cache; and

waking up from the deep-sleep state by expanding the cache to a size that was determined to be the optimal cache size prior to entering the deep-sleep state.

9. The non-transitory, machine readable storage medium of claim 8 , wherein the cache performance indicator of the cache is a cache miss counter, and the set of one or more cache performance parameters includes at least one of a cache miss per cycle measurement, a target cache miss per cycle deviation, and a cache miss per cycle variation.

10. The non-transitory, machine readable storage medium of claim 9 , wherein the set of one or more energy-efficient targets includes a target cache miss per cycle; and

dynamically resizing the cache includes resizing the cache to tune the cache miss per cycle measurement towards the target cache miss per cycle.

11. The non-transitory, machine readable storage medium of claim 9 , wherein the set of one or more energy-efficient targets includes a convergence threshold; and

dynamically resizing the cache includes resizing the cache until the target cache miss per cycle deviation is less than the convergence threshold.

12. The non-transitory, machine readable storage medium of claim 9 , wherein the set of one or more energy-efficient targets includes a stability threshold; and

dynamically resizing the cache includes reverting the cache to full size when a workload phase change is detected, wherein the workload phase change is detected when the cache miss per cycle variation is above the stability threshold.

13. The non-transitory, machine readable storage medium of claim 8 , wherein the cache is expanded by enabling one or more cache ways of the cache, and the cache is shrunk by disabling one or more cache ways of the cache.

14. The non-transitory, machine readable storage medium of claim 8 , wherein the cache is a last level cache (LLC).

15. An apparatus for efficient energy consumption comprising:

a cache including a plurality of cache partitions;

at least one central processing unit (CPU) core coupled to the cache; and

a power control unit (PCU) adapted to determine an optimal cache size of the cache based on monitoring a cache performance indicator of the cache, and to reduce power consumption by selectively powering one or more cache partitions to dynamically resize the cache to achieve the optimal cache size, wherein the PCU is to enable a deep-sleep state by shrinking the cache, and to wake up from the deep-sleep state by expanding the cache to a size that was determined to be the optimal cache size prior to entering the deep-sleep state.

16. The apparatus of claim 15 , wherein the cache performance indicator of the cache is a cache miss counter.

17. The apparatus of claim 15 , wherein the cache is a last level cache (LLC), and each of the cache partitions is a cache way of the cache.

18. A non-transitory, machine readable storage medium containing instructions that when processed by a machine to cause the machine to fabricate logic comprising:

a power control unit (PCU) adapted to determine an optimal cache size of a cache based on monitoring a cache performance indicator of the cache, and to reduce power consumption by selectively powering one or more cache partitions to dynamically resize the cache to achieve the optimal cache size, wherein the PCU is to enable a deep-sleep state by shrinking the cache, and to wake up from the deep-sleep state by expanding the cache to a size that was determined to be the optimal cache size prior to entering the deep-sleep state.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 16, 2012
From: MOSES, JAIDEEP; ILLIKKAL, RAMESHKUMAR G.; IYER, RAVISHANKAR; BENDT, JARED E.; SRINIVASAN, SADAGOPAN; HERDRICH, ANDREW; CHOUBAL, ASHISH V.; ANANTHAKRISHNAN, AVINASH N.; DEGALAHAL, VIJAY S.R.
To: INTEL CORPORATION
Reel/Frame 027877/0348 →
Continuity (1)
Related Publication 20120173907A1 · Jul 5, 2012