# US 2022/0291970 A1 · Core to resource mapping and resource to core mapping

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

- Number: US 2022/0291970 A1
- Document ID: US20220291970A1
- Status: Published application
- Kind: A1
- Application number: 17/827,889
- Filed: 2022-05-30
- Published: 2022-09-15
- Earliest claimed: 2018-04-30
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Raju Kumar; Sreeram Iyer
- Web page: https://patentgrep.com/patent/US20220291970A1

## CPC

- 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 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/5044: {considering hardware capabilities}
- G06F 9/505: {considering the load}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- H04L 67/1008: based on parameters of servers, e.g. available memory or workload (monitoring of computer activity G06F11/30)
- G06F 2209/503: Resource availability
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Core to resource and resource to core mapping is disclosed. In an embodiment, a method includes obtaining an input pattern including a plurality of resource identifiers corresponding to resources. The method further includes applying the input pattern to a guaranteed regular and uniform distribution process to obtain a distribution pattern that indicates a distribution of resources across cores or a distribution of the cores across the resources. The method further includes distributing the resources across the cores or distributing the cores across the resources according to the distribution pattern.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method of distributing load across different processor cores of a computer that performs load balancing to distribute flows from clients to servers, the comprising:
obtaining an input pattern including a plurality of identifiers corresponding to a plurality of servers;
generating, from the input pattern, a distribution pattern that identifies a distribution of flows from each core to a subset of servers that does not include all the plurality of servers; and
distributing, from the cores, the flows across the servers based on the identified distribution pattern.

### Claim 22 (depends on 21)

The method of claim 21, wherein the input pattern is a first pattern, and wherein generating the distribution pattern comprises:
obtaining a second pattern by applying a stretch factor to the input pattern to replicate each server identifier a plurality of times;
obtaining a third pattern by applying a repeat factor to the second pattern, said third pattern including a plurality of instances of the second pattern;
partitioning the third pattern into a plurality of distribution sub-patterns each of which corresponds to a particular core and specifies a distribution of flows across the subset of servers associated with the particular core.

### Claim 23 (depends on 22)

The method of claim 22 further comprising compressing a fourth pattern resulting from the partitioning of the third pattern to obtain the distribution pattern.

### Claim 24 (depends on 21)

The method of claim 21, wherein the input pattern includes only one identifier for each server in the plurality of servers.

### Claim 25 (depends on 21)

The method of claim 21, wherein the input pattern includes a plurality of instances of an identifier for at least one server in the plurality of servers, and includes different number instances of two identifiers for at least two servers in the plurality of servers.

### Claim 26 (depends on 21)

The method of claim 21, wherein the distribution pattern indicates a distribution of servers across cores.

### Claim 27 (depends on 21)

The method of claim 21, wherein the distribution pattern indicates a distribution of the cores across the server.

### Claim 28 (depends on 21)

The method of claim 21, wherein the distribution pattern includes a weight value for each server.

### Claim 29 (depends on 21)

The method of claim 21, wherein the distribution pattern assigns to each core only a subset of servers in order to decrease amount of resources consumed on the computer to maintain count of flows distributed to each server.

### Claim 30 (depends on 21)

The method of claim 21, wherein the input and distribution patterns account for at least one placeholder server for possible future addition of at least one server.

### Claim 31

A non-transitory machine readable medium storing a program for distributing load across different processor cores of a computer that performs load balancing to distribute flows from clients to servers, the program comprising sets of instructions for:
obtaining an input pattern including a plurality of identifiers corresponding to a plurality of servers;
generating, from the input pattern, a distribution pattern that identifies a distribution of flows from each core to a subset of servers that does not include all the plurality of servers; and
distributing, from the cores, the flows across the servers based on the identified distribution pattern.

### Claim 32 (depends on 31)

The non-transitory machine readable medium of claim 31, wherein the input pattern is a first pattern, and wherein the set of instructions for generating the distribution pattern comprises the sets of instructions for:
obtaining a second pattern by applying a stretch factor to the input pattern to replicate each server identifier a plurality of times;
obtaining a third pattern by applying a repeat factor to the second pattern, said third pattern including a plurality of instances of the second pattern;
partitioning the third pattern into a plurality of distribution sub-patterns each of which corresponds to a particular core and specifies a distribution of flows across the subset of servers associated with the particular core.

### Claim 33 (depends on 32)

The non-transitory machine readable medium of claim 32, wherein the program further comprises a set of instructions for compressing a fourth pattern resulting from the partitioning of the third pattern to obtain the distribution pattern.

### Claim 34 (depends on 31)

The non-transitory machine readable medium of claim 31, wherein the input pattern includes only one identifier for each server in the plurality of servers.

### Claim 35 (depends on 31)

The met non-transitory machine readable medium hod of claim 31, wherein the input pattern includes a plurality of instances of an identifier for at least one server in the plurality of servers, and includes different number instances of two identifiers for at least two servers in the plurality of servers.

### Claim 36 (depends on 31)

The non-transitory machine readable medium of claim 31, wherein the distribution pattern indicates a distribution of servers across cores.

### Claim 37 (depends on 31)

The non-transitory machine readable medium of claim 31, wherein the distribution pattern indicates a distribution of the cores across the server.

### Claim 38 (depends on 31)

The non-transitory machine readable medium of claim 31, wherein the distribution pattern includes a weight value for each server.

### Claim 39 (depends on 31)

The non-transitory machine readable medium of claim 31, wherein the distribution pattern assigns to each core only a subset of servers in order to decrease amount of resources consumed on the computer to maintain count of flows distributed to each server.

### Claim 40 (depends on 31)

The non-transitory machine readable medium of claim 31, wherein the input and distribution patterns account for at least one placeholder server for possible future addition of at least one server.
