The format has changed a bit, since none of our RawShares column is ‘parent’.

 

But you can test this to be certain.

 

If your cluster already has jobs pending, have bsmith (who has zero usage) and csmith (who has a lot of usage, relatively) each submit several jobs into the pending queue. Alternatively, have bsmith and csmith submit jobs with larger resource requests: jobs that are large enough to automatically go into a pending state due to lack of resources. Those might be jobs that request the whole cluster, even.

 

bsmith’s jobs should get a higher priority as seen from sprio, and bsmith’s jobs should start earlier than csmith’s.

 

From: Drucker, Daniel <DDRUCKER@MCLEAN.HARVARD.EDU>
Date: Friday, August 9, 2024 at 3:11
PM
To: Renfro, Michael <Renfro@tntech.edu>
Cc: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com>
Subject: Re: [slurm-users] FairShare if there's only one account?

External Email Warning

This email originated from outside the university. Please use caution when opening attachments, clicking links, or responding to requests.


Looks like this:

 

$ sshare -a -A mic

Account                    User  RawShares  NormShares    RawUsage  EffectvUsage  FairShare

-------------------- ---------- ---------- ----------- ----------- ------------- ----------

mic                                    120    0.991736    55524598      1.000000

 mic                   asmith     parent    0.991736     2532311      0.045607   0.983871

 mic                  bsmith     parent    0.991736           0      0.000000   0.983871

 mic                   csmith     parent    0.991736     3265529      0.058805   0.983871

 mic                 djones     parent    0.991736           0      0.000000   0.983871

 mic                     ejones     parent    0.991736     2210952      0.039820   0.983871

...etc etc etc...

 

Does that look right?

 

 

 



On Aug 9, 2024, at 4:05PM, Renfro, Michael via slurm-users <slurm-users@lists.schedmd.com> wrote:

 

        External Email - Use Caution        

 

I don’t have any 21.08 systems to verify with, but that’s how I remember it. Use “sshare -a -A mic” to verify. You should see both a RawShares and a NormShares column for each user. By default they’ll all have the same value, but they can be adjusted if needed.

 

From: Drucker, Daniel via slurm-users <slurm-users@lists.schedmd.com>
Date: Friday, August 9, 2024 at 1:39PM
To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com>
Subject: [slurm-users] FairShare if there's only one account?

External Email Warning

This email originated from outside the university. Please use caution when opening attachments, clicking links, or responding to requests.


Simple question: 

 

Does FairShare still work if every user is under one account? E.g.:

 

$ sacctmgr show assoc format=Account,User

   Account       User

---------- ----------

      root

      root       root

       mic

       mic   asmith

       mic  bsmith

       mic   csmith

       mic djones

       mic     ejones

       mic     frubble

 

 

Will it divide time up fairly between the users? I have:

 

PriorityType=priority/multifactor

PriorityFavorSmall=YES

PriorityWeightAge=50000

PriorityWeightFairshare=100000

PriorityWeightJobSize=0

PriorityWeightQOS=0

 

In 21.08.8.

 

 

 

--
Daniel M. Drucker, Ph.D.
Director of IT, MGB Imaging at Belmont

McLean Hospital, a Harvard Medical School Affiliate

 

The information in this e-mail is intended only for the person to whom it is addressed.  If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline .

 

Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail. 


-- 
slurm-users mailing list -- 
slurm-users@lists.schedmd.com
To unsubscribe send an email to 
slurm-users-leave@lists.schedmd.com

 

The information in this e-mail is intended only for the person to whom it is addressed.  If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline .

 

Please note that this e-mail is not secure (encrypted).  If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately.  Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.