AGEINTVL parameter

From m204wiki
Jump to navigation Jump to search

Aging interval


Default value
Parameter type
Where set
On User 0's parameter line or reset by system manager
Related products
Model 204 V6.1 or earlier


The real-time interval in milliseconds a user must wait before being promoted by the aging feature

Because queues are not scanned faster than AGESCAN, a user might have to wait a multiple of AGEINTVL milliseconds before being noticed by the scheduler. In this case, the aging logic determines how many complete AGEINTVL intervals have passed while the user waited, and it remembers this multiplier. The priority and time slice increments, AGEINCR and AGESLICE, are then multiplied by this interval.

For example, suppose that AGESCAN=240000 (four minutes) and AGEINTVL=120000 (two minutes). Further, suppose that you start waiting for the CPU and shortly afterward an aging scan takes place. You have not waited two minutes, and thus are not aged. When the aging scan again takes place, you have waited slightly more than four minutes. The aging logic determines that you have waited two complete AGEINTVL intervals, and assigns you a multiplier of 2. This multiplier is then applied to AGEINCR and AGESLICE.

AGEINTVL has no effect unless the AGESCAN parameter value is nonzero.