using-qos
QoS (Quality of Service)​
We have implemented Quality of Service (QoS) for MonARCH.
The QoS can be added to each job that is submitted to Slurm. The quality of service associated with a job will affect the job in three ways:
- Job Scheduling Priority
- Job Preemption
- Job Limits
important
All users currently have a default QOS assigned to them. There is no need to specify it in normal usage. Users may be asked to add a QOS field for specific reason, i.e. they belong to a partner share.
To view the current list of all QOSs and their current values, run the following command.
mon_qos
How to use the QOS value​
To add a QOS place this in your SBATCH script, you add a line like this in your SLURM submission script.
#SBATCH --qos=normal
An example Slurm job script​
#!/bin/bash
#SBATCH --job-name=MyJob
#SBATCH --qos=partner
#SBATCH --ntasks=2
module load openmpi/1.10.7-mlx
mpirun <program>