# US 11,119,830 B2 · Thread migration and shared cache fencing based on processor core temperature

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

- Number: US 11,119,830 B2
- Document ID: US11119830B2
- Status: Granted
- Kind: B2
- Application number: 15/844,901
- Filed: 2017-12-18
- Published: 2019-06-20
- Granted: 2021-09-14
- Earliest claimed: 2017-12-18
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Oliver Benke; Tobias U. Bergmann
- Web page: https://patentgrep.com/patent/US11119830B2

## CPC

- 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 1/206: {comprising thermal management}
- G06F 11/203: {using migration}
- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/3058: {Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations (thermal management in cooling arrangements of a computing system G06F1/206)}
- G06F 11/0724: {in a multiprocessor or a multi-core unit (multiprocessors per se G06F15/80)}
- G06F 11/0754: {by exceeding limits}
- G06F 2201/81: Threshold
- 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

Embodiments of the invention are directed to methods for improving performance of a multi-core processor. A non-limiting method includes increasing a first operating frequency to a first elevated operating frequency of a first core of a gang of cores, the gang of cores comprising a plurality of cores of the multi-core processor. The method further includes upon a determination that an operating temperature of the first core is above a threshold temperature, switching processing of a thread from the first core to a second core in the gang of cores. The method further includes reducing the first operating frequency of the first core. The method further includes increasing the operating frequency of the second core to a second elevated operating frequency.

## Claims

### Claim 1

A method for improving performance of a multi-core processor comprising:
increasing a first operating frequency of a first core of a gang of cores to a first elevated operating frequency, the gang of cores comprising a plurality of cores of the multi- core processor;
upon a determination that an operating temperature of the first core is above a threshold temperature, switching processing of a thread from the first core to a second core in the gang of cores;
reducing the first operating frequency of the first core; and
increasing an operating frequency of the second core to a second elevated operating frequency,
wherein switching processing further comprises:
ceasing filling an instruction pipeline of the first core; and
creating a fence around a cache of the first core such that information is no longer transmitted to the cache. and
wherein creating the fence comprises pausing data going in and out of a cache shared by the first core and the second core such that the shared cache remains in a static state.

### Claim 2 (depends on 1)

The method of claim 1, wherein:
switching processing comprises utilizing a core context move facility process of the multi-core processor.

### Claim 3 (depends on 2)

The method of claim 2, wherein:
the core context move facility process comprises gathering state information of the first core and copying the state information to the second core.

### Claim 4 (depends on 3)

The method of claim 3, wherein:
the core context move facility process further comprises copying registers from the first core to registers of the second core.

### Claim 5 (depends on 3)

The method of claim 3, wherein:
the core context move facility process further comprises copying cache memory from the first core to cache memory of the second core.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
upon a determination that a transfer operation is not successful, removing the second core from the gang of cores.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
upon a determination that a transfer operation is successful, placing the first core in a low power state.

### Claim 8 (depends on 1)

The method of claim 1, wherein:
switching processing further comprises:
removing the first core from a main bus; and
connecting the second core to the main bus.

### Claim 9

A multi-core processor comprising:
a gang of cores including at least two cores , wherein the multi-core processor is configured to:
increase a first operating frequency of a first core of the gang of cores to a first elevated operating frequency;
upon a determination that an operating temperature of the first core is above a threshold temperature, switch processing of a thread from the first core to a second core in the gang of cores;
reduce the first operating frequency of the first core; and
increase an operating frequency of the second core to a second elevated operating frequency,
wherein switching processing further comprises:
ceasing filling an instruction pipeline of the first core; and
creating a fence around a cache of the first core such that information is no longer transmitted to the cache, and
wherein creating the fence comprises pausing data going in and out of a cache shared by the first core and the second core such that the shared cache remains in a static state.

### Claim 10 (depends on 9)

The multi-core processor of claim 9, wherein:
to switch processing comprises utilizing a core context move facility process of the multi-core processor.

### Claim 11 (depends on 10)

The multi-core processor of claim 10, wherein:
the core context move facility process comprises gathering state information of the first core and copying the state information to the second core.

### Claim 12 (depends on 11)

The multi-core processor of claim 11, wherein:
the core context move facility process further comprises copying registers from the first core to registers of the second core.

### Claim 13 (depends on 11)

The multi-core processor of claim 11, wherein:
the core context move facility process further comprises copying cache memory from the first core to cache memory of the second core.

### Claim 14 (depends on 9)

The multi-core processor of claim 9, wherein the multi-core processor is further configured to:
upon a determination that a transfer operation is not successful, remove the second core from the gang of cores.

### Claim 15 (depends on 9)

The multi-core processor of claim 9, wherein the multi-core processor is further configured to:
upon a determination that a transfer operation is successful, place the first core in a low power state.

### Claim 16 (depends on 9)

The multi-core processor of claim 9, wherein:
to switch processing further comprises:
removing the first core from a main bus; and
connecting the second core to the main bus.

### Claim 17

A computer system comprising:
one or more processors, wherein each of the one or more processors is a multi-core processor comprising:
a gang of cores including at least two cores, wherein the multi-core processor is configured to:
increase a first operating frequency of a first core of the gang of cores to a first elevated operating frequency;
upon a determination that an operating temperature of the first core is above a threshold temperature, switch processing of a thread from the first core to a second core in the gang of cores;
reduce the first operating frequency of the first core; and
increase an operating frequency of the second core to a second elevated operating frequency
wherein switching processing further comprises:
ceasing filling an instruction pipeline of the first core; and
creating a fence around a cache of the first core such that information is no longer transmitted to the cache, and
wherein creating the fence comprises pausing data going in and out of a cache shared by the first core and the second core such that the shared cache remains in a static state.
