Page tree

Load balancing the PATROL Agent involves setting the agent's internal run queue and managing which applications and instances are monitored and which parameters are run. This section describes how to set the agent's internal run queue. For information about how to manage applications, see Loading and monitoring applications.

PATROL Agent's scheduling policy

The /AgentSetup/AgentTuning/runqSchedPolicy configuration variable specifies the PATROL Agent's scheduling policy for the main run queue.

Values

The scheduling policy can be the sum of the following values:

1 — next execution = finish time + poll time
2 — next execution = last execution time + poll time
4 — recalculate optimal scheduling upon each completion
8 — force an interval of runqDelta

Default Vvalue

1

Minimum and maximum

1, 15

Dependencies

None

Recommendation

If the value is set to 1 or 2, the scheduling algorithm forces a spacing of runqDelta seconds between execution times of jobs in the Main Run Queue. The runqMaxDelta represents the maximum number of seconds that a job will be delayed from its "ideal" execution time.

If the value is set to 4, the agent attempts to find the "optimal" execution time by scheduling execution at a time that is furthest from its neighbors. The agent recalculates the runq slot after each execution. The calculation consumes a lot of resources.

If the value is set to 8, the agent schedules consecutive jobs at least runqDelta apart and runqMaxDelta does not apply. This option literally forces an interval of runqDelta between execution times. It affects scheduling of all jobs in the agent's Main run Queue and can allow for an indefinite delay in scheduling.

This force interval option (8) must be used only after other measures such as changing poll times of various parameters have failed to reduce agent load.

Interval between internal processes

The /AgentSetup/AgentTuning/runqDelta configuration variable specifies the gap (in seconds) between processes in the PATROL Agent's run queue.

Format and type of data

Numeric, seconds

Default value

8

Minimum and maximum

1, none

Dependencies

None

Recommendation

None

Increment checking of internal process interval

The /AgentSetup/AgentTuning/runqDeltaIncrement configuration variable specifies the increment (in seconds) used when checking for a gap in the PATROL Agent's run queue.

Format and type of data

Numeric, seconds

Default value

2

Minimum and maximum

1, must be less than or equal to the runqDelta

Override

None

Dependencies

None

Recommendation

None

Maximum delay of an internal process

The /AgentSetup/AgentTuning/runqMaxDelta configuration variable specifies the maximum delay (in seconds) for a process. The runqMaxDelta represents the maximum number of seconds that a job will be delayed from its "ideal" execution time.

Format and type of data

Numeric, seconds

Default value

40

Minimum and maximum

10, none

Override

None

Dependencies

None

Recommendation

None

  • No labels