[Mauiusers] Regarding the recently adressed problem of double
counting resources for running jobs...
Åke Sandgren
ake.sandgren at hpc2n.umu.se
Fri Sep 16 08:44:57 MDT 2005
If this haven't beens solved already....
MStatInitializeActiveSysUsage only gets called once per iteration.
MQueueAddAJob calls MStatUpdateActiveJobUsage (which states that "policy
usage cleared in MQueueSelectAllJobs") which in turn calls
MPolicyAdjustUsage(NULL,J,NULL,mlActive,NULL,-1,1,NULL);
incresing J->Cred.U->L.AP.Usage[mptMaxJob][0]
MQueueSelectAllJobs then calls MStatClearUsage([NONE],Idle)
NOT resetting active usage and then goes on calling
MPolicyAdjustUsage(NULL,J,NULL,mlActive,NULL,-1,1,NULL);
the net result is that each job gets counted twice.
More information about the mauiusers
mailing list