Currently I've set:

sacctmgr modify account where name=account1 set fairshare=parent
sacctmgr modify account where name=account2 set fairshare=parent
sacctmgr modify account where name=account3 set fairshare=parent
sacctmgr modify account where name=account4 set fairshare=parent
sacctmgr modify account where name=account5 set fairshare=parent

sacctmgr modify user where name=owner11 account=account1 partition=partition1 
set fairshare=47
sacctmgr modify user where name=owner12 account=account1 partition=partition1 
set fairshare=13
sacctmgr modify user where name=owner13 account=account1 partition=partition1 
set fairshare=40
sacctmgr modify user where name=owner14 account=account1 partition=prtitition1 
set fairshare=0
...
sacctmgr modify user where name=owner1N account=account1 partition=account1 set 
fairshare=0

Is this correct or not?

I mean, If I remove the fairshare=parent setting from account1... what value 
should I put there then?

What I want to obtain is that when the three owners (owner11, owner12 and 
owner13) do submit
lots of jibs using "-A account1 -p partition1" their usage will be 47 %, 13 % 
and 40 % respectively.

Their usage should also be independent from what all other users are doing on 
all other accounts.

I also want to disable the fairshare portion of the total priority for owner14, 
owner15... owner1N.

fairshare=0 at user level should make this possible right?



________________________________
From: Lipari, Don [[email protected]]
Sent: Tuesday, January 29, 2013 12:44 AM
To: slurm-dev
Subject: [slurm-dev] RE: Independent FairShare Configuration for N Cluster 
Segments

Matt,

To allow the jobs from each owner (11, 12, and 13) to be prioritized based on 
their usage, do not include the fairshare=parent setting.

Otherwise, your settings should result in usage that reflects the shares you 
have configured, assuming all three owners have been submitting enough jobs to 
the queue.  To check, run “sshare -a” from time to time.

Don

From: Guglielmi Matteo [mailto:[email protected]]
Sent: Monday, January 28, 2013 7:47 AM
To: slurm-dev
Subject: [slurm-dev] Independent FairShare Configuration for N Cluster Segments

I have slurm running on a confederation of clusters but at
slurm level, I've defined a single cluster.

For each physical cluster I've created an account and to each
account I've associated the corresponding "owner" users.

To each account I've also associated a single partition which
includes all the nodes of that particular cluster.


                           root
                             |
                             |
     +-----------+-----------+----------+-----------+
     |           |           |          |           |
  account1   account2    account3    account4    account5
     |           |           |          |           |
     + owner11   + owner21   +          +           + owner51
     + owner12   + owner22   ...        ...         + owner52
     ~           ~                                  ~
     + owner1N   + owner2K                          + owner5J


Because each owner user is associated to a single account, I
need to configure the faishare so that the priority for each
user belonging the same account is not affected by what's happening
to the accounts.

So, if I set:

fairshare=parent

for all 5 accounts and, for example:

fairshare=47  (owner11)

fairshare=13  (owner12)

fairshare=40  (owner13)

fairshare=0   (owner14,... owner1N)

do I get the corresponding shares of 47%, 13% and 40% for the
three owners of account1?

Are the corresponding shares independent from the load of experienced
by the other cluster segments (account2,... account5)?

Thanks,

--matt

Reply via email to