# US 2022/0035662 A1 · Scheduling workloads on a common set of resources by multiple schedulers operating independently

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

- Number: US 2022/0035662 A1
- Document ID: US20220035662A1
- Status: Published application
- Kind: A1
- Application number: 16/943,710
- Filed: 2020-07-30
- Published: 2022-02-03
- Earliest claimed: 2020-07-30
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Maarten WIGGERS; Rajesh VENKATASUBRAMANIAN; Sahan Bamunavita GAMAGE; Pranshu JAIN
- Web page: https://patentgrep.com/patent/US20220035662A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5011: {the resources being hardware resources other than CPUs, Servers and Terminals}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/505: {considering the load}
- 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 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2209/485: Resource constraint
- G06F 2209/505: Clust
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Workloads are scheduled on a common set of resources distributed across a cluster of hosts using at least two schedulers that operate independently. The resources include CPU, memory, network, and storage, and the workloads may be virtual objects, including VMs, and also operations including live migration of virtual objects, network file copy, reserving spare capacity for high availability restarts, and selecting hosts that are to go into maintenance mode. In addition, the at least two independent schedulers are assigned priorities such that the higher priority scheduler is executed to schedule workloads in its inventory on the common set of resources before the lower priority scheduler is executed to schedule workloads in its inventory on the common set of resources.

## Claims

### Claim 1

A method of scheduling workloads on a common set of resources that are distributed across a cluster of hosts, using at least two independent schedulers including a high priority scheduler for scheduling high priority workloads and a low priority scheduler for scheduling low priority workloads, said method comprising:
scheduling the high priority workloads on the common set of resources using the high priority scheduler; and then
scheduling the low priority workloads on the common set of resources using the low priority scheduler.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
allocating a first resource budget from a total resource budget of the common set of resources to the high priority workloads and a second resource budget from the total resource budget of the common set of resources to the low priority workloads,
wherein the high priority scheduler performs the scheduling of the high priority workloads in accordance with the first resource budget and the low priority scheduler performs the scheduling of the low priority workloads in accordance with the second resource budget.

### Claim 3 (depends on 1)

The method of claim 1, wherein each of the at least two independent schedulers is a cluster-level scheduler and each of the first and second resource budgets is defined for the cluster.

### Claim 4 (depends on 1)

The method of claim 1, wherein each of the at least two independent schedulers is a cluster-level scheduler and each of the first and second resource budgets is defined per individual host.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
scheduling workloads scheduled on an individual host by the at least two independent schedulers using a host-level scheduler.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
upon determining that a high priority workload cannot be scheduled on a host, migrating one or more workloads that are currently executing in the host to another host.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first resource budget is defined for a subset of high priority workloads managed by the high priority scheduler and the second resource budget is defined for a subset of low priority workloads managed by the low priority scheduler.

### Claim 8 (depends on 1)

The method of claim 1, wherein
said scheduling the high priority workloads includes performing defragmentation of the high priority workloads across the cluster of hosts; and
said scheduling the low priority workloads includes performing defragmentation of the low priority workloads across the cluster of hosts.

### Claim 9 (depends on 1)

The method of claim 1, wherein the low priority workloads include pod virtual machines running on the hosts of the cluster, which correspond respectively to nodes of a Kubernetes platform, and high priority workloads include other virtual machines running on the hosts of the cluster that are not pod virtual machines.

### Claim 10 (depends on 1)

The method of claim 1, wherein the high priority workloads include control virtual machines running on the hosts of the cluster, the control virtual machines performing virtual machine management operations for the cluster in a distributed manner, and low priority workloads include other virtual machines running on the hosts of the cluster that are not control virtual machines.

### Claim 11 (depends on 1)

The method of claim 1, wherein the workloads include virtual objects and operations including live migration of virtual objects, network file copy, reserving spare capacity for high availability restarts, and selecting hosts that are to go into maintenance mode.

### Claim 12 (depends on 1)

The method of claim 1, wherein the resources include CPU, memory, network, and storage.

### Claim 13

A computer system comprising:
a set of resources distributed across a cluster of host computers; and
one or more processors executing a method of scheduling workloads on the set of resources, using at least two independent schedulers including a high priority scheduler for scheduling high priority workloads and a low priority scheduler for scheduling low priority workloads, said method comprising:
scheduling the high priority workloads on the common set of resources using the high priority scheduler; and then
scheduling the low priority workloads on the common set of resources using the low priority scheduler.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein the method further comprises:
allocating a first resource budget from a total resource budget of the common set of resources to the high priority workloads and a second resource budget from the total resource budget of the common set of resources to the low priority workloads,
wherein the high priority scheduler performs the scheduling of the high priority workloads in accordance with the first resource budget and the low priority scheduler performs the scheduling of the low priority workloads in accordance with the second resource budget.

### Claim 15 (depends on 14)

The computer system of claim 14, wherein the method further comprises:
upon determining that a high priority workload cannot be scheduled on a host, migrating one or more workloads that are currently executing in the host to another host.

### Claim 16 (depends on 13)

The computer system of claim 13, wherein
said scheduling the high priority workloads includes performing defragmentation of the high priority workloads across the cluster of hosts; and
said scheduling the low priority workloads includes performing defragmentation of the low priority workloads across the cluster of hosts.

### Claim 17 (depends on 13)

The computer system of claim 13, wherein the low priority workloads include pod virtual machines running on the hosts of the cluster, which correspond respectively to nodes of a Kubernetes platform, and high priority workloads include other virtual machines running on the hosts of the cluster that are not pod virtual machines.

### Claim 18 (depends on 13)

The computer system of claim 13, wherein the high priority workloads include control virtual machines running on the hosts of the cluster, the control virtual machines performing virtual machine management operations for the cluster in a distributed manner, and low priority workloads include other virtual machines running on the hosts of the cluster that are not control virtual machines.

### Claim 19 (depends on 13)

The computer system of claim 13, wherein the workloads include virtual objects and operations including live migration of virtual objects, network file copy, reserving spare capacity for high availability restarts, and selecting hosts that are to go into maintenance mode.

### Claim 20

A non-transitory computer readable medium comprising instructions to be executed in a computer system, wherein the instructions, when executed in the computer system, cause the computer system to carry out a method of scheduling workloads on a common set of resources that are distributed across a plurality of resource providers, using at least two independent schedulers including a high priority scheduler for scheduling high priority workloads and a low priority scheduler for scheduling low priority workloads, said method comprising:
scheduling the high priority workloads on the common set of resources using the high priority scheduler; and then
scheduling the low priority workloads on the common set of resources using the low priority scheduler.

### Claim 21 (depends on 20)

The non-transitory computer readable medium of claim 20, wherein the plurality of resource providers include one of: (a) a cluster of hosts; and (b) a plurality of datastores.
