Skip to content
Snippets Groups Projects
Commit 75f12039 authored by Roman Sliva's avatar Roman Sliva
Browse files

Update job-priority.md - Technical Details

parent 14a48c13
No related branches found
No related tags found
No related merge requests found
Pipeline #36734 passed with warnings
...@@ -34,7 +34,7 @@ Job age has the least impact on execution priority. It is very, very difficult f ...@@ -34,7 +34,7 @@ Job age has the least impact on execution priority. It is very, very difficult f
### Formula ### Formula
Job execution priority calculated as: Job execution priority is calculated as:
---8<--- "job_sort_formula.md" ---8<--- "job_sort_formula.md"
...@@ -55,6 +55,21 @@ Specifying more accurate timelimit enables better scheduling, better execution t ...@@ -55,6 +55,21 @@ Specifying more accurate timelimit enables better scheduling, better execution t
---8<--- "mathjax.md" ---8<--- "mathjax.md"
## Technical Details
Priorities are set using Slurm's [Multifactor Priority Plugin][1]. Current settings are as follows:
```
$ grep ^Priority /etc/slurm/slurm.conf
PriorityFlags=DEPTH_OBLIVIOUS
PriorityType=priority/multifactor
PriorityDecayHalfLife=7-0
PriorityMaxAge=14-0
PriorityWeightAge=100000
PriorityWeightFairshare=10000000
PriorityWeightPartition=1000000000
```
## Inspecting Job Priority ## Inspecting Job Priority
One can inspect job priority using `sprio` command. Job priority is in the field PRIORITY and it is comprised of PARTITION, FAIRSHARE and AGE priorities. One can inspect job priority using `sprio` command. Job priority is in the field PRIORITY and it is comprised of PARTITION, FAIRSHARE and AGE priorities.
...@@ -65,5 +80,6 @@ $ sprio -l -j 894782 ...@@ -65,5 +80,6 @@ $ sprio -l -j 894782
894782 qgpu user1 service 300026688 0 17 0 26671 0 300000000 normal 0 0 894782 qgpu user1 service 300026688 0 17 0 26671 0 300000000 normal 0 0
``` ```
[1]: https://slurm.schedmd.com/priority_multifactor.html
[a]: https://extranet.it4i.cz/rsweb/karolina/queues [a]: https://extranet.it4i.cz/rsweb/karolina/queues
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment