IP Library Granted Patent US 10,073,787
Granted Patent B2
US 10,073,787 · App. 15/280,779 · Granted Sep 11, 2018

Dynamic powering of cache memory by ways within multiple set groups based on utilization trends

Inventors: Douglas R. Reed (Austin, TX); Rodney E. Hooker (Austin, TX)
Assignee: VIA ALLIANCE SEMICONDUCTOR CO., LTD.
G06F12/0864G06F12/0862G06F12/128G06F1/32G06F12/0804G06F12/0846G06F2212/1016G06F2212/1028G06F2212/601G06F2212/602G06F2212/6032G06F2212/69Y02D10/13
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 10,073,787
App. No.
15/280,779
Granted
Sep 11, 2018
Kind
B2
Abstract

A set associative cache memory comprises an M×N memory array of storage entries arranged as M sets by N ways, both M and N are integers greater than one. Within each group of P mutually exclusive groups of the M sets, the N ways are separately powerable. A controller, for each group of the P groups, monitors a utilization trend of the group and dynamically causes power to be provided to a different number of ways of the N ways of the group during different time instances based on the utilization trend.

Claims (45)

1. A set associative cache memory, comprising:

an M×N memory array of storage entries arranged as M sets by N ways, both M and N are integers greater than one;

within each group of P mutually exclusive groups of the M sets, the N ways are separately powerable; and

a controller that, for each group of the P groups, monitors a utilization trend of the group and dynamically causes power to be provided to a different number of ways of the N ways of the group during different time instances based on the utilization trend,

wherein the utilization trend of the group comprises a hit rate of the group,

wherein the controller causes power to be provided to a smaller number of ways of the N ways of the group when the hit rate of the group is below a second predetermined hit rate threshold and the number of ways of the group to which the controller is currently causing power to be provided is all the N ways of the group, and

wherein the controller causes power to be provided to a larger number of ways of the N ways of the group when the hit rate of the group is below a first predetermined hit rate threshold and the number of ways of the group to which the controller is currently causing power to be provided is less than all the N ways of the group, wherein the first predetermined hit rate threshold is higher than the second predetermined hit rate threshold.

2. The cache memory of claim 1 , further comprising:

the utilization trend of the group further comprises an access frequency of the group.

3. The cache memory of claim 2 , further comprising: the controller causes power to be provided to a smaller number of ways of the N ways of the group when the hit rate of the group is above a fourth predetermined hit rate threshold and the access frequency of the group is less than a first predetermined access frequency threshold.

4. The cache memory of claim 2 , further comprising:

the controller causes power to be provided to a smaller number of ways of the N ways of the group when the hit rate of the group is below a third predetermined hit rate threshold and the access frequency of the group is greater than a second predetermined access frequency threshold and the number of ways of the group to which the controller is currently causing power to be provided is all the N ways of the group.

5. The cache memory of claim 2 , further comprising:

the controller causes power to be provided to a larger number of ways of the N ways of the group when the hit rate of the group is below the third predetermined hit rate threshold and the access frequency of the group is greater than the second predetermined access frequency threshold and the number of ways of the group to which the controller is currently causing power to be provided is less than all the N ways of the group.

6. The cache memory of claim 1 , further comprising:

the utilization trend of the group comprises a measure of a number of storage entries in the group into which a cache line was prefetched but the cache line was evicted without being used.

7. The cache memory of claim 6 , further comprising:

the controller causes power to be provided to a smaller number of ways of the N ways of the group when the number of storage entries in the group into which a cache line was prefetched but the cache line was evicted without being used is above a first predetermined entry number threshold.

8. The cache memory of claim 6 , further comprising:

the controller causes power to be provided to a larger number of ways of the N ways of the group when the number of storage entries in the group into which a cache line was prefetched but the cache line was evicted without being used is below a second predetermined entry number threshold.

9. The cache memory of claim 1 , further comprising:

the utilization trend of the group comprises an average victim cache line age of the group.

10. The cache memory of claim 9 , further comprising:

the controller causes power to be provided to a smaller number of ways of the N ways of the group when the average victim cache line age of the group is above a first predetermined age threshold.

11. The cache memory of claim 9 , further comprising:

the controller causes power to be provided to a larger number of ways of the N ways of the group when the average victim cache line age of the group is below a second predetermined age threshold and the number of ways of the group to which the controller is currently causing power to be provided is less than all the N ways of the group.

12. The cache memory of claim 9 , further comprising:

the controller causes power to be provided to a smaller number of ways of the N ways of the group when the average victim cache line age of the group is below a second predetermined age threshold and the controller is currently causing power to be provided to all of the N ways of the group.

13. The cache memory of claim 1 , further comprising:

the controller includes counters for monitoring the utilization trend of only Q of the P groups, Q is less than P; and

the controller monitors the utilization trend of different collections of Q groups of the P groups in a time-multiplexed fashion.

14. A method for operating a set associative cache memory having an M×N memory array of storage entries arranged as M sets by N ways, both M and N are integers greater than one, within each group of P mutually exclusive groups of the M sets, the N ways are separately powerable, the method comprising:

for each group of the P groups:

monitoring a utilization trend of the group, wherein the utilization trend of the group comprises a hit rate of the group; and

during different time instances, dynamically causing power to be provided to a smaller number of ways of the N ways of the group when the hit rate of the group is below a second predetermined hit rate threshold and the number of ways of the group to which power is currently being provided is all the N ways of the group, and

dynamically causing power to be provided to a larger number of ways of the N ways of the group when the hit rate of the group is below a first predetermined hit rate threshold and the number of ways of the group to which power is currently being provided is less than all the N ways of the group, wherein the first predetermined hit rate threshold is higher than the second predetermined hit rate threshold.

15. The method of claim 14 , wherein the utilization trend of the group further comprises an access frequency of the group, the method further comprising:

dynamically causing power to be provided to a smaller number of ways of the N ways of the group when the hit rate of the group is below a third predetermined hit rate threshold and the access frequency of the group is greater than a second predetermined access frequency threshold and the number of ways of the group to which power is currently being provided is all the N ways of the group.

16. The method of claim 14 , wherein the utilization trend of the group further comprises an access frequency of the group, the method further comprising:

dynamically causing power to be provided to a larger number of ways of the N ways of the group when the hit rate of the group is below the third predetermined hit rate threshold and the access frequency of the group is greater than the second predetermined access frequency threshold and the number of ways of the group to which power is currently being provided is less than all the N ways of the group.

17. The method of claim 14 , wherein the utilization trend of the group further comprises an average victim cache line age of the group, the method further comprising:

dynamically causing power to be provided to a smaller number of ways of the N ways of the group when the average victim cache line age of the group is below a second predetermined age threshold and the number of ways of the group to which power is currently being provided is all the N ways of the group.

18. A processor, comprising:

a plurality of processing cores;

the cache memory of claim 1 , coupled to the plurality of processing cores.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 29, 2016
From: REED, DOUGLAS R.; HOOKER, RODNEY E.
To: VIA ALLIANCE SEMICONDUCTOR CO., LTD.
Reel/Frame 039899/0779 →
Continuity (2)
Provisional Application 62323859 · Apr 18, 2016
Related Publication 20170300418A1 · Oct 19, 2017
Cited By (2)
US 12,524,348 US 12,675,411