# US 2013/0159739 A1 · Power Controller, Processor and Method of Power Management

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

- Number: US 2013/0159739 A1
- Document ID: US20130159739A1
- Status: Published application
- Kind: A1
- Application number: 13/327,380
- Filed: 2011-12-15
- Published: 2013-06-20
- Earliest claimed: 2011-12-15
- Assignees: Advanced Micro Devices, Inc.
- Inventors: William Lloyd Bircher; Alexander J. Branover
- Web page: https://patentgrep.com/patent/US20130159739A1

## CPC

- G06F 1/3243: {Power saving in microcontroller unit}
- G06F 1/329: by task scheduling
- 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

A processor includes a plurality of exclusive resources, a shared resource, and a controller configured to manage power state transitions of each of the plurality of exclusive resources and the shared resource. The controller receives a request from a resource to transition from a first power state to a lower power state and, in response to receiving the request, the controller controls power state transitions of the resource according to a first power control threshold when the resource is one of the plurality of exclusive resources and according to a second power control threshold that is greater than the first power control threshold when the resource is the shared resource.

## Claims

### Claim 1

A processor comprising:
a plurality of exclusive resources, each exclusive resource accessible to a certain core of a plurality of cores;
a shared resource that is accessible to more than one core of the plurality of cores; and
a controller configured to manage power state transitions of each of the plurality of exclusive resources and the shared resource, the controller to receive a request from a resource to transition from a first power state to a lower power state and, in response to receiving the request, the controller to control power state transitions of the resource according to a first power control threshold when the resource is one of the plurality of exclusive resources and according to a second power control threshold that is greater than the first power control threshold when the resource is the shared resource.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the second power control threshold is greater than the first power control threshold.

### Claim 3 (depends on 1)

The processor of claim 1, wherein:
the plurality of exclusive resources comprises a plurality of cores, each core including at least one memory; and
the shared resource comprises a shared memory.

### Claim 4 (depends on 1)

The processor of claim 1, further comprising:
a register including information to identify the shared resource; and
the controller configured to search the register to determine whether the resource is the shared resource.

### Claim 5 (depends on 1)

The processor of claim 1, wherein the controller estimates a power management performance impact associated with transitioning the resource from the first power state to the lower power state.

### Claim 6 (depends on 4)

The processor of claim 4, wherein the controller allows the request when the power management performance impact is less than the first threshold.

### Claim 7

A method comprising:
determining a power management performance impact associated with a resource entering a power managed state in response to receiving the request; and
controlling the resource, in response to determining the power management performance impact, to transition from a first power state to a second power state according to a selected one of a first delay and a second delay in response to determining the power management performance impact.

### Claim 8 (depends on 7)

The method of claim 7, wherein determining the power management performance impact comprises tracking a performance metric to estimate the performance impact.

### Claim 9 (depends on 8)

The method of claim 8, wherein tracking a performance metric comprises determining at least one of an idle duration and an interrupt arrival rate associated with the resource.

### Claim 10 (depends on 7)

The method of claim 7, wherein determining the power management performance impact comprises determining whether the resource is a shared resource or an exclusive resource.

### Claim 11 (depends on 7)

The method of claim 7, wherein the controlling the resource further comprises:
comparing the power management performance impact to a selected threshold;
denying entry of the resource into the power managed state when the selected threshold exceeds the power management performance impact; and
otherwise allowing entry of the resource into the power managed state.

### Claim 12 (depends on 7)

The method of claim 7, further comprising:
determining a number of resources in a power managed state;
comparing the number to a total number of resources;
selecting a second threshold when the total number is greater than the number of resources in the power managed state; and
selecting a first threshold when the total number is equal to the number of resources in the power managed state.

### Claim 13 (depends on 7)

The method of claim 7, further comprising:
monitoring a number of clock cycles; and
controlling the resource to transition from one power state to a lower power state when the number of clock cycles exceeds a selected one of a first threshold and a second threshold.

### Claim 14

A power controller comprising:
a register to store information identifying at least one shared resource that is shared by more than one core of a plurality of cores; and
a controller coupled to the register, the controller configured to receive a request to enter a power managed state from a resource, the controller to access the register to determine a sharing state of the resource in response to receiving the request and to control power state transitions of the resource that is accessible to a certain core of the plurality of cores, in response to determining the sharing state, using one of a first delay for the shared resource and a second delay for the non-shared resource.

### Claim 15 (depends on 14)

The power controller of claim 14, wherein
the non-shared resource comprises a cache of the certain core; and
the controller applies the second delay to control timing of the power state transitions for the cache.

### Claim 16 (depends on 14)

The power controller of claim 14, wherein the first delay is greater than the second delay.

### Claim 17 (depends on 14)

The power controller of claim 14, wherein the power state transitions comprise e-state transitions.

### Claim 18 (depends on 14)

The power controller of claim 14, further comprising:
a first threshold corresponding to the shared resource;
a second threshold corresponding to the non-shared resource; and
a counter configured to count clock cycles; and
wherein the controller transitions the shared resource when a count value of the counter exceeds the first threshold and then resets the counter; and
wherein the controller transitions the non-shared resource when the count value of the counter exceeds the second threshold and then resets the counter.

### Claim 19 (depends on 18)

The power controller of claim 18, wherein the controller is configured to update at least on of the first threshold and the second threshold.

### Claim 20 (depends on 18)

The power controller of claim 18, wherein the first threshold is less than the second threshold.
