# US 11,119,932 B2 · Operation of a multi-slice processor implementing adaptive prefetch control

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

- Number: US 11,119,932 B2
- Document ID: US11119932B2
- Status: Granted
- Kind: B2
- Application number: 16/359,457
- Filed: 2019-03-20
- Published: 2019-07-11
- Granted: 2021-09-14
- Earliest claimed: 2016-12-01
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Bradly G. Frey; George W. Rohrbaugh, III; Brian W. Thompto
- Web page: https://patentgrep.com/patent/US11119932B2

## CPC

- G06F 12/0862: with prefetch
- G06F 9/45541: {Bare-metal, i.e. hypervisor runs directly on hardware}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06F 12/0842: for multiprocessing or multitasking
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2212/1016: Performance improvement
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2212/502: using adaptive policy
- G06F 2212/6024: History based prefetching
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Operation of a multi-slice processor that includes a plurality of execution slices. Operation of such a multi-slice processor includes: determining, by a hypervisor, that consumption of memory controller resources, by a plurality of processing threads, is above a threshold quantity, wherein respective processing threads of the plurality of processing threads control respective prefetch settings; and responsive to determining that the consumption of the memory controller resources is above the threshold quantity, modifying individual memory controller usage of at least one of the plurality of processing threads such that the consumption of the memory controller resources is reduced below the threshold quantity.

## Claims

### Claim 1

A method comprising:
determining, by a hypervisor, that consumption of memory controller resources, by a plurality of processing threads, is above a threshold quantity, including:
accessing prefetch metrics for prefetch requests, and
comparing the prefetch metrics to the threshold quantity,
wherein respective processing threads of the plurality of processing threads control respective prefetch settings; and
responsive to determining that the consumption of the memory controller resources is above the threshold quantity, modifying, by the hypervisor, individual memory controller usage of at least one of the plurality of processing threads by reducing a scope of individual prefetch settings of the at least one of the plurality of processing threads, such that the consumption of the memory controller resources is reduced below the threshold quantity, wherein modifying individual memory controller usage includes overriding the individual prefetch settings of one or more of the plurality of processing threads, including removing, by the hypervisor, permissions for one or more of the processing threads to modify the respective prefetch setting.

### Claim 2 (depends on 1)

The method of claim 1, wherein the consumption of memory controller resources is an aggregate of individual consumption of the plurality of processing threads.

### Claim 3 (depends on 2)

The method of claim 2, wherein the plurality of processing threads are executing within one or more logical partitions of a virtual computing environment of a cloud services provider, and wherein the virtual computing environment provides an interface for specifying the threshold quantity.

### Claim 4 (depends on 1)

The method of claim 1, wherein modifying individual memory controller usage is dependent on a quality of service agreement.

### Claim 5 (depends on 1)

The method of claim 1, wherein the respective individual prefetch settings are defined according to memory access patterns for the respective processing threads.

### Claim 6 (depends on 1)

The method of claim 1, wherein modifying individual memory controller usage comprises:
overriding the individual prefetch settings of one or more of the plurality of processing threads, wherein individual prefetch settings for a first processing thread in a first logical partition are overridden with a different prefetch setting than an individual prefetch setting for a second processing thread in a second logical partition, wherein individual prefetch settings for the first processing thread are set to a more aggressive prefetching mode, wherein the individual prefetch settings for the second processing thread are set to a less aggressive prefetching mode, and wherein the individual prefetch settings for the first processing thread correspond to a higher quality of service agreement than a quality of service agreement for the second processing thread.

### Claim 7 (depends on 1)

The method of claim 1, wherein the memory controller resources are for a plurality of memory controllers.

### Claim 8

A computer processor comprising:
at least one execution unit and at least one memory controller, wherein the computer processor is configured to carry out:
determining, by a hypervisor, that consumption of memory controller resources, by a plurality of processing threads, is above a threshold quantity, including:
accessing prefetch metrics for prefetch requests, and
comparing the prefetch metrics to the threshold quantity,
wherein respective processing threads of the plurality of processing threads control respective prefetch settings; and
responsive to determining that the consumption of the memory controller resources is above the threshold quantity, modifying, by the hypervisor, individual memory controller usage of at least one of the plurality of processing threads by reducing a scope of individual prefetch settings of the at least one of the plurality of processing threads, such that the consumption of the memory controller resources is reduced below the threshold quantity, wherein modifying individual memory controller usage includes overriding the individual prefetch settings of one or more of the plurality of processing threads, including removing, by the hypervisor, permissions for one or more of the processing threads to modify the respective prefetch setting.

### Claim 9 (depends on 8)

The computer processor of claim 8, wherein the consumption of memory controller resources is an aggregate of individual consumption of the plurality of processing threads.

### Claim 10 (depends on 9)

The computer processor of claim 9, wherein the plurality of processing threads are executing within one or more logical partitions of a virtual computing environment of a cloud services provider, and wherein the virtual computing environment provides an interface for specifying the threshold quantity.

### Claim 11 (depends on 8)

The computer processor of claim 8, wherein modifying individual memory controller usage is dependent on a quality of service agreement.

### Claim 12 (depends on 8)

The computer processor of claim 8, wherein the respective individual prefetch settings are defined according to memory access patterns for the respective processing threads.

### Claim 13 (depends on 8)

The computer processor of claim 8, wherein modifying individual memory controller usage comprises:
overriding the individual prefetch settings of one or more of the plurality of processing threads, wherein individual prefetch settings for a first processing thread in a first logical partition are overridden with a different prefetch setting than an individual prefetch setting for a second processing thread in a second logical partition, wherein individual prefetch settings for the first processing thread are set to a more aggressive prefetching mode, wherein the individual prefetch settings for the second processing thread are set to a less aggressive prefetching mode, and wherein the individual prefetch settings for the first processing thread correspond to a higher quality of service agreement than a quality of service agreement for the second processing thread.

### Claim 14 (depends on 8)

The computer processor of claim 8, wherein the memory controller resources are for a plurality of memory controllers.

### Claim 15

An apparatus comprising:
a computer processor and at least one memory controller, wherein the computer processor is configured to carry out:
determining, by a hypervisor, that consumption of memory controller resources, by a plurality of processing threads, is above a threshold quantity, including:
accessing prefetch metrics for prefetch requests, and
comparing the prefetch metrics to the threshold quantity,
wherein respective processing threads of the plurality of processing threads control respective prefetch settings; and
responsive to determining that the consumption of the memory controller resources is above the threshold quantity, modifying, by the hypervisor, individual memory controller usage of at least one of the plurality of processing threads by reducing a scope of individual prefetch settings of the at least one of the plurality of processing threads, such that the consumption of the memory controller resources is reduced below the threshold quantity, wherein modifying individual memory controller usage includes overriding the individual prefetch settings of one or more of the plurality of processing threads, including removing, by the hypervisor, permissions for one or more of the processing threads to modify the respective prefetch setting.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the consumption of memory controller resources is an aggregate of individual consumption of the plurality of processing threads.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the plurality of processing threads are executing within one or more logical partitions of a virtual computing environment of a cloud services provider, and wherein the virtual computing environment provides an interface for specifying the threshold quantity.

### Claim 18 (depends on 15)

The apparatus of claim 15, wherein modifying individual memory controller usage is dependent on a quality of service agreement.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the respective individual prefetch settings are defined according to memory access patterns for the respective processing threads.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein modifying individual memory controller usage comprises:
overriding the individual prefetch settings of one or more of the plurality of processing threads, wherein individual prefetch settings for a first processing thread in a first logical partition are overridden with a different prefetch setting than an individual prefetch setting for a second processing thread in a second logical partition, wherein individual prefetch settings for the first processing thread are set to a more aggressive prefetching mode, wherein the individual prefetch settings for the second processing thread are set to a less aggressive prefetching mode, and wherein the individual prefetch settings for the first processing thread correspond to a higher quality of service agreement than a quality of service agreement for the second processing thread.
