Considering ERT in Queue Objects

This description provides details about the function of the Consider ERT checkbox in the Queue object definition.

If you activate this option, the system checks whether the task limit of future exceptions would be exceeded before it executes a task assigned to the Queue object. This check takes into account the Estimated Runtime (ERT) of the tasks in the Queue that will be started as well as those that are active at start time. A task is not started if the check proves that starting it would result in the queue limits (max. slots) being exceeded at a later point in time.

If the maximum number of parallel running tasks has already been reached or exceeded at an object start time, the state of the task changes to a waiting condition (Waiting for queue slot).

The following examples explain this setting in more detail.

Example 1

The following diagrams show the number of tasks in a time line. The green lines depict the active tasks in the Queue. The beginning of a line indicates the tasks start time. The length of the green line corresponds to the task Estimated Runtime (ERT).

The blue line depicts the task limit (maximum slot) as defined in the Queue. The maximum available queue slots are reduced from 20 to 10 due to an exception that occurs from 02:00 am to 04:00 am.

An object assigned to the Queue object is processed at 1:00 am (red line). At this point in time, the Queue object already includes 10 active tasks.

XXX

An ERT check of the object to be started shows that the task would still be active at the time the exception applies (2:00 am). Thus, the system determines the number of parallel running tasks that would still be active at this point in time. The ERT calculation of the active tasks in the Queue indicates that only 5 tasks will still be active at 2:00 am. Thus, the task can start.

XXX

Example 2

Example 2 is similar to example 1. The green lines depict the active tasks of a Queue object. The blue line shows the course of the task limit.

An object assigned to the Queue object is activated at 1:00 am (red line). An ERT check of all active tasks shows that no queue slots will be available at the exception time (2:00). Executing a new object would exceed the maximum number of tasks running parallel that is allowed according to the Queue object definition. Thus, the task cannot start.

XXX

See also: