[gridengine users] cpu usage calculation

Marshall2, John (SSC/SPC) john.marshall2 at canada.ca
Fri Aug 31 10:27:39 UTC 2018


Hi,

When gridengine calculates cpu usage (based on wallclock) it uses:
cpu usage = wallclock * nslots

This does not account for the number of cpus that may be used for
each slot, which is problematic.

I have written up an article at:
https://expl.info/display/MISC/Slot+Multiplier+for+Calculating+CPU+Usage+in+Gridengine

which explains the issue and provides a patch (against sge-8.1.9)
so that:
cpu usage = wallclock * nslots * ncpus_per_slot

This makes the usage information much more useful/accurate
when using the fair share.

Have others encountered this issue? Feedback is welcome.

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gridengine.org/pipermail/users/attachments/20180831/b76bbcdc/attachment.html>


More information about the users mailing list