View a markdown version of this page

AWS::Deadline::Queue WeightedBalancedSchedulingConfiguration - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::Deadline::Queue WeightedBalancedSchedulingConfiguration

Configuration for weighted balanced scheduling. Workers are assigned to jobs based on a weighted formula:

weight = (priority * priorityWeight) + (errors * errorWeight) + ((currentTime - submissionTime) * submissionTimeWeight) + ((renderingTasks - renderingTaskBuffer) * renderingTaskWeight)

The job with the highest calculated weight is scheduled first. Workers are distributed evenly amongst jobs with the same weight.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

Properties

ErrorWeight

The weight applied to the number of errors on a job. A negative value means jobs without errors are scheduled first. A value of 0 means errors are ignored. The default value is -10.0.

Required: No

Type: Number

Minimum: -10000

Maximum: 10000

Update requires: No interruption

MaxPriorityOverride

Overrides the weighted scheduling formula for jobs at the maximum priority (100). When set, jobs with priority 100 are always scheduled first regardless of their calculated weight. When absent, maximum priority jobs use the standard weighted formula.

Required: No

Type: SchedulingMaxPriorityOverride

Update requires: No interruption

MinPriorityOverride

Overrides the weighted scheduling formula for jobs at the minimum priority (0). When set, jobs with priority 0 are always scheduled last regardless of their calculated weight. When absent, minimum priority jobs use the standard weighted formula.

Required: No

Type: SchedulingMinPriorityOverride

Update requires: No interruption

PriorityWeight

The weight applied to job priority in the scheduling formula. Higher values give more influence to job priority. A value of 0 means priority is ignored. The default value is 100.0.

Required: No

Type: Number

Minimum: 0

Maximum: 10000

Update requires: No interruption

RenderingTaskBuffer

The rendering task buffer is subtracted from the number of rendering tasks before applying the rendering task weight. This creates a stickiness effect where workers prefer to stay with their current job. Higher values make workers stickier. The default value is 1. The buffer is only applied in the weight calculation for a job if the worker is currently assigned to that job.

Required: No

Type: Integer

Minimum: 0

Maximum: 1000

Update requires: No interruption

RenderingTaskWeight

The weight applied to the number of tasks currently rendering on a job. A negative value means jobs that are not already rendering are scheduled next. A value of 0 means the rendering state is ignored. The default value is -100.0.

Required: No

Type: Number

Minimum: -10000

Maximum: 10000

Update requires: No interruption

SubmissionTimeWeight

The weight applied to job submission time. A positive value means earlier jobs are scheduled first. A value of 0 means submission time is ignored. The default value is 3.0.

Required: No

Type: Number

Minimum: 0

Maximum: 10000

Update requires: No interruption