# US 2024/0004680 A1 · CPU Core Off-parking

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

- Number: US 2024/0004680 A1
- Document ID: US20240004680A1
- Status: Published application
- Kind: A1
- Application number: 17/809,683
- Filed: 2022-06-29
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Peter JIANG; Drew CROSS; Taylor Marie POTHAST; Bruce J. SHERWIN, JR.; Robert Sommer CHAPPELL
- Web page: https://patentgrep.com/patent/US20240004680A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 11/3409: {for performance assessment}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 11/2025: {using centralised failover control functionality}
- G06F 11/2242: {in multi-processor systems, e.g. one processor becoming the primary tester (G06F11/2736 takes precedence)}
- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F 2201/815: Virtual
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Examples of the present disclosure describe systems and methods for CPU core off-parking. In one example implementation, a performance test is executed for a CPU core that is part of a first mapping of virtual processors to logical CPU cores. A set of performance indicators is received for the CPU core. Based on the set of performance indicators, a determination is made regarding whether to off-park the CPU core. If it is determined that the CPU core is to be off-parked, a second mapping of virtual processors to logical CPU cores is created, where the CPU core to be off-parked is not part of the second mapping. The second mapping is then implemented.

## Claims

### Claim 1

A method comprising:
generating a set of performance indicators for a physical central processing unit (CPU) that is malfunctioning by executing a performance test on the physical CPU core, wherein the physical CPU core is included in a first mapping of virtual processors to logical CPU cores;
based on the set of performance indicators, determining the physical CPU core is to be off-parked;
creating a second mapping of virtual processors to logical CPU cores, wherein the physical CPU core is not mapped to any of the virtual processors in the second mapping; and
implementing the second mapping.

### Claim 2 (depends on 1)

The method of claim 1, wherein the physical CPU core is implemented by a host device, the host device comprising a virtual machine.

### Claim 3 (depends on 2)

The method of claim 2, wherein the virtual processors are implemented by the virtual machine to execute workloads of the virtual machine.

### Claim 4 (depends on 2)

The method of claim 2, wherein the performance test is executed by a hypervisor of the host device, wherein the hypervisor manages the virtual machine.

### Claim 5 (depends on 1)

The method of claim 1, wherein the logical CPU cores represent a number of threads that can be executed by the physical CPU core.

### Claim 6 (depends on 1)

The method of claim 1, wherein executing the performance test comprises causing the physical CPU core to execute a set of commands or instructions that generate CPU metrics for the physical CPU core.

### Claim 7 (depends on 1)

The method of claim 1, wherein executing the performance test comprises accessing performance logs or alert logs for the physical CPU core.

### Claim 8 (depends on 1)

The method of claim 1, wherein set of performance indicators comprises CPU metrics for the physical CPU core, the CPU metrics comprising at least one of:
availability;
response time; or
service time.

### Claim 9 (depends on 8)

The method of claim 8, wherein the CPU metrics further comprise at least one of:
channel capacity;
bandwidth; or
relative efficiency.

### Claim 10 (depends on 1)

The method of claim 1, wherein set of performance indicators comprises at least one of:
a number of errors reported for the physical CPU core;
a frequency of errors reported for the physical CPU core; or
a length of the time the physical CPU core has been in use.

### Claim 11 (depends on 1)

The method of claim 1, wherein determining the physical CPU core is to be off-parked comprises comparing the set of performance indicators to a set of parameters indicating threshold values for the set of performance indicators.

### Claim 12 (depends on 11)

The method of claim 11, wherein performance indicators in the set of performance indicators that exceed the threshold values indicate the physical CPU core is currently defective.

### Claim 13 (depends on 1)

The method of claim 1, wherein:
the first mapping comprises a first logical CPU core for the physical CPU core, the physical CPU core belonging to a first CPU; and
the first logical CPU core is mapped to a virtual processor of a virtual machine.

### Claim 14 (depends on 13)

The method of claim 13, wherein creating the second mapping of virtual processors to logical CPU cores comprises:
mapping the virtual processor of the virtual machine to a second logical CPU core of an alternative physical CPU core.

### Claim 15 (depends on 1)

The method of claim 1, wherein implementing the second mapping comprises off-parking the physical CPU core.

### Claim 16

A system comprising:
memory comprising computer executable instructions that, when executed, perform operations comprising:
generating a set of performance indicators for a first physical central processing unit (CPU) that is malfunctioning by executing a performance test on the first physical CPU core, the first physical CPU core being associated with a first logical CPU core, wherein a first mapping correlates the first logical CPU core to a virtual processor of a virtual machine;
based on the set of performance indicators, off-parking the first physical CPU core;
creating a second mapping, wherein the second mapping correlates a second logical CPU core associated with a second physical CPU core to the virtual processor of the virtual machine; and
implementing the second mapping.

### Claim 17 (depends on 16)

The system of claim 16, wherein off-parking the physical CPU core comprises disabling the physical CPU core.

### Claim 18 (depends on 16)

The system of claim 16, wherein off-parking the physical CPU core comprises placing the physical CPU core into an emergency role such that the off-parked physical CPU core receives workloads when no other physical CPU cores are available.

### Claim 19 (depends on 16)

The system of claim 16, wherein implementing the second mapping comprises:
replacing the first mapping with the second mapping; and
executing workloads of the virtual machine in accordance with the second mapping.

### Claim 20

A device comprising:
memory comprising computer executable instructions that, when executed, perform operations comprising:
receiving a set of performance indicators for a first physical central processing unit (CPU) core that is malfunctioning by executing a performance test on the first physical CPU core, the first physical CPU core being associated with a set of logical CPU cores, a first mapping correlating the set of logical CPU cores to virtual processors of a set of virtual machines, the first physical CPU core being implemented in a host device comprising a virtual machine;
based on the set of performance indicators, determining the physical first CPU core is to be off-parked;
creating a second mapping, wherein the second mapping correlates a second logical CPU core associated with a second physical CPU core to the virtual processors of the set of virtual machines; and
implementing the second mapping.
