# US 2013/0159741 A1 · Method, Apparatus, and System for Energy Efficiency and Energy Conservation Including Power and Performance Balancing Between Multiple Processing Elements and/or a Communication Bus

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

- Number: US 2013/0159741 A1
- Document ID: US20130159741A1
- Status: Published application
- Kind: A1
- Application number: 13/398,641
- Filed: 2012-02-16
- Published: 2013-06-20
- Earliest claimed: 2011-12-15
- Assignees: Intel Corporation
- Inventors: Travis T. Schluessler; Russell J. Fenger
- Web page: https://patentgrep.com/patent/US20130159741A1

## CPC

- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- G06F 1/206: {comprising thermal management}
- G06F 1/3203: Power management, i.e. event-based initiation of a power-saving mode
- G06F 1/3253: {Power saving in bus}
- G06F 1/3287: by switching off individual functional units in the computer system
- G06F 1/329: by task scheduling
- G06F 9/5094: {where the allocation takes into account power or heat criteria (power management in computers in general G06F1/3203; thermal management in computers in general G06F1/206)}
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- 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

An apparatus, method and system is described herein for efficiently balancing performance and power between processing elements based on measured workloads. If a workload of a processing element indicates that it is a bottleneck, then its performance may be increased. However, if a platform or integrated circuit including the processing element is already operating at a power or thermal limit, the increase in performance is counterbalanced by a reduction or cap in another processing elements performance to maintain compliance with the power or thermal limit. As a result, bottlenecks are identified and alleviated by balancing power allocation, even when multiple processing elements are operating at a power or thermal limit.

## Claims

### Claim 1

An apparatus for efficient energy consumption comprising: an integrated circuit including,
a first core;
a communication bus coupled to the first core;
a core workload monitor configured to determine a core workload for the first core;
a bus workload monitor configured to determine a bus workload for the communication bus; and
balancing control adapted to dynamically tune power allocation between the first core and the communication bus based on a power limit for the integrated circuit and at least the bus workload.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising a second core and a second core workload monitor configured to determine a second core workload for the second core, wherein the first core includes a host processing core, the second core includes a graphics processing core, and the communication bus includes a ring interconnect, and wherein the balancing control is further adapted to dynamically tune power allocation between the first core, the second core, and the communication bus based on a power limit for the integrated circuit and at least the bus workload, the core workload, and the second core workload.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein a core workload monitor configured to determine the core workload for the first core includes first hardware to track a first number of cycles the first core is active during a period of time.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the balancing control adapted to dynamically tune power allocation between the first core and the communication bus based on a power limit for the integrated circuit and at least the bus workload comprises the balancing control, in response to the integrated circuit operating at the power limit, being adapted to:
increase frequency for communication bus and cap frequency for the first core in response to the bus workload being greater than a bus workload threshold and
decrease frequency for the communication bus and increase the cap frequency for the first core in response to the bus workload being less than the bus workload threshold.

### Claim 5 (depends on 1)

The apparatus of claim 1, the balancing control is further adapted to implement a low frequency limit for the communication bus.

### Claim 6

A non-transitory medium including code, when executed, to cause a machine to perform the energy efficiency operations of:
receiving a bus workload for a communication bus and a first processing element workload for a first processing element
based on an integrated circuit including the communication bus and the first processing element reaching a limit;
determining if the first processing element workload indicates the first processing element is a performance bottleneck;
determining if a communication bus is able to accommodate the bus workload;
capping a bus frequency of at least the communication bus in response to determining the first processing element workload indicates the first processing element is a performance bottle neck and determining the communication bus is able to accommodate the bus workload; and
increasing a previous cap on bus frequency of at least the communication bus in response to determining the first processing element workload indicates the first processing element is a performance bottle neck and determining the communication bus is not able to accommodate the bus workload.

### Claim 7 (depends on 6)

The non-transitory medium of claim 6, wherein the first processing element includes one or more graphics cores, the communication bus includes a ring interconnect, and wherein the code includes privileged level power service code.

### Claim 8 (depends on 7)

The non-transitory medium of claim 7, wherein the code, when executed, further causes the machine to perform the operations of:
increasing a previous cap on frequency for one or more processor core in response to determining the one or more graphics cores is not a performance bottleneck;
capping frequency for the one or more processor cores in response to determining the first processing element workload indicates the first processing element is a performance bottle neck and determining the communication bus is able to accommodate the bus workload.

### Claim 9 (depends on 6)

The non-transitory medium of claim 6, wherein the limit includes a thermal design power limit.

### Claim 10

A method for efficient energy consumption comprising:
determining a processing workload activity for a central processor on a package;
determining a graphics workload activity for a graphics processor on the package;
determining a bus workload activity for a communication bus on the package;
determining if the package has reached a thermal or power limit; and
in response to determining the package has reached the thermal or power limit, dynamically balancing power between the central processor, the graphics processor, and the communication bus based on at least the graphics workload activity and the bus workload activity.

### Claim 11 (depends on 10)

The method of claim 10, wherein dynamically balancing power between the central processor, the graphics processor, and the communication bus based on at least the graphics workload activity and the bus workload activity comprises:
determining if the graphics workload activity is greater than a graphics activity threshold;
determining if there is sufficient room on the communication bus based on the bus workload activity in response to determining the graphics workload activity is greater than a threshold; and
increasing a maximum allowed frequency for the communication bus in response to determining there is not sufficient room on the communication bus; and
decreasing a maximum allowed frequency for the communication bus in response to determining there is sufficient room on the communication bus.

### Claim 12 (depends on 10)

The method of claim 10, wherein the method is performed in response to execution of privileged level power service code.

### Claim 13 (depends on 11)

The method of claim 11, wherein the method is performed in response to execution of privileged level power service code.
