Summary: | What is max value allowed for Priority in a QOS? | ||
---|---|---|---|
Product: | Slurm | Reporter: | David Chin <david.chin> |
Component: | Other | Assignee: | mckay <mckay> |
Status: | RESOLVED INFOGIVEN | QA Contact: | |
Severity: | 4 - Minor Issue | ||
Priority: | --- | ||
Version: | 24.05.3 | ||
Hardware: | Linux | ||
OS: | Linux | ||
Site: | Perelman School of Medicine University of Pennsylvania | Alineos Sites: | --- |
Atos/Eviden Sites: | --- | Confidential Site: | --- |
Coreweave sites: | --- | Cray Sites: | --- |
DS9 clusters: | --- | HPCnow Sites: | --- |
HPE Sites: | --- | IBM Sites: | --- |
NOAA SIte: | --- | NoveTech Sites: | --- |
Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
Recursion Pharma Sites: | --- | SFW Sites: | --- |
SNIC sites: | --- | Tzag Elita Sites: | --- |
Linux Distro: | --- | Machine Name: | |
CLE Version: | Version Fixed: | ||
Target Release: | --- | DevPrio: | --- |
Emory-Cloud Sites: | --- |
Description
David Chin
2025-03-28 11:54:26 MDT
The short answer is that job priority is a 32-bit unsigned integer, so essentially 4294967293 Setting the qos is a way to affect the priority, but its use comes with some quirks, namely: * the 'priority/multifactor' plugin must be in use for the qos to be honored (https://slurm.schedmd.com/priority_multifactor.html#general) * 'scontrol top', for users, requires 'enable_user_top' to be set (https://slurm.schedmd.com/scontrol.html#OPT_top and https://slurm.schedmd.com/slurm.conf.html#OPT_enable_user_top) As an admin, you have a couple of other knobs you can turn for manipulating the priority: * renicing the job: https://slurm.schedmd.com/scontrol.html#OPT_Nice * setting the priority directly: https://slurm.schedmd.com/scontrol.html#OPT_Priority For example: > scontrol update jobid=9866 priority=70000 Let me know if you any other questions. That answers my question. We can close this out. Thanks much! Glad to be of help. |