Micheal,

Details are at https://slurm.schedmd.com/fair_tree.html <https://slurm.schedmd.com/fair_tree.html>. If they have the same shares and usage as each other, they will have the same fair share value.  One thing to keep in mind is that sshare rounds or truncates the values, so 0.000000 does not necessarily mean that a value is actually 0. https://slurm.schedmd.com/SUG14/fair_tree.pdf has more details, starting at page 34 or so.

Ryan

On 12/2/20 9:32 AM, Micheal Krombopulous wrote:
Can someone tell me how to calculate fairshare (under fairtree)? I can't figure 
it out. I would have thought it would be the same score for all users in an 
account. E.g., here is one of my accounts:

Account     User  RawShares  NormShares    RawUsage   NormUsage  EffectvUsage   
 LevelFS  FairShare
-------------------- ---------- ---------- ----------- ----------- ----------- 
------------- ---------- ----------
root                                               0.000000      611349         
         1.000000
  root                      root             1    0.076923           0    
0.000000      0.000000        inf   1.000000
  sray                                          1    0.076923      30921 
0.505582      0.505582   0.152147
   sray                 phedge            1    0.050000           0    0.000000 
     0.000000        inf   0.181818
   sray                raab                  1    0.050000           0    
0.000000      0.000000        inf   0.181818
   sray                benequist          1    0.050000           0    0.000000 
     0.000000        inf   0.181818
   sray                 bosch               1    0.050000           0    
0.000000      0.000000        inf   0.181818
   sray                rjenkins             1    0.050000           0    
0.000000      0.000000        inf   0.181818
   sray                  esmith            1    0.050000           0    
0.000000      0.000000 1.7226e+07   0.054545
   sray                  gheinz            1    0.050000           0    
0.000000      0.000000 1.9074e+14   0.072727
   sray                  jfitz                 1    0.050000           0    
0.000000      0.000000 8.0640e+20   0.081818
   sray                   ajoel              1    0.050000       42449    
0.069465      0.137396   0.363913   0.018182
   sray                  jmay               1    0.050000           0    
0.000000      0.000000        inf   0.181818
   sray                 aferrier            1    0.050000           0    
0.000000      0.000000        inf   0.181818
   sray                bdehaven         1    0.050000      225002    0.367771   
   0.727420   0.068736   0.009091
   sray                msmythe          1    0.050000           0    0.000000   
   0.000000        inf   0.181818
   sray                 gfink               1    0.050000           0    
0.000000      0.000000 2.0343e+05   0.045455
   sray                ahantau           1    0.050000          31    0.000051  
    0.000102 491.737549   0.036364
   sray                 hmiller            1    0.050000           0    
0.000000      0.000000        inf   0.181818
   sray                   ttinker          1    0.050000           0    
0.000000      0.000000 1.4798e+13   0.063636
   sray                wcooper          1    0.050000           0    0.000000   
   0.000000        inf   0.181818
   sray                 xtsao              1    0.050000       41734    
0.068296      0.135083   0.370143   0.027273
   sray                   xping            1    0.050000           0    
0.000000      0.000000 1.9833e+24   0.090909




Reply via email to