# US 2017/0285700 A1 · Systems, methods and devices for using thermal margin of a core in a processor

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

- Number: US 2017/0285700 A1
- Document ID: US20170285700A1
- Status: Published application
- Kind: A1
- Application number: 15/086,456
- Filed: 2016-03-31
- Published: 2017-10-05
- Earliest claimed: 2016-03-31
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Daniel G. Cartagena; Corey D. Gough; Vivek Garg; Nikhil Gupta
- Web page: https://patentgrep.com/patent/US20170285700A1

## CPC

- G06F 1/206: {comprising thermal management}
- G06F 1/3206: Monitoring of events, devices or parameters that trigger a change in power modality
- G06F 1/324: by lowering clock frequency
- G06F 1/3296: by lowering the supply or operating voltage
- 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 dynamic adjustment of core power can reduce thermal margin between thermal design power (TDP) and an allowable thermal load. For example, by focusing directly on the core temperatures explicitly, a per-core closed loop temperature controller (pCLTC) can remove conservatism induced by the power level 1 policy (PL1, a policy which defines frequency and/or power for the processor under sustained load) thereby allowing for increased processor performance when there exists margin in the thermal system.

## Claims

### Claim 1

An apparatus for estimating dynamic power in an integrated chip, comprising:
a measurement interface configured to receive temperature measurements for a plurality of cores;
a power interface configured to provide a p-state for each core from a set of cores; and
one or more processors configured to:
for each core from the set of cores:
measure a temperature of the core;
determine an allowable thermal load;
determine a temperature dependent leakage;
calculate available power based at least in part on an activity ratio, the temperature dependent leakage and total power available;
determine a p-state voltage based at least in part on the available power; and
select the p-state for the core.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the activity ratio is based on core workload with respect to the p-state voltage.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the temperature dependent leakage is based at least in part on voltage and the temperature.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the temperature dependent leakage is estimated based at least in part on voltage and measured temperature.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein to determine the allowable thermal load further comprises to:
calculate time since last update;
calculate temperature error for each core;
calculate integral of error over a finite sample time window; and
calculate a controller output.

### Claim 6 (depends on 5)

The apparatus of claim 5, further comprising to limit an integration sum to a predetermined maximum to prevent integrator windup.

### Claim 7 (depends on 6)

The apparatus of claim 6, further comprising to set a flag bit when the time since last update is out of tolerance.

### Claim 8 (depends on 5)

The apparatus of claim 5, wherein to calculate the controller output further comprises to use an equation of Pcontrol=Kp*error+Ki*integralsum.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein to calculate the available power (Pdyn1) further comprises to use an equation of Pdyn1=Ptotal1−Pleak1.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the activity ratio (AR) is calculated based on an equation
AR
=
(
C
dyn
*
V
1
2
*
Freq
1
)
P
dyn


1
.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein to determine the allowable thermal load further comprises determining allowable power from the allowable thermal load based on a model linking power and the temperature.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein to determine the allowable thermal load further comprises determining thermal coupling between cores.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the one or more processors are configured for a multiple-input, multiple-output controller design for managing temperature of each core.

### Claim 14

A processor system for dynamically adjusting power within a thermal budget comprising:
a central processing unit comprising a set of cores;
a set of temperature sensors coupled to the set of cores;
a power interface configured to provide a p-state to each core from the set of cores;
storage for a model of thermal dynamics between power provided to a core and core temperature; and
one or more processors configured to:
determine a controller output for each core based at least in part on the model;
calculate an estimate of temperature dependent leakage for each core;
calculate an estimate of activity to power ratio for each core based at least in part on an average of previous samples;
calculate an associated p-state voltage for each core for the remaining dynamic power based at least in part on an activity ratio; and
select the p-state associated with the associated p-state voltage for each core.

### Claim 15 (depends on 14)

The system of claim 14, wherein to determine the controller output further comprises to:
calculate time since a last control update;
calculate temperature error for each core;
calculate integral of error over a finite sample time window;
limit an integration sum to a maximum value; and
calculate the controller output based on the error and the integration sum.

### Claim 16 (depends on 14)

The system of claim 14, wherein the one or more processors are further configured to implement the associated p-state voltage of each core for at least a next sample period.

### Claim 17 (depends on 14)

The system of claim 14, wherein the model further comprises a PID controller, PD controller or a PI controller.

### Claim 18 (depends on 14)

The system of claim 14, wherein the model further comprises data regarding thermal coupling between cores.

### Claim 19 (depends on 14)

The system of claim 14, wherein the model further comprises data regarding thermal dynamics between power provided to a core and processor temperature.

### Claim 20 (depends on 14)

The system of claim 14, wherein the model further comprises data regarding the temperature dependent leakage.

### Claim 21 (depends on 14)

The system of claim 14, wherein the temperature dependent leakage is based at least in part on voltage and measured temperature.

### Claim 22

A computer program product comprising a computer-readable storage medium storing program code for causing one or more processors to perform a method, the method comprising:
measuring a temperature of a plurality of cores in a central processing unit (CPU);
determining a thermal margin of a core between actual temperature and thermal design power temperature;
estimating temperature dependent leakage for a core based on voltage and measured temperature;
determining available power based on the thermal margin and temperature dependent leakage;
determining an associated p-state voltage for an available power and core demand; and
updating a core p-state with the associated p-state voltage.

### Claim 23 (depends on 22)

The computer program product of claim 22, wherein to determine the available power based on the thermal margin and the temperature dependent leakage further comprises setting a temperature setpoint between the thermal design power temperature and the measured temperature.

### Claim 24 (depends on 22)

The computer program product of claim 22, wherein the temperature dependent leakage is estimated based at least in part on voltage and the actual temperature.

### Claim 25 (depends on 22)

The computer program product of claim 22, wherein determining the available power based on the thermal margin and the temperature dependent leakage further comprises converting the thermal margin to an estimate of power that results in the thermal margin.
