# US 2016/0239065 A1 · Performing power management in a multicore processor

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

- Number: US 2016/0239065 A1
- Document ID: US20160239065A1
- Status: Published application
- Kind: A1
- Application number: 14/621,731
- Filed: 2015-02-13
- Published: 2016-08-18
- Earliest claimed: 2015-02-13
- Assignees: Intel Corporation
- Inventors: VICTOR W. LEE; DAEHYUN KIM; YUXIN BAI; SHIHAO JI; SHENG LI; DHIRAJ D. KALAMKAR; NAVEEN K. MELLEMPUDI
- Web page: https://patentgrep.com/patent/US20160239065A1

## CPC

- G06F 1/324: by lowering clock frequency
- G06F 1/3293: by switching to a less power-consuming processor, e.g. sub-CPU
- G06F 1/3296: by lowering the supply or operating voltage
- G06F 9/5088: {involving task migration}
- 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)}
- 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

In an embodiment, a processor a plurality of cores to independently execute instructions, the cores including a plurality of counters to store performance information, and a power controller coupled to the plurality of cores, the power controller having a logic to receive performance information from at least some of the plurality of counters, determine a number of cores to be active and a performance state for the number of cores for a next operation interval, based at least in part on the performance information and model information, and cause the number of cores to be active during the next operation interval, the performance information associated with execution of a workload on one or more of the plurality of cores. Other embodiments are described and claimed.

## Claims

### Claim 1

A processor comprising:
a plurality of cores to independently execute instructions, each of the plurality of cores including a plurality of counters to store performance information; and
a power controller coupled to the plurality of cores, the power controller including:
a logic to receive performance information from at least some of the plurality of counters, determine a number of cores to be active and a performance state for the number of cores for a next operation interval, based at least in part on the performance information and model information, and cause the number of cores to be active during the next operation interval, the performance information associated with execution of a workload on one or more of the plurality of cores.

### Claim 2 (depends on 1)

The processor of claim 1, further comprising a configuration storage including a plurality of entries each to store a number of cores to be enabled and one or more pairs of voltage/frequency at which the number of cores are to operate.

### Claim 3 (depends on 2)

The processor of claim 2, wherein the logic is coupled to the configuration storage to access one or more of the plurality of entries and determine the number of cores to be active for the next operation interval based at least in part thereon.

### Claim 4 (depends on 1)

The processor of claim 1, wherein the logic is to classify a workload based at least in part on the performance information and determine the number of cores to be active for the next operation interval based on the workload classification.

### Claim 5 (depends on 4)

The processor of claim 4, wherein if the workload classification indicates a memory bound workload, the logic is to determine the number of cores to be active for the next operation interval to be less than a current number of active cores.

### Claim 6 (depends on 4)

The processor of claim 4, wherein if the workload classification indicates a memory bound workload, the logic is to cause one or more threads to be migrated from a first type of core to a second type of core for the next operation interval.

### Claim 7 (depends on 1)

The processor of claim 1, wherein the logic comprises a heuristic logic, and the model information is to be obtained from a heuristic storage of the processor to store power configuration information associated with the workload.

### Claim 8 (depends on 1)

The processor of claim 1, wherein the logic comprises a machine learning logic, and the model information comprises training information to be stored in a storage of the processor during manufacture of the processor.

### Claim 9 (depends on 8)

The processor of claim 8, wherein the machine learning logic includes an update logic to update at least some of the training information based on a history of operation of the processor and one or more configuration predictions by the machine learning logic during a lifetime of the processor.

### Claim 10 (depends on 1)

The processor of claim 1, wherein the logic includes a history logic to receive a prediction of the number of cores to be active in the next operation interval and to enable the logic to cause the number of cores to be active in the next operation interval based on a history of prior predictions.

### Claim 11 (depends on 10)

The processor of claim 10, wherein the history logic comprises a counter to maintain a count of a number of consecutive predictions for a first number of cores to be active in the next operation interval, wherein the history logic is to enable the logic to cause the first number of cores to be active in the next operation interval when the count exceeds a threshold, and otherwise to not enable the first number of cores to be active in the next operation interval.

### Claim 12 (depends on 1)

The processor of claim 1, wherein the logic is to maintain a current number of active cores for the next operation interval if a performance impact of execution of the workload on the determined number of cores would exceed a threshold level.

### Claim 13

A system comprising:
a processor including:
a plurality of cores to independently execute instructions; and
a power controller coupled to the plurality of cores to:
receive workload characteristic information of a workload executed on a first number of active cores in a first operation interval, configuration information regarding the first number of active cores, and power state information of the first number of active cores;
classify the workload based on the workload characteristic information, the configuration information, and the power state information; and
schedule one or more threads to a different number of active cores for a next operation interval based at least in part on the workload classification, and update a power state of one or more of the plurality of cores to enable the different number of active cores for the next operation interval; and
a dynamic random access memory (DRAM) coupled to the processor.

### Claim 14 (depends on 13)

The system of claim 13, wherein the power controller is to generate a power configuration prediction having a reduced number of active cores for the next operation interval if the workload is classified as a memory bounded workload.

### Claim 15 (depends on 14)

The system of claim 14, wherein the power controller is to determine whether the power configuration prediction is consistent with history information, and if so schedule the one or more threads to the reduced number of active cores for the next operation interval, and otherwise maintain the first number of active cores for the next operation interval.

### Claim 16 (depends on 13)

The system of claim 13, wherein the power controller is to obtain trained model parameter information from a storage of the processor based at least in part on the workload characteristic information.

### Claim 17 (depends on 16)

The system of claim 16, wherein the power controller is to:
generate a power configuration prediction from the trained model parameter information, the power configuration prediction including a number of cores to be active in the next operation interval, a number of threads to be active in the next operation interval, and a performance state of the number of cores;
estimate a performance/energy impact of the power configuration prediction;
update at least some of the trained model parameter information for a classified workload type to reduce a performance impact if the estimated performance/energy impact exceeds a first impact threshold; and
update at least some of the trained model parameter information for the classified workload type to increase power savings if the estimated performance/energy impact is less than a second impact threshold.

### Claim 18

A machine-readable medium having stored thereon data, which if used by at least one machine, causes the at least one machine to fabricate at least one integrated circuit to perform a method comprising:
classifying, via a workload classifier, a workload executed on a multicore processor including a plurality of cores, and causing a reduced number of cores of the plurality of cores to be active in a next operation interval based at least in part on the workload classification;
determining an impact of the reduced number of cores on a performance metric of the multicore processor; and
if the impact is greater than a first threshold, updating one or more trained model parameters associated with the workload classifier for a workload type associated with the workload, wherein the updated trained model parameters are to enable a reduction of the impact on the performance metric.

### Claim 19 (depends on 18)

The machine-readable medium of claim 18, wherein the method further comprises if the impact is less than a second threshold, updating the one or more trained model parameters associated with the workload classifier for the workload type associated with the workload, wherein the updated trained model parameters are to enable a reduction in power consumption, wherein the second threshold is less than the first threshold.

### Claim 20 (depends on 18)

The machine-readable medium of claim 18, wherein classifying the workload comprises obtaining trained model parameters from a storage of the multicore processor based at least in part on workload characteristic information obtained from one or more of the plurality of cores.

### Claim 21 (depends on 20)

The machine-readable medium of claim 20, wherein the method further comprises:
generating a power configuration prediction from the trained model parameters, the power configuration prediction to identify the reduced number of cores to be active in the next operation interval, a number of threads to be active in the next operation interval, and a performance state of the reduced number of cores; and
determining whether to enable a power management controller to cause the reduced number of cores to be active in the next operation interval based at least in part on history information.

### Claim 22 (depends on 18)

The machine-readable medium of claim 18, wherein updating the one or more trained model parameters comprises increasing a number of cores to be active for the workload type.

### Claim 23 (depends on 18)

The machine-readable medium of claim 18, wherein the method further comprises causing one or more threads of the workload to be migrated from one or more first cores to at least one second core, wherein the at least one second core comprises a memory-biased core and the one or more first cores comprises a compute-biased core.
