# US 2021/0287323 A1 · Function-as-a-service (faas) model for specialized processing units

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

- Number: US 2021/0287323 A1
- Document ID: US20210287323A1
- Status: Published application
- Kind: A1
- Application number: 16/817,390
- Filed: 2020-03-12
- Published: 2021-09-16
- Earliest claimed: 2020-03-12
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Robert Edgar Barton; Jerome Henry; Russell Paul Gyurek; Frank Brockners
- Web page: https://patentgrep.com/patent/US20210287323A1

## CPC

- G06F 9/5061: {Partitioning or combining of resources}
- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 9/3877: {using a secondary processor, e.g. coprocessor (peripheral processor G06F13/12)}
- G06F 9/5038: {considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration (scheduling strategies G06F9/4881 and subgroups)}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 15/80: comprising an array of processing units with common control, e.g. single instruction multiple data processors (G06F15/82 takes precedence {; for correlation function computation G06F17/15})
- G06F 2209/5021: Priority
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A server that includes a graphics processing unit (GPU) may receive, from a first application that is remote from the server, a first request to reserve a first number of cores of the GPU for a first amount of time. The server may also receive, from a second application that is also remote from the server, a second request to reserve a second number of cores of the GPU for a second amount of time that at least partly overlaps the first amount of time. The server may determine that the first request is associated with a higher priority than the second request and, in response, may reserve the first number of cores for the first amount of time for the first application. The server may send, to the first application, an indication that the first number of cores have been reserved as requested by the first application.

## Claims

### Claim 1

A method comprising:
receiving, at a server that includes a graphics processing unit (GPU) and from a first application that is remote from the server, a first request to reserve a first number of cores of the GPU during a first period of time;
receiving, at the server and from a second application that is remote from the server and remote from the first application, a second request to reserve a second number of cores of the GPU during a second period of time that at least partly overlaps the first period of time;
determining, by the server, that the first application is associated with a higher priority than the second application;
reserving, by the server and based at least in part on the determining that the first application is associated with the higher priority, the first number of cores during the first period of time for the first application; and
sending, by the server and to the first application, an indication that the first number of cores have been reserved for the first period of time for the first application.

### Claim 2 (depends on 1)

The method as recited in claim 1, further comprising:
reserving, by the server and based at least in part on the determining that the first application is associated with the higher priority, a third number of cores during the second period of time for the second application, the third number of cores being less than the second number of cores requested by the second application; and
sending, by the server and to the second application, an indication that the third number of cores have been reserved for the second period of time for the second application.

### Claim 3 (depends on 1)

The method as recited in claim 1, further comprising:
reserving, by the server and based at least in part on the determining that the first application is associated with the higher priority, the second number of cores during a third period of time for the second application, the third period of time at least one of less than the second period of time or occurring later than the second period of time; and
sending, by the server and to the second application, an indication that the second number of cores have been reserved for the third period of time for the second application.

### Claim 4 (depends on 1)

The method as recited in claim 1, wherein the determining that the first request is associated with a higher priority than the second request is based at least in part on at least one of a task to be performed by the first application, a task to be performed by the second application, a quality of service (QoS) level associated with the first application, a QoS level associated with the second application, a billing model associated with the first application, or a billing model associated with the second application.

### Claim 5 (depends on 1)

The method as recited in claim 1, wherein the determining that the first request is associated with a higher priority than the second request is based at least in part on at least one of the first number of cores requested by the first application, the first period of time during which the first application has requested the first number of cores, the second number of cores requested by the second application, or the second period of time during which the second application has requested the second number of cores.

### Claim 6 (depends on 1)

The method as recited in claim 1, wherein the server forms a portion of a cloud-based service, the receiving of the first request comprises receiving the first request via an application programming interface (API) provided by the cloud-based service, and the receiving of the second request comprises receiving the second request via the API provided by the cloud-based service.

### Claim 7 (depends on 1)

The method as recited in claim 1, wherein the first request includes first authentication credentials associated with the first application, and the method further comprising:
authenticating, at least partly prior to the reserving of the first number of cores and the sending of the indication, the first application using the first authentication credentials associated with the first application.

### Claim 8

A system comprising:
one or more first processors including at least one of a graphics processing unit (GPU) or a tensor processing unit (TPU);
one or more second processors; and
one or more non-transitory computer-readable media storing computer-executable instructions that, when executed, cause the one or more second processors to perform acts comprising:
receiving, from a first application that is remote from the system, a first request to reserve a first number of cores of the at least one of the GPU or the TPU during a first period of time;
receiving, from a second application that is remote from the system and remote from the first application, a second request to reserve a second number of cores of the at least one of the GPU or the TPU during a second period of time that at least partly overlaps the first period of time;
determining that the first application is associated with a higher priority than the second application;
reserving, based at least in part on the first application being associated with the higher priority, the first number of cores during the first period of time for the first application; and
sending, to the first application, an indication that the first number of cores have been reserved for the first period of time for the first application.

### Claim 9 (depends on 8)

The system as recited in claim 8, the acts further comprising:
reserving, based at least in part on the determining that the first application is associated with the higher priority, a third number of cores during the second period of time for the second application, the third number of cores being less than the second number of cores requested by the second application; and
sending, to the second application, an indication that the third number of cores have been reserved for the second period of time for the second application.

### Claim 10 (depends on 8)

The system as recited in claim 8, the acts further comprising:
reserving, based at least in part on the determining that the first application is associated with the higher priority, the second number of cores during a third period of time for the second application, the third period of time at least one of less than the second period of time or occurring later than the second period of time; and
sending, to the second application, an indication that the second number of cores have been reserved for the third period of time for the second application.

### Claim 11 (depends on 8)

The system as recited in claim 8, wherein the determining that the first request is associated with a higher priority than the second request is based at least in part on at least one of a task to be performed by the first application, a task to be performed by the second application, a quality of service (QoS) level associated with the first application, a QoS level associated with the second application, a billing model associated with the first application, or a billing model associated with the second application.

### Claim 12 (depends on 8)

The system as recited in claim 8, wherein the determining that the first request is associated with a higher priority than the second request is based at least in part on at least one of the first number of cores requested by the first application, the first period of time during which the first application has requested the first number of cores, the second number of cores requested by the second application, or the second period of time during which the second application has requested the second number of cores.

### Claim 13 (depends on 8)

The system as recited in claim 8, wherein the system forms a portion of a cloud-based service, the receiving of the first request comprises receiving the first request via an application programming interface (API) provided by the cloud-based service, and the receiving of the second request comprises receiving the second request via the API provided by the cloud-based service.

### Claim 14

(canceled)

### Claim 15

A method implemented at least in part by a system that includes a specialized processing unit, the method comprising:
receiving, from a first application that is remote from the system, a first request to reserve a first number of cores of the specialized processing unit during a first period of time;
receiving, from a second application that is remote from the system and remote from the first application, a second request to reserve a second number of cores of the specialized processing unit during a second period of time that at least partly overlaps the first period of time;
determining that the first application is associated with a higher priority than the second application;
reserving, based at least in part on the determining that the first application is associated with the higher priority, the first number of cores during the first period of time for the first application; and
sending, to the first application, an indication that the first number of cores have been reserved for the first period of time for the first application.

### Claim 16 (depends on 15)

The method as recited in claim 15, wherein the specialized processing unit comprises at least one of a graphics processing unit (GPU) or a tensor processing unit (TPU).

### Claim 17 (depends on 15)

The method as recited in claim 15, further comprising:
reserving, based at least in part on the determining that the first application is associated with the higher priority, a third number of cores during the second period of time for the second application, the third number of cores being less than the second number of cores requested by the second application; and
sending, to the second application, an indication that the third number of cores have been reserved for the second period of time for the second application.

### Claim 18 (depends on 15)

The method as recited in claim 15, further comprising:
reserving, based at least in part on the determining that the first application is associated with the higher priority, the second number of cores a third period of time for the second application, the third period of time at least one of less than the second period of time or occurring later than the second period of time; and
sending, to the second application, an indication that the second number of cores have been reserved for the third period of time for the second application.

### Claim 19 (depends on 15)

The method as recited in claim 15, wherein the determining that the first request is associated with a higher priority than the second request is based at least in part on at least one of a task to be performed by the first application, a task to be performed by the second application, a quality of service (QoS) level associated with the first application, a QoS level associated with the second application, a billing model associated with the first application, or a billing model associated with the second application.

### Claim 20 (depends on 15)

The method as recited in claim 15, wherein the determining that the first request is associated with a higher priority than the second request is based at least in part on at least one of the first number of cores requested by the first application, the first period of time during which the first application has requested the first number of cores, the second number of cores requested by the second application, or the second period of time during which the second application has requested the second number of cores.

### Claim 21 (depends on 1)

The method as recited in claim 1, wherein the first application is executing on a first edge node that is remote from the server, the first application being configured to utilize computing resources of the first edge node to execute first tasks and utilize the cores of the GPU to execute second tasks, the second tasks different from the first tasks.
