# US 2022/0283854 A1 · Determining a job group status based on a relationship between a generation counter value and a ticket value for scheduling the job group for execution

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

- Number: US 2022/0283854 A1
- Document ID: US20220283854A1
- Status: Published application
- Kind: A1
- Application number: 17/702,705
- Filed: 2022-03-23
- Published: 2022-09-08
- Earliest claimed: 2015-11-09
- Assignees: Unity IPR ApS
- Applicants: Unity IPR ApS
- Inventors: Benoit Sevigny
- Web page: https://patentgrep.com/patent/US20220283854A1

## CPC

- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/5044: {considering hardware capabilities}
- G06F 2209/483: Multiproc
- G06F 2209/484: Precedence
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A job scheduler system includes one or more hardware processors, a memory including a job group queue stored in the memory, and a job scheduler engine configured to create a first job group in the job group queue, the first job group includes a generation counter having an initial value, receive a first request to steal the first job group, determine a state of the first job group based at least in part on the generation counter, the state indicating that the first job group is available to steal, based on the determining the state of the first job group, atomically increment the generation counter, thereby making the first job group unavailable for stealing, and alter an execution order of the first job group ahead of at least one other job group in the job group queue.

## Claims

### Claim 1

(canceled)

### Claim 2

A system comprising:
one or more computer processors;
one or more computer memories;
a set of instructions stored in the one or more computer memories, the set of instructions configuring the one or more computer processors to perform operations, the operations comprising:
based on a determination that a job group has entered a job group queue, creating a job group container, the creating of the job group container including allocating a memory region for the job group, the job group including a job list;
based on a determination that the job group container is in a finished state, flagging the job group container for recycling; and
based on a determination that an additional job group has entered the job group queue, assigning the additional job group to the job group container without deallocating the memory region, the additional job group including an additional job list.

### Claim 3 (depends on 1)

The system of claim 1, the operations further comprising, based on the flagging of the job group container for recycling, placing the job group container on a recycling stack.

### Claim 4 (depends on 1)

The system of claim 1, wherein the additional job group is dependent on the job group.

### Claim 5 (depends on 1)

The system of claim 1, wherein the determination that the job group container is in a finished state is based on a determination that the memory region is empty.

### Claim 6 (depends on 4)

The system of claim 4, wherein the determination that the memory region is empty is based on the job group being stolen.

### Claim 7 (depends on 1)

The system of claim 1, wherein the job group is associated with a generation counter.

### Claim 8 (depends on 6)

The system of claim 6, wherein the determination that the job group container is in a finished state is based on the generation counter being equal to a predetermined value.

### Claim 9

A method comprising:
based on a determination that a job group has entered a job group queue, creating a job group container, the creating of the job group container including allocating a memory region for the job group, the job group including a job list;
based on a determination that the job group container is in a finished state, flagging the job group container for recycling; and
based on a determination that an additional job group has entered the job group queue, assigning the additional job group to the job group container without deallocating the memory region, the additional job group including an additional job list.

### Claim 10 (depends on 8)

The method of claim 8, the operations further comprising, based on the flagging of the job group container for recycling, placing the job group container on a recycling stack.

### Claim 11 (depends on 8)

The method of claim 8, wherein the additional job group is dependent on the job group.

### Claim 12 (depends on 8)

The method of claim 8, wherein the determination that the job group container is in a finished state is based on a determination that the memory region is empty.

### Claim 13 (depends on 11)

The method of claim 11, wherein the determination that the memory region is empty is based on the job group being stolen.

### Claim 14 (depends on 8)

The method of claim 8, wherein the job group is associated with a generation counter.

### Claim 15 (depends on 13)

The method of claim 13, wherein the determination that the job group container is in a finished state is based on the generation counter being equal to a predetermined value.

### Claim 16

A non-transitory computer-readable storage medium including a set of instructions that, when executed by one or more computer processors, cause the one or more computer processors to perform operations, the operations comprising:
based on a determination that a job group has entered a job group queue, creating a job group container, the creating of the job group container including allocating a memory region for the job group, the job group including a job list;
based on a determination that the job group container is in a finished state, flagging the job group container for recycling; and
based on a determination that an additional job group has entered the job group queue, assigning the additional job group to the job group container without deallocating the memory region, the additional job group including an additional job list.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, the operations further comprising, based on the flagging of the job group container for recycling, placing the job group container on a recycling stack.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the additional job group is dependent on the job group.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the determination that the job group container is in a finished state is based on a determination that the memory region is empty.

### Claim 20 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the determination that the memory region is empty is based on the job group being stolen.

### Claim 21 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the job group is associated with a generation counter.
