%ZTM6 ;SEA/RDS-TaskMan: Manager, Part 8 (Load Balancing) ;07/01/08 15:46
Source file <ZTM6.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
ERR | ;Clean up if error
|
|
CACHE1(BIAS) | ;Use available jobs
|
|
STOPWT() | ;See if we should stop Balance wait, Called from %ZTM.
|
|
RNDRBN() | ;Round Robin
|
|
RX | ||
CACHE2(%COM,%LOG) | ;Cache, Pull metric data
|
|
H3(%) | ;Convert $H to seconds
|
|
VXD(BIAS) | ;--algorithm for VAX DSM
|
|
MSM4() | ;Use MSMv4 LAT calcuation
|
|
COMPARE(ID,ZTLEFT,ZTPREV) | ;
|
|
BALANCE | ;CHECK^%ZTM--determine whether cpu should wait for balance
|
|
CHECK | ;Called when job limit reached.
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZTSCH("LOAD" | BALANCE+9, BALANCE+12, BALANCE+18*, BALANCE+21, STOPWT+1, STOPWT+4, CHECK+4, CHECK+6, CHECK+8, COMPARE+6 , ERR+5 |
^%ZTSCH("LOADA" | BALANCE+17, BALANCE+20*, STOPWT+3, CHECK+3!, CHECK+6, CHECK+7* |
^%ZTSCH("RNDRBN" | RNDRBN+3, RNDRBN+4, RNDRBN+7*, RX |
Name | Line Occurrences |
---|---|
$$COMPARE | BALANCE+14 |
$$H3 | BALANCE+12, BALANCE+14 |
RX | RNDRBN+5, RNDRBN+6 |
Name | Field # of Occurrence |
---|---|
^( | BALANCE+17*, STOPWT+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | H3~, H3+1 |
%COM | CACHE2~, CACHE2+4 |
%LOG | CACHE2~, CACHE2+3*, CACHE2+5 |
>> %ZTLKTM | BALANCE+9, STOPWT+1, CHECK+4, RNDRBN+3 |
>> %ZTPAIR | BALANCE+14, BALANCE+18, BALANCE+20, CHECK+3, CHECK+6, CHECK+7, RNDRBN+5, RNDRBN+7 |
>> %ZTPFLG("BAL" | BALANCE+13, CHECK+3, ERR+2* |
>> %ZTPFLG("BI" | COMPARE+7, RNDRBN+7 |
>> %ZTPFLG("EBAL" | ERR+1*, ERR+2 |
BIAS | VXD~, VXD+2, CACHE1~, CACHE1+2 |
CUR | CACHE1+1~ |
CURJOB | MSM4+1~, MSM4+3 |
I | STOPWT+2~*, STOPWT+3*, CHECK+2~, CHECK+6*, CHECK+7 |
ID | COMPARE~, COMPARE+8 |
J | STOPWT+2~*, STOPWT+3*, STOPWT+5, CHECK+2~, CHECK+6*, CHECK+7 |
K | CHECK+2~, CHECK+7* |
MAX | CACHE1+1~ |
MAXJOB | MSM4+1~, MSM4+3 |
R | RNDRBN+2~, RNDRBN+4*, RNDRBN+5, RNDRBN+6, RNDRBN+7 |
R2 | RNDRBN+2~, RNDRBN+5*, RNDRBN+6*, RNDRBN+7*, RX+1 |
TMP | CACHE2+1~, CACHE2+4* |
U | RNDRBN+5, RNDRBN+6, RNDRBN+7 |
X | BALANCE+10~, BALANCE+17*, COMPARE+4~, COMPARE+6*, COMPARE+7, COMPARE+8 |
ZTIME | BALANCE+10~, BALANCE+12*, BALANCE+14*, BALANCE+18, BALANCE+20, COMPARE+7, RNDRBN+6, RNDRBN+7 |
ZTLEFT | BALANCE+10~, BALANCE+14, BALANCE+18, BALANCE+20, COMPARE~, COMPARE+5 |
>> ZTOVERLD | BALANCE+7*, BALANCE+12*, BALANCE+14*, BALANCE+16, BALANCE+20, ERR+1* |
ZTPREV | BALANCE+10~, BALANCE+12*, BALANCE+14, COMPARE~, COMPARE+5 |