Inhaltsverzeichnis
Memory Limits
Type of Memory Limits
- Resident memory (RSS): amount real memory in use by process
- Virtual memory (VMem): amount of virtual memory pages allocated by process
- In the current cluster setup, only the limit for the real memory has to be taken into consideration for jobs (by parameter <html>–mem</html>).
Properly setting Memory Limits
- The demands of your jobs for real memory (RSS) have to be carefully probed (e. g. doing test runs or or by experience ) and defined.
- If possible, please declare memory limits within the main input (control) file of your job (e. g. <html> Gaussian knows about the parameter %mem=</span></html>).
- SLURM defines a proportional factor between RSS and Vmem:
VSizeFactor*RSS = VMem
. - VMem limit (VSizeFactor=0) has not to be taken into consideration.
RSS limit:RSS = VMem limit
/$(scontrol show config|grep VSizeFactor|awk '{print $3;}')
and then passing via switch–mem=
to sbatch.
date of revision: 06-24-2019 © kraus