# US 2019/0377596 A1 · Flexible batch job scheduling in virtualization environments

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

- Number: US 2019/0377596 A1
- Document ID: US20190377596A1
- Status: Published application
- Kind: A1
- Application number: 16/549,279
- Filed: 2019-08-23
- Published: 2019-12-12
- Earliest claimed: 2013-09-23
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Marcin Piotr Kowalski; Wesley Gavin King
- Web page: https://patentgrep.com/patent/US20190377596A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/5072: {Grid computing}
- G06F 9/4887: {involving deadlines, e.g. rate based, periodic}
- G06F 9/50: Allocation of resources, e.g. of the central processing unit [CPU]
- G06F 9/455: Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F 9/46: Multiprogramming arrangements
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and apparatus for flexible batch job scheduling in virtualization environments are disclosed. A descriptor for a batch job requested by a client is received at a job scheduling service. The descriptor comprises an indication of a time range during which a job iteration may be performed. A target time for executing the iteration is determined based on an analysis of a plurality of received descriptors. An indication of the target time at which the iteration is to be scheduled is provided to a selected execution platform.

## Claims

### Claim 1

A system, comprising:
one or more computing devices configured to:
implement one or more programmatic interfaces enabling clients of a job scheduling service of a provider network to indicate respective scheduling descriptors associated with a plurality of jobs, wherein a particular scheduling descriptor associated with a particular job comprises an indication of a time range during which at least part of an iteration of the particular job is to be executed on behalf of a particular client;
determine a target time to initiate an execution of the iteration of the particular job, based at least in part on (a) an analysis of a plurality of scheduling descriptors corresponding to jobs whose execution is dependent at least in part on a use of a shared resource and (b) a temporal load distribution policy;
transmit a job execution request indicating the target time to a selected execution platform;
perform one or more executable operations at the selected execution platform in accordance with the job execution request;
collect a result indicator of the iteration of the particular job from the selected execution platform; and
in response to a job status request from the particular client, display one or more metrics associated with the iteration of the particular job.

### Claim 2 (depends on 1)

The system as recited in claim 1, wherein the one or more computing devices are further configured to:
receive, from the particular client, a representation of an executable program to be invoked to perform the one or more executable operations, and a representation of a set of prerequisites for the iteration of the particular job;
store the representations of the executable program and the set of prerequisites within a repository implemented at least in part within the provider network; and
select, based at least in part on the set of prerequisites, at least one of (a) the execution platform to which the job execution request is sent, or (b) the target time.

### Claim 3 (depends on 1)

The system as recited in claim 1, wherein the shared resource comprises a processing element at a virtualization host of a virtualized computing service of the provider network, wherein the virtualization host comprises a plurality of compute instances including a first compute instance allocated to the particular client and a second compute instance allocated to a different client, and wherein the selected execution platform comprises the first compute instance.

### Claim 4 (depends on 1)

The system as recited in claim 1, wherein the target time is indicated in the job execution request at a sub-second granularity.

### Claim 5 (depends on 1)

The system as recited in claim 1, wherein the one or more metrics include one or more of: (a) a billing amount associated with the iteration, (b) an execution duration of the iteration, or (c) one or more measurements of resource usage associated with the iteration.

### Claim 6

A method, comprising:
performing, by a plurality of computing devices:
implementing one or more programmatic interfaces enabling clients of a job scheduling service supported by a provider network to indicate respective descriptors associated with a plurality of jobs, wherein a particular descriptor associated with a particular job comprises an indication of a time range during which at least part of an iteration of the particular job is to be executed on behalf of a particular client;
determining a target time to initiate an execution of the iteration of the particular job, based at least in part on an analysis of a plurality of descriptors obtained from a plurality of clients;
transmitting a job execution request indicating the target time to a selected execution platform; and
providing an indication of one or more metrics associated with the iteration to the particular client, including a result indicator of the iteration.

### Claim 7 (depends on 6)

The method as recited in claim 6, further comprising performing, by the one or more computing devices:
receiving, from the particular client, a representation of an executable program to be invoked to perform the iteration of the particular job, and a representation of a set of prerequisites for the iteration;
storing the representations of the executable program and the set of prerequisites within a repository implemented at least in part within the provider network; and
selecting, based at least in part on the set of prerequisites, at least one of: (a) the execution platform to which the job execution request is transmitted, or (b) the target time.

### Claim 8 (depends on 7)

The method as recited in claim 7, wherein a particular prerequisite of the set of prerequisites comprises a completion of an operation at a resource of the provider network.

### Claim 9 (depends on 6)

The method as recited in claim 6, further comprising performing, by the one or more computing devices:
selecting the plurality of descriptors to be analyzed to determine the target time based at least in part on a determination that jobs indicated in the plurality of descriptors require access to a shared resource.

### Claim 10 (depends on 9)

The method as recited in claim 9, wherein the shared resource comprises at least one component of a virtualization host of a virtualized computing service of the provider network.

### Claim 11 (depends on 10)

The method as recited in claim 10, wherein the virtualization host comprises a plurality of compute instances including a first compute instance allocated to the particular client and a second compute instance allocated to a different client, and wherein the selected execution platform comprises the first compute instance.

### Claim 12 (depends on 10)

The method as recited in claim 10, wherein the selected execution platform comprises a module of a virtualization management software stack at the virtualization host.

### Claim 13 (depends on 9)

The method as recited in claim 9, wherein the shared resource comprises at least one of: (a) a database object implemented at a database service of the provider network, (b) a network resource of the provider network, or (c) a storage object implemented at a storage service of the provider network.

### Claim 14 (depends on 6)

The method as recited in claim 6, wherein the target time is indicated in the job execution request at a sub-second granularity.

### Claim 15 (depends on 6)

The method as recited in claim 6, wherein the target time is determined based at least in part on a temporal load distribution policy which includes an indication of a target maximum resource utilization level for a resource utilized during the iteration.

### Claim 16

A non-transitory computer-accessible storage medium storing program instructions that when executed on one or more processors:
receive, via a programmatic interface, a representation of a descriptor associated with a particular job requested by a particular client of a provider network job scheduling service, wherein the descriptor comprises an indication of a time range during which at least part of an iteration of the particular job is to be executed on behalf of a particular client;
determine a target time to initiate an execution of the iteration of the particular job, based at least in part on an analysis of a plurality of descriptors; and
provide an indication of the target time to a selected execution platform.

### Claim 17 (depends on 16)

The non-transitory computer-accessible storage medium as recited in claim 16, wherein the instructions when executed on the one or more processors:
select the plurality of descriptors to be analyzed to determine the target time based at least in part on a determination that jobs indicated in the plurality of descriptors require access to a shared resource.

### Claim 18 (depends on 16)

The non-transitory computer-accessible storage medium as recited in claim 16, wherein the selected execution platform comprises a resource located outside the provider network.

### Claim 19 (depends on 16)

The non-transitory computer-accessible storage medium as recited in claim 16, wherein the selected execution platform comprises a resource at a client facility.

### Claim 20 (depends on 19)

The non-transitory computer-accessible storage medium as recited in claim 19, wherein the plurality of descriptors comprises at least one descriptor of another job targeted for execution at the client facility.

### Claim at position 21

-22. (canceled)
