# US 2023/0275849 A1 · Intelligent allocation of resources in a computing system

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

- Number: US 2023/0275849 A1
- Document ID: US20230275849A1
- Status: Published application
- Kind: A1
- Application number: 18/144,941
- Filed: 2023-05-09
- Published: 2023-08-31
- Earliest claimed: 2020-07-29
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Max Alt; Paulo Roberto Pereira de Souza filho
- Web page: https://patentgrep.com/patent/US20230275849A1

## CPC

- H04L 47/805: {QOS or priority aware}
- H04L 41/0896: Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities (flow or congestion control using dynamic resource allocation, e.g. in-call renegotiation, H04L47/76)
- H04L 41/5019: Ensuring fulfilment of SLA
- H04L 43/0858: {One way delays}
- H04L 43/0882: Utilisation of link capacity
- H04L 43/55: Testing of service level quality, e.g. simulating service usage
- H04L 47/762: triggered by the network
- H04L 47/781: {Centralised allocation of resources}
- H04L 43/0852: Delays
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- 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

Systems and methods for allocating computing resources within a distributed computing system are disclosed. Computing resources such as CPUs, GPUs, network cards, and memory are allocated to jobs submitted to the system by a scheduler. System configuration and interconnectivity information is gathered by a mapper and used to create a graph. Resource allocation is optimized based on one or more quality of service (QoS) levels determined for the job. Job performance characterization, affinity models, computer resource power consumption, and policies may also be used to optimize the allocation of computing resources.

## Claims

### Claim 1

A method for allocating computing resources in a computing system, the method comprising:
gathering configuration information for the computing system, wherein the configuration information comprises interconnectivity attributes for a plurality of processors within the computing system;
receiving jobs to be executed in the computing system;
determining requirements for the jobs;
determining a quality of service (QoS) level for the jobs; and
allocating and binding a selected set of processors in the computing system for each of the jobs based on QoS level for the jobs and the interconnectivity attributes, wherein the selected set of processors’ interconnectivity attributes meet or exceed the QoS level for the jobs.

### Claim 2 (depends on 1)

The method of claim 1, wherein the interconnectivity attributes comprise bandwidth, and latency.

### Claim 3 (depends on 1)

The method of claim 1, further comprising creating a mesh representing the bandwidths available between the plurality of processors based on the gathered configuration information.

### Claim 4 (depends on 1)

The method of claim 1, wherein gathering the configuration information comprises: executing one or more test jobs to measure a bandwidth and a latency between each of the processors.

### Claim 5 (depends on 1)

The method of claim 1, wherein the selected processors are also selected according to an affinity model selected from the group comprising all-to-all, tile, closest, or scattered.

### Claim 6 (depends on 1)

The method of claim 1, wherein the QoS level is selected from a plurality of available QoS levels, wherein a first one of the available QoS levels is best available and causes only the processors with the highest bandwidth interconnectivity to be selected.

### Claim 7 (depends on 6)

The method of claim 6, wherein a second one of the available QoS levels is best fit and causes only the processors with interconnectivity greater than a specified minimum job bandwidth to be selected.

### Claim 8 (depends on 5)

The method of claim 5, wherein the QoS attribute comprises a predetermined minimum memory configuration, wherein the predetermined minimum memory configuration comprises a minimum memory quantity and a minimum memory bandwidth.

### Claim 9 (depends on 1)

The method of claim 1, wherein the configuration information comprises power consumption attributes for each of the plurality of processors, wherein at least a subset of the processors are GPUs, wherein the QoS level comprises a maximum power consumption level, and wherein the selected set of processors do not exceed the maximum power consumption level.

### Claim 10

A method for scheduling jobs on a computing system comprising a plurality of computing resources, the method comprising:
gathering data representing the capabilities and power consumption of the computing resources;
receiving a job to be processed on an available subset of the computing resources;
determining one or more job requirements for the job;
determining a quality of service (QoS) level for the job;
determining a power budget for the job;
selecting one or more of the computing resources meeting the job requirements, the QoS level, and the power budget for the job; and
allocating and binding the selected one or more of the computing resources to the job.

### Claim 11 (depends on 10)

The method of claim 10, wherein the quality of service (QoS) level for the job is based on a performance characterization of the job, wherein the performance characterization is based on performance data collected from prior executions of the job.

### Claim 12 (depends on 10)

The method of claim 10, wherein the quality of service (QoS) level for the job is based on a performance characterization of the job, wherein the performance characterization is based on performance data collected from prior executions of similar jobs.

### Claim 13 (depends on 10)

The method of claim 10, further comprising automatically repeating the gathering of data in response to new computing resources becoming available in the computing system, wherein the gathering comprises running a test job to measure the bandwidths available between each of the computing resources, and wherein the data representing a topology of the computing resources comprises the measured bandwidth.

### Claim 14 (depends on 10)

The method of claim 10, wherein the computing resources comprise processors, wherein at least some of the processors comprise GPUs, and wherein the QoS level is a minimum bandwidth between the GPUs.

### Claim 15

A system for scheduling computing jobs, the system comprising:
a plurality of non-uniformly interconnected computing resources;
a management node connected to the plurality of computing resources, wherein the management node comprises:
a mapper configured to create a mesh topographical model of the connectivity of the plurality of computing resources; and
a scheduler configured to receive computing jobs and schedule the computing jobs for execution, wherein each job comprises one or more processes, wherein the scheduler is configured to allocate and bind the processes to a selected subset of the computing resources, wherein the selected subset is selected based on the computing resource’s availability, the topographical model, and one or more quality of service (QoS) levels.

### Claim 16 (depends on 15)

The system of claim 15, wherein the mapper is configured to run one or more test jobs to measure the available bandwidths between the computing resources, wherein the topographical model is a graph comprising the measured bandwidths.

### Claim 17 (depends on 16)

The system of claim 16, wherein the scheduler solves the graph to select the subset that meets the one or more QoS levels at either (i) minimum cost or (ii) provide the process with the best available interconnection performance.

### Claim 18 (depends on 15)

The system of claim 15, wherein the computing resources comprise GPUs, wherein the scheduler masks unavailable GPUs and selects fractional portions of available GPUs.

### Claim 19 (depends on 15)

The system of claim 15, wherein the scheduler oversubscribes one or more of the computing resources by selecting the one or more computing resources already allocated to another job.

### Claim 20 (depends on 15)

The system of claim 15, wherein the scheduler selects GPUs based on performance feedback collected from the execution of earlier similar jobs.
