[slurm-users] getting fairshare

Paul Edmon pedmon at cfa.harvard.edu
Wed Dec 16 17:36:00 UTC 2020


You can use the -o option to select which field you want it to print.  
The last column is the FairShare score.  The equation is part of the 
slurm documentation: https://slurm.schedmd.com/priority_multifactor.html


If you are using the Classic Fairshare you can look at our 
documentation: https://docs.rc.fas.harvard.edu/kb/fairshare/


-Paul Edmon-


On 12/16/2020 12:30 PM, Erik Bryer wrote:
> $ sshare -a
>              Account       User  RawShares  NormShares  RawUsage 
>  EffectvUsage  FairShare
> -------------------- ---------- ---------- ----------- ----------- 
> ------------- ----------
> root                                          0.000000     158     
>  1.000000
>  root                      root          1    0.250000       0     
>  0.000000   1.000000
>  borrowed                                1    0.250000     157     
>  0.994905
>   borrowed               ebryer          6    0.020979     157     
>  1.000000   0.083333
>   borrowed            napierski          7    0.024476       0     
>  0.000000   0.333333
>   borrowed           sagatest01        259    0.905594       0     
>  0.000000   0.333333
>   borrowed           sagatest02         14    0.048951       0     
>  0.000000   0.333333
>  gaia                                    1    0.250000       0     
>  0.005095
>   gaia                   ebryer          3    0.272727       0     
>  1.000000   0.416667
>   gaia                 napiersk          2    0.181818       0     
>  0.000000   0.666667
>   gaia               sagatest01          1    0.090909       0     
>  0.000000   0.666667
>   gaia               sagatest02          5    0.454545       0     
>  0.000000   0.666667
>  saral                                   1    0.250000       0     
>  0.000000
>   saral                  ebryer         20    0.869565       0     
>  0.000000   1.000000
>   saral               napierski          1    0.043478       0     
>  0.000000   1.000000
>   saral              sagatest01          2    0.086957       0     
>  0.000000   1.000000
>
> Is there a way to take output from sshare and get FairShare? I'm 
> looking for a simple equation or some indication why that's not 
> possible. I've ready everything I can find on this topic.
>
> Thanks,
> Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20201216/71c8323e/attachment.htm>


More information about the slurm-users mailing list