# US 2017/0293994 A1 · Dynamically provisioning and scaling graphic processing units for data analytic workloads in a hardware cloud

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

- Number: US 2017/0293994 A1
- Document ID: US20170293994A1
- Status: Published application
- Kind: A1
- Application number: 15/093,965
- Filed: 2016-04-08
- Published: 2017-10-12
- Earliest claimed: 2016-04-08
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Min Li; John Alan Bivens; Koushik K. Das; Ruchi Mahindru; Harigovind V. Ramasamy; Yaoping Ruan; Valentina Salapura; Eugen Schenfeld
- Web page: https://patentgrep.com/patent/US20170293994A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 9/5072: {Grid computing}
- G06F 9/5083: {Techniques for rebalancing the load in a distributed system}
- G06T 15/005: {General purpose rendering architectures}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Server resources in a data center are disaggregated into shared server resource pools, including a graphics processing unit (GPU) pool. Servers are constructed dynamically, on-demand and based on workload requirements, by allocating from these resource pools. According to this disclosure, GPU utilization in the data center is managed proactively by assigning GPUs to workloads in a fine granularity and agile way, and de-provisioning them when no longer needed. In this manner, the approach is especially advantageous to automatically provision GPUs for data analytic workloads. The approach thus provides for a “micro-service” enabling data analytic workloads to automatically and transparently use GPU resources without providing (e.g., to the data center customer) the underlying provisioning details. Preferably, the approach dynamically determines the number and the type of GPUs to use, and then during runtime auto-scales the GPUs based on workload.

## Claims

### Claim 1

A method for processing a workload in a compute environment having a pool of graphics processing units (GPUs), comprising:
receiving a request to process the workload;
responsive to receipt of the request, determining a GPU configuration anticipated to be required to process the workload, the GPU configuration comprising a set of GPU requirements including a number of GPUs;
based on the set of GPU requirements, selecting GPUs from the pool that are available and assigning the selected GPUs to process the workload; and
as the workload is being processed by the GPUs assigned, dynamically adjusting the GPU configuration as determined by monitored resource consumption of the workload.

### Claim 2 (depends on 1)

The method as described in claim 1 wherein the GPU configuration also comprises a type of GPU.

### Claim 3 (depends on 2)

The method as described in claim 2 wherein the GPU configuration is determined at least in part by determining whether a profile of the workload matches a profile associated with another workload that has been processed in the compute environment.

### Claim 4 (depends on 2)

The method as described in claim 2 wherein the GPU configuration is determined at least in part by executing a test GPU configuration.

### Claim 5 (depends on 1)

The method as described in claim 1 wherein dynamically adjusting the GPU configuration comprises:
monitoring resource consumption associated with the GPUs assigned to process the workload; and
based at least in part on the monitored resource consumption, modifying the number of assigned GPUs.

### Claim 6 (depends on 1)

The method as described in claim 1 wherein the set of GPU requirements also include a value representing an extent to which the workload is suitable for processing on the GPUs.

### Claim 7 (depends on 1)

The method as described in claim 1 wherein the GPU requirements are adjusted in accordance with one or more tasks in the workload.

### Claim 8 (depends on 1)

The method as described in claim 1 wherein the GPU configuration is dynamically adjusted by provisioning or de-provisioning GPUs based on a current workload requirement.

### Claim 9

Apparatus for processing a workload in a compute environment having a pool of graphics processing units (GPUs), comprising:
one or more hardware processors;
computer memory holding computer program instructions executed by the hardware processors and operative to:
receive a request to process the workload;
responsive to receipt of the request, determine a GPU configuration anticipated to be required to process the workload, the GPU configuration comprising a set of GPU requirements including a number of GPUs;
based on the set of GPU requirements, select GPUs from the pool that are available and assign the selected available GPUs to process the workload; and
as the workload is being processed by the GPUs assigned, dynamically adjust the GPU configuration as determined by monitored resource consumption of the workload.

### Claim 10 (depends on 9)

The apparatus as described in claim 9 wherein the GPU configuration also comprises a type of GPU.

### Claim 11 (depends on 10)

The apparatus as described in claim 10 wherein the GPU configuration is determined at least in part by determining whether a profile of the workload matches a profile associated with another workload that has been processed in the compute environment.

### Claim 12 (depends on 10)

The apparatus as described in claim 10 wherein the GPU configuration is determined at least in part by executing a test GPU configuration.

### Claim 13 (depends on 9)

The apparatus as described in claim 9 wherein the computer program code to dynamically adjust the GPU configuration comprises computer program code to:
monitor resource consumption associated with the GPUs assigned to process the workload; and
based at least in part on the monitored resource consumption, modify the number of assigned GPUs.

### Claim 14 (depends on 9)

The apparatus as described in claim 9 wherein the set of GPU requirements also include a value representing an extent to which the workload is suitable for processing on the GPUs.

### Claim 15 (depends on 9)

The apparatus as described in claim 9 wherein the GPU requirements are adjusted in accordance with one or more tasks in the workload.

### Claim 16 (depends on 9)

The apparatus as described in claim 9 wherein the GPU configuration is dynamically adjusted by provisioning or de-provisioning GPUs based on a current workload requirement.

### Claim 17

A computer program product in a non-transitory computer readable medium for use in a data processing system for processing a workload in a compute environment having a pool of graphics processing units (GPUs), the computer program product holding computer program instructions executed in the data processing system and operative to:
receive a request to process the workload;
responsive to receipt of the request, determine a GPU configuration anticipated to be required to process the workload, the GPU configuration comprising a set of GPU requirements including a number of GPUs;
based on the set of GPU requirements, select GPUs from the pool that are available and assign the selected available GPUs to process the workload; and
as the workload is being processed by the GPUs assigned, dynamically adjust the GPU configuration as determined by monitored resource consumption of the workload.

### Claim 18 (depends on 17)

The computer program product as described in claim 17 wherein the GPU configuration also comprises a type of GPU.

### Claim 19 (depends on 18)

The computer program product as described in claim 18 wherein the GPU configuration is determined at least in part by determining whether a profile of the workload matches a profile associated with another workload that has been processed in the compute environment.

### Claim 20 (depends on 18)

The computer program product as described in claim 18 wherein the GPU configuration is determined at least in part by executing a test GPU configuration.

### Claim 21 (depends on 17)

The computer program product as described in claim 17 wherein the computer program code to dynamically adjust the GPU configuration comprises computer program code to:
monitor resource consumption associated with the GPUs assigned to process the workload; and
based at least in part on the monitored resource consumption, modify the number of assigned GPUs.

### Claim 22 (depends on 17)

The computer program product as described in claim 17 wherein the set of GPU requirements also include a value representing an extent to which the workload is suitable for processing on the GPUs.

### Claim 23 (depends on 17)

The computer program product as described in claim 17 wherein the GPU requirements are adjusted in accordance with one or more tasks in the workload.

### Claim 24 (depends on 17)

The computer program product as described in claim 17 wherein the GPU configuration is dynamically adjusted by provisioning or de-provisioning GPUs based on a current workload requirement.

### Claim 25

A data center facility, comprising:
a set of server resource pools, the server resource pools comprising at least a graphics processing unit (GPU) resource pool;
a GPU sizing component executing in a hardware processor responsive to receipt of a request to process a workload to determine a GPU configuration that includes a number of GPUs;
at least one disaggregated compute system comprising GPUs selected from the GPU resource pool to satisfy the GPU configuration; and
a GPU scaling component executing in a hardware processor and responsive to receipt of resource consumption information as the workload is executing to scale-up or scale-down the GPU configuration.

### Claim 26 (depends on 25)

The data center facility as described in claim 25 further include a central processing unit (CPU) resource pool, and wherein GPU-friendly workloads are assigned to respective members of a set of GPUs from the GPU resource pool while GPU-unfriendly workloads are assigned to respective members of a set of CPUs from the CPU resource pool.

### Claim 27 (depends on 1)

The method as described in claim 1 wherein the compute environment is a disaggregated compute system comprising the GPUs assigned.

### Claim 28 (depends on 9)

The apparatus as described in claim 9 wherein the compute environment is a disaggregated compute system comprising the GPUs assigned.

### Claim 29 (depends on 17)

The computer program product as described in claim 17 wherein the compute environment is a disaggregated compute system comprising the GPUs assigned.
