Fairshare¶
Fairshare is a scheduling policy in Slurm that helps to ensure equitable access to computational resources over time among users and groups. This mechanism prevents any single user or group from monopolizing resources and promotes a balanced distribution based on defined entitlements.
How to change a labs fairshare¶
# Replace {lab_name} and {number_of_shares} with the name of the lab in the command below
# The default number of shares is 1. If you want to reset a labs fairshare set it to 1.
sudo sacctmgr modify account where account={lab_name} set fairshare={number_of_shares}
How to change a researchers fairshare¶
# Replace {researcher_name}, {lab_name}, and {number_of_shares} with the name of the lab in the command below
# This will only affect the reseachers fairshare within their lab not their fairshare with other labs.
# The default number of shares is 1. If you want to reset a researchers fairshare set it to 1.
sacctmgr modify user where name={researcher_name} account={lab_name} set fairshare={number_of_shares}