[slurm-users] How to set association factor in Multifactor Priority
Marcus Boden
mboden at gwdg.de
Thu Sep 24 06:34:49 UTC 2020
Hi Jianwen,
yes, you can give different accounts or users specific extra-priorities.
You can set it via sacctmgr:
https://slurm.schedmd.com/sacctmgr.html#SECTION_GENERAL-SPECIFICATIONS-FOR-ASSOCIATION-BASED-ENTITIES
(scroll down to 'Priority')
Priority
What priority will be added to a job's priority when using this
association. This is overridden if set directly on a user. Default is
the cluster's limit. To clear a previously set value use the modify
command with a new value of -1.
Best,
Marcus
On 9/24/20 4:35 AM, SJTU wrote:
> Hi,
>
> I found that a new "Association Factor" is introduced in 19.05 to be part of Job_priority calculation. Can I set it for each SLURM account so job priority can be differentiated based on job accounts?
>
> https://groups.google.com/g/slurm-users/c/nzF8jOPZI_w/m/vj2wkUryBgAJ <https://groups.google.com/g/slurm-users/c/nzF8jOPZI_w/m/vj2wkUryBgAJ>
> https://slurm.schedmd.com/priority_multifactor.html#assoc <https://slurm.schedmd.com/priority_multifactor.html#assoc>
>
> Association Factor
> Each association can be assigned an integer priority. The larger the number, the greater the job priority will be for jobs that request this association. This priority value is normalized to the highest priority of all the association to become the association factor.
>
> Job_priority =
> site_factor +
> (PriorityWeightAge) * (age_factor) +
> (PriorityWeightAssoc) * (assoc_factor) +
> (PriorityWeightFairshare) * (fair-share_factor) +
> (PriorityWeightJobSize) * (job_size_factor) +
> (PriorityWeightPartition) * (partition_factor) +
> (PriorityWeightQOS) * (QOS_factor) +
> SUM(TRES_weight_cpu * TRES_factor_cpu,
> TRES_weight_<type> * TRES_factor_<type>,
> ...)
> - nice_factor
>
>
> Thank you!
>
> Jianwen
>
--
Marcus Vincent Boden, M.Sc.
Arbeitsgruppe eScience, HPC-Team
Tel.: +49 (0)551 201-2191, E-Mail: mboden at gwdg.de
-------------------------------------------------------------------------
Gesellschaft für wissenschaftliche Datenverarbeitung mbH Göttingen (GWDG)
Am Faßberg 11, 37077 Göttingen, URL: https://www.gwdg.de
Support: Tel.: +49 551 201-1523, URL: https://www.gwdg.de/support
Sekretariat: Tel.: +49 551 201-1510, Fax: -2150, E-Mail: gwdg at gwdg.de
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen, Handelsregister-Nr. B 598
Zertifiziert nach ISO 9001
-------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5376 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200924/fa61c317/attachment.bin>
More information about the slurm-users
mailing list