This page has not been updated yet. The page does not reflect the transition from PBS to Slurm.
# Job Scheduling
# Job Scheduling
## Job Execution Priority
## Job Execution Priority
...
@@ -27,27 +24,11 @@ Fair-share priority is calculated based on recent usage of resources. Fair-share
...
@@ -27,27 +24,11 @@ Fair-share priority is calculated based on recent usage of resources. Fair-share
Fair-share priority is used for ranking jobs with equal queue priority.
Fair-share priority is used for ranking jobs with equal queue priority.
Fair-share priority is calculated as:
Usage decays, halving at intervals of 7 days (one week).
---8<--- "fairshare_formula.md"
where MAX_FAIRSHARE has the value of 1E6
usage<sub>Project</sub> is the usage accumulated by all members of a selected project
usage<sub>Total</sub> is the total usage by all users, across all projects.
Usage counts allocated node-hours (`ncpus x walltime`). Usage decays, halving at intervals of 168 hours (one week).
Jobs queued in the queue qexp are not used to calculate the project's usage.
!!! note
Calculated usage and fair-share priority can be seen [here][b].
Calculated fair-share priority can also be seen in the Resource_List.fairshare attribute of a job.
### Eligible Time
### Eligible Time
Eligible time is the amount of eligible time (in seconds) a job accrues while waiting to run. Jobs with higher eligible time gain higher priority.
Eligible time is the amount of eligible time a job accrues while waiting to run. Jobs with higher eligible time gain higher priority.
Eligible time has the least impact on execution priority. Eligible time is used for sorting jobs with equal queue priority and fair-share priority. It is very, very difficult for eligible time to compete with fair-share priority.
Eligible time has the least impact on execution priority. Eligible time is used for sorting jobs with equal queue priority and fair-share priority. It is very, very difficult for eligible time to compete with fair-share priority.
...
@@ -76,11 +57,7 @@ Specifying more accurate walltime enables better scheduling, better execution ti
...
@@ -76,11 +57,7 @@ Specifying more accurate walltime enables better scheduling, better execution ti
---8<--- "mathjax.md"
---8<--- "mathjax.md"
### Job Placement
Job [placement can be controlled by flags during submission][1].