You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tangentally related, but noting here in case anyone journeys past here looking for it as I did. I was looking into something similar, where fairshare metrics were missing from all accounts. When the fair tree fairshare algorithm is used (changed in slurm 19.05+ to be the default), sshare makes no attempt to calculate a fairshare metric for anything other than users directly. For accounts, a (double)NO_VAL64 is hardcoded, and this appears to be rendered as a blank: https://github.com/SchedMD/slurm/blob/master/src/sshare/process.c#L261
This manifests as the exported reporting 0 for all accounts. We considered patching the exporter to report back LevelFS instead, which is produced by sshare for accounts, but not sure how best to deal with infinity.
Hi,
We have a nested account arrangement, and those accounts aren't properly being reported on.
I dug into the code, and the command is:
However when I get the metrics, I only get root, top_1 and top_2.
'root' isn't useful. top accounts are useful as an aggregate, but I'd also like to see the nested accounts.
Ideally, we would have "slurm_account_fairshare" as it is, and also offer "slurm_subaccount_fairshare" so that I could graph both.
Looks like ParseFairShareMetrics() is the culprit, throwing away anything that starts with more than one space.
I can see the argument for doing it, hence my proposal to gather two sets of metrics.
The text was updated successfully, but these errors were encountered: