> -----Original Message----- > From: Bill Wichser [mailto:[email protected]] > Sent: Wednesday, January 21, 2015 5:20 AM > To: slurm-dev > Subject: [slurm-dev] fairshare allocations > > > The algorithm I use is fairtree under 14.11 but I believe that my > question relates to any method. > > As a University, we have many investments into a given cluster. At the > most simplistic level, lets assume there are but two two allocations. > The method I have been using is to assign a value, as a percentage of > ownership, to the various ACCOUNTs such that when summed across all > accounts, they add to 100. > > So chemistry might have a fairshare value of 20 as they contributed 20% > of the funding. Physics has a value of 10. And so forth, with many > having a fairshare value of 1 since no money was contributed. > > In the past, I simply assigned either a fairshare value of parent to the > users or assigned them a value of 1. > > So lets take a user, call him Bill, who has a fairshare value of 1 under > the account=chem. It appears to me that this 1 share is actually a 1 > share of the total and not a 1 share of what the account=chem owns. Am > I reading this correctly here?
A share of 1 for Bill is a share of the total shares assigned to users (or accounts) under the chem account. Chem can have 1000 users, each with 1 share, but chem users' combined usage of the system will be throttled to 20% based on job priorities calculated by the fair-share factor. That works both ways: if only one user from chem is submitting jobs, that user can receive 20% of the resources of the cluster, even though they have only one share of chem. The most common practice is to assign a share of 1 to every user in an account. You can assign greater share values to users who are entitled to more than their peers. Don Lipari > > Thanks, > Bill
