Yes, that concept of rank tripped me up. The "count of user associations that 
start at root" you mean? Do you mean all associations across all accounts or 
just the account being examined? Then you say "final fairshare factor similar 
to (rank-- / user_assoc_count)". Wouldn't that equal 1? I'm clearly not 
understanding something fundamental.
________________________________
From: Ryan Cox <ryan_...@byu.edu>
Sent: Wednesday, December 2, 2020 10:43 AM
To: Slurm User Community List <slurm-users@lists.schedmd.com>; Erik Bryer 
<ebr...@isi.edu>; Micheal Krombopulous <michealkrombopul...@outlook.com>
Subject: Re: [slurm-users] FairShare

>From https://slurm.schedmd.com/fair_tree.html:
The basic idea is to set rank equal to the count of user associations then 
start at root:
*   Calculate Level Fairshare for the subtree's children
*   Sort children of the subtree
*   Visit the children in descending order:
-        If user, assign a final fairshare factor similar to (rank-- / 
user_assoc_count)
-        If account, descend to account


On 12/2/20 10:34 AM, Erik Bryer wrote:
I'm not talking about the Level Fair Share. That's easy to compute. I'm talking 
about Fair Share -- what sshare prints out on the rightmost side.
________________________________
From: slurm-users 
<slurm-users-boun...@lists.schedmd.com><mailto:slurm-users-boun...@lists.schedmd.com>
 on behalf of Ryan Cox <ryan_...@byu.edu><mailto:ryan_...@byu.edu>
Sent: Wednesday, December 2, 2020 10:31 AM
To: Slurm User Community List 
<slurm-users@lists.schedmd.com><mailto:slurm-users@lists.schedmd.com>; Micheal 
Krombopulous 
<michealkrombopul...@outlook.com><mailto:michealkrombopul...@outlook.com>
Subject: Re: [slurm-users] FairShare

It's really similar to a binary search tree.  Within each account, it is Shares 
/ Usage to calculate the Level FS.  See 
https://slurm.schedmd.com/SUG14/fair_tree.pdf has more details, starting at 
page 34 or so.  It even has an "animation".

Ryan

On 12/2/20 10:22 AM, Micheal Krombopulous wrote:

Reply via email to