# US 10,955,900 B2 · Speculation throttling for reliability management

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

- Number: US 10,955,900 B2
- Document ID: US10955900B2
- Status: Granted
- Kind: B2
- Application number: 16/208,621
- Filed: 2018-12-04
- Published: 2020-06-04
- Granted: 2021-03-23
- Earliest claimed: 2018-12-04
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Rahul Rao; Preetham M. Lobo
- Web page: https://patentgrep.com/patent/US10955900B2

## CPC

- G06F 1/324: by lowering clock frequency
- G06F 1/3243: {Power saving in microcontroller unit}
- G06F 9/3804: {for branches, e.g. hedging, branch folding}
- G06F 9/3842: {Speculative instruction execution}
- G06F 9/4893: {taking 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

Examples of techniques for speculation throttling for reliability management are described herein. An aspect includes determining that a power state of a processor is above a speculation throttling threshold. Another aspect includes, based on determining that the power state of the processor is above the speculation throttling threshold, throttling speculation in the processor. Another aspect includes determining that the power state of the processor is above a power proxy threshold, wherein the power proxy threshold is higher than the speculation throttling threshold. Another aspect includes, based on determining that the power state of the processor is above the power proxy threshold, enabling a performance throttle unit of the processor.

## Claims

### Claim 1

A system, comprising a processor configured to:
determine that a power state of the processor is above a speculation throttling threshold;
based on determining that the power state of the processor is above the speculation throttling threshold, throttle speculation in the processor, wherein throttling speculation in the processor comprises:
determining an amount of time to a reliability event in the processor based on the power state of the processor;
determining an amount of benefit to the power state of the processor from throttling speculation;
determining a type and degree of speculation throttling based on the amount of time and amount of benefit; and
throttling speculation in the processor based on the determined type and degree;
determine that the power state of the processor is above a power proxy threshold, wherein the power proxy threshold is higher than the speculation throttling threshold; and
based on determining that the power state of the processor is above the power proxy threshold, enable a performance throttle unit of the processor.

### Claim 2 (depends on 1)

The system of claim 1, wherein determining that the power state of the processor is above the speculation throttling threshold comprises:
determining an upward trend in the power state of the processor; and
determining, based on the upward trend, that the power state of the processor will be above the speculation throttling threshold within a predetermined number of cycles.

### Claim 3 (depends on 1)

The system of claim 1, wherein determining the amount of benefit from throttling speculation comprises determining a respective amount of benefit for each of a plurality of types of speculation.

### Claim 4 (depends on 3)

The system of claim 3, wherein the plurality of types of speculation comprise: instruction prefetching, data prefetching, branch prediction, speculative execution of instructions along a predicted path, scalar ops for a load/store unit, prediction, and dataflow analysis for out-of-order execution.

### Claim 5 (depends on 3)

The system of claim 3, wherein the degree of throttling applied to a first type of speculation is different from a degree of throttling applied to a second type of speculation.

### Claim 6 (depends on 1)

The system of claim 1, the processor configured to:
determine that the power state of the processor is below the speculation throttling threshold; and
based on determining that the power state of the processor is below the speculation throttling threshold, stop throttling of speculation in the processor.

### Claim 7

A computer-implemented method, comprising:
determining that a power state of a processor is above a speculation throttling threshold;
based on determining that the power state of the processor is above the speculation throttling threshold, throttling speculation in the processor, wherein throttling speculation in the processor comprises:
determining an amount of time to a reliability event in the processor based on the power state of the processor;
determining an amount of benefit to the power state of the processor from throttling speculation;
determining a type and degree of speculation throttling based on the amount of time and amount of benefit; and
throttling speculation in the processor based on the determined type and degree;
determining that the power state of the processor is above a power proxy threshold, wherein the power proxy threshold is higher than the speculation throttling threshold; and
based on determining that the power state of the processor is above the power proxy threshold, enabling a performance throttle unit of the processor.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein determining that the power state of the processor is above the speculation throttling threshold comprises:
determining an upward trend in the power state of the processor; and
determining, based on the upward trend, that the power state of the processor will be above the speculation throttling threshold within a predetermined number of cycles.

### Claim 9 (depends on 7)

The computer-implemented method of claim 7, wherein determining the amount of benefit from throttling speculation comprises determining a respective amount of benefit for each of a plurality of types of speculation.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein the plurality of types of speculation comprise: instruction prefetching, data prefetching, branch prediction, speculative execution of instructions along a predicted path, scalar ops for a load/store unit, prediction, and dataflow analysis for out-of-order execution.

### Claim 11 (depends on 9)

The computer-implemented method of claim 9, wherein the degree of throttling applied to a first type of speculation is different from a degree of throttling applied to a second type of speculation.

### Claim 12 (depends on 7)

The computer-implemented method of claim 7, the method comprising:
determining that the power state of the processor is below the speculation throttling threshold; and
based on determining that the power state of the processor is below the speculation throttling threshold, stopping throttling of speculation in the processor.

### Claim 13

An apparatus, comprising hardware logic configured to:
determine that a power state of a processor is above a speculation throttling threshold;
based on determining that the power state of the processor is above the speculation throttling threshold, throttle speculation in the processor, wherein throttling speculation in the processor comprises:
determining an amount of time to a reliability event in the processor based on the power state of the processor;
determining an amount of benefit to the power state of the processor from throttling speculation;
determining a type and degree of speculation throttling based on the amount of time and amount of benefit; and
throttling speculation in the processor based on the determined type and degree;
determine that the power state of the processor is above a power proxy threshold, wherein the power proxy threshold is higher than the speculation throttling threshold; and
based on determining that the power state of the processor is above the power proxy threshold, enable a performance throttle unit of the processor.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein determining that the power state of the processor is above the speculation throttling threshold comprises:
determining an upward trend in the power state of the processor; and
determining, based on the upward trend, that the power state of the processor will be above the speculation throttling threshold within a predetermined number of cycles.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein determining the amount of benefit from throttling speculation comprises determining a respective amount of benefit for each of a plurality of types of speculation.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the plurality of types of speculation comprise: instruction prefetching, data prefetching, branch prediction, speculative execution of instructions along a predicted path, scalar ops for a load/store unit, prediction, and dataflow analysis for out-of-order execution.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the degree of throttling applied to a first type of speculation is different from a degree of throttling applied to a second type of speculation.
