[Mauiusers] Regarding the recently adressed problem of double
counting resources for running jobs...
Lennart.Karlsson at nsc.liu.se
Tue Oct 25 14:14:36 MDT 2005
You wrote the 16th of September:
> 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
> incresing J->Cred.U->L.AP.Usage[mptMaxJob]
> MQueueSelectAllJobs then calls MStatClearUsage([NONE],Idle)
> NOT resetting active usage and then goes on calling
> the net result is that each job gets counted twice.
No, this is still not solved in the latest snapshot, Maui version
Would you propose to put in a line
just in front of the two lines
in source file src/moab/MPolicy.c ?
My initial testing of the change solves my counting problems (see bugzilla,
bug 98, "Maui tries to calculate used resources of running jobs, but makes
a factor two error"), but might I have introduced new bugs?
CRI, what would you think about adding such a line?
-- Lennart Karlsson <Lennart.Karlsson at nsc.liu.se>
National Supercomputer Centre in Linkoping, Sweden
More information about the mauiusers