# US 2025/0093932 A1 · Memory hierarchy power management

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0093932 A1
- Document ID: US20250093932A1
- Status: Published application
- Kind: A1
- Application number: 18/468,467
- Filed: 2023-09-15
- Published: 2025-03-20
- Earliest claimed: 2023-09-15
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: John G. DORSEY; Bryan R. Hinch; Ronit Banerjee; Karthic A. Palaniappan
- Web page: https://patentgrep.com/patent/US20250093932A1

## CPC

- G06F 1/28: Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- G06F 1/3225: of memory devices
- G06F 1/324: by lowering clock frequency
- G06F 1/3275: {Power saving in memory, e.g. RAM, cache}
- G06F 1/3296: by lowering the supply or operating voltage
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 11/3062: {where the monitored property is the power consumption (power management in a computing system G06F1/3203)}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Some embodiments include a system, apparatus, method, and computer program product for memory hierarchy power management. Some embodiments include a performance controller that balances memory hierarchy power and compute power to maintain package-level power efficiency of a systems-on-a-chip (SoC)-memory package. The performance controller can determine a ratio of memory hierarchy power to compute agent power, compare the ratio against a threshold value, and based on the comparison, determine how to manage memory hierarchy power. When the energy costs of the memory hierarchy power are large relative to the energy costs of the compute agent power, some embodiments include changing a performance state of a fabric and/or memory to increase the power efficiency of the overall SoC-memory package, even though a number of memory stall cycles experienced by the compute agent may increase.

## Claims

### Claim 1

A method for operating a systems-on-a-chip (SoC)-memory package comprising a compute agent, a memory, and a fabric interconnecting the compute agent and the memory, the method comprising:
monitoring a first ratio of memory power of the memory to compute power of the compute agent;
determining that the first ratio satisfies a first threshold value; and
changing a memory performance state from a first memory dynamic voltage frequency management (DVFM) state to a second memory DVFM state, responsive to the determining the first ratio, wherein the compute agent experiences an increase in a number of memory stall cycles based at least on the second memory DVFM state, and wherein the changing the memory performance state increases a power efficiency of the SoC-memory package.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining whether the compute power satisfies a first low power threshold value; and
based at least on the determination with the first low power threshold, changing the memory performance state from the second memory DVFM state to a third memory DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third memory DVFM state.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining whether the compute power satisfies a first high power threshold value; and
based at least on the determination with the first high power threshold value, change the memory performance state from the second memory DVFM state to a third memory DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third memory DVFM state.

### Claim 4 (depends on 1)

The method of claim 1, wherein the monitoring is periodic and comprises a digital power estimation of: the memory power, the compute power, or a fabric power of the fabric.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
monitoring a second ratio of fabric power of the fabric to the compute power;
determining that the second ratio satisfies a second threshold value; and
changing a fabric performance state from a first fabric DVFM state to a second fabric DVFM state, responsive to the determining the second ratio, wherein the compute agent experiences an increase in the number of memory stall cycles based at least on the second fabric DVFM state, and wherein the changing the fabric performance state increases the power efficiency of the SoC memory package.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
determining whether the compute power satisfies a second low power threshold value; and
based at least on the determination with the second low power threshold, changing the fabric performance state from the second fabric performance DVFM state to a third fabric DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third fabric DVFM state.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
determining whether the compute agent satisfies a second high power threshold; and
based at least on the determination with the second high power threshold value, changing the fabric performance state from the second fabric performance DVFM state to a third fabric DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third fabric DVFM state.

### Claim 8

A non-transitory computer-readable medium storing instructions that, upon execution by one or more processors of a systems-on-a-chip (SoC)-memory package comprising the one or more processors, a memory, and a fabric interconnecting the one or more processors and the memory, cause the SoC-memory package to perform operations, the operations comprising:
monitoring a first ratio of memory power of the memory to compute power of the one or more processors;
determining that the first ratio satisfies a first threshold value; and
changing a memory performance state from a first memory dynamic voltage frequency management (DVFM) state to a second memory DVFM state, responsive to the determining the first ratio, wherein the one or more processors experience an increase in a number of memory stall cycles based at least on the second memory DVFM state, and wherein the changing the memory performance state increases a power efficiency of the SoC-memory package.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the operations further comprise:
determining whether the compute power satisfies a first low power threshold value; and
based at least on the determination with the first low power threshold, changing the memory performance state from the second memory DVFM state to a third memory DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third memory DVFM state.

### Claim 10 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the operations further comprise:
determining whether the compute power satisfies a first high power threshold value; and
based at least on the determination with the first high power threshold value, enable a change of the memory performance state from the second memory DVFM state to a third memory DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third memory DVFM state.

### Claim 11 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the changing occurs in a closed loop system and wherein the monitoring is periodic and comprises a digital power estimation of: the memory power, the compute power, or a fabric power of the fabric.

### Claim 12 (depends on 8)

The non-transitory computer-readable medium of claim 8, further comprising:
monitoring a second ratio of fabric power of the fabric to the compute power;
determining that the second ratio satisfies a second threshold value; and
changing a fabric performance state from a first fabric DVFM state to a second fabric DVFM state, responsive to the determining the second ratio, wherein the compute agent experiences an increase in the number of memory stall cycles based at least on the second fabric DVFM state, and wherein the changing the fabric performance state increases the power efficiency of the SoC memory package.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, further comprising:
determining whether the compute power satisfies a second low power threshold value; and
based at least on the determination with the second low power threshold, changing the fabric performance state from the second fabric performance DVFM state to a third fabric DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third fabric DVFM state.

### Claim 14 (depends on 12)

The non-transitory computer-readable medium of claim 12, further comprising:
determining whether the compute agent satisfies a second high power threshold; and
based at least on the determination with the second high power threshold value, changing of the fabric performance state from the second fabric performance DVFM state to a third fabric DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third fabric DVFM state.

### Claim 15

A systems-on-a-chip (SoC)-memory package comprising:
a memory; and
one or more processors communicatively coupled to the memory via a fabric, wherein the one or more processors are configured to:
monitor a first ratio of memory power of the memory to compute power of the compute agent;
determine that the first ratio satisfies a first threshold value; and
change a memory performance state from a first memory dynamic voltage frequency management (DVFM) state to a second memory DVFM state, responsive to the determining the first ratio, wherein the compute agent experiences an increase in a number of memory stall cycles based at least on the second memory DVFM state, and wherein the changing the memory performance state increases a power efficiency of the SoC-memory package.

### Claim 16 (depends on 15)

The SoC-memory package of claim 15, wherein the one or more processors are further configured to:
determine whether the compute power satisfies a first low power threshold value; and
based at least on the determination with the first low power threshold, change the memory performance state from the second memory DVFM state to a third memory DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third memory DVFM state.

### Claim 17 (depends on 15)

The SoC-memory package of claim 15, wherein the one or more processors are further configured to:
determine whether the compute power satisfies a first high power threshold value; and
based at least on the determination with the first high power threshold value, change the memory performance state from the second memory DVFM state to a third memory DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third memory DVFM state.

### Claim 18 (depends on 15)

The SoC-memory package of claim 15, wherein the one or more processors are further configured to:
monitor a second ratio of fabric power of the fabric to the compute power;
determine that the second ratio satisfies a second threshold value; and
change a fabric performance state from a first fabric DVFM state to a second fabric DVFM state, responsive to the determining the second ratio, wherein the compute agent experiences an increase in the number of memory stall cycles based at least on the second fabric DVFM state, and wherein the changing the fabric performance state increases the power efficiency of the SoC memory package.

### Claim 19 (depends on 18)

The SoC-memory package of claim 18, wherein the one or more processors are further configured to:
determine whether the compute power satisfies a second low power threshold value; and
based at least on the determination with the second low power threshold, change the fabric performance state from the second fabric performance DVFM state to a third fabric DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third fabric DVFM state.

### Claim 20 (depends on 18)

The SoC-memory package of claim 18, wherein the one or more processors are further configured to:
determine whether the compute agent satisfies a second high power threshold; and
based at least on the determination with the second high power threshold value, change the fabric performance state from the second fabric performance DVFM state to a third fabric DVFM state, wherein the compute agent experiences a decrease in the number of memory stall cycles based at least on the third fabric DVFM state.
