[slurm-users] slurm node weights

Marcus Boden mboden at gwdg.de
Thu Sep 5 16:21:43 UTC 2019

Hello Doug,

tp quote the slurm.conf page:
It would be preferable to allocate smaller memory nodes rather than
larger memory nodes if either will satisfy a job's requirements.

So I guess the idea is, that if a smaller node satisfies all
requirements, why 'waste' a bigger one for it? It makes sense for
memory, though I agree that it is counterintuitive for preocessors.


On 19-09-05 15:48, Douglas Duckworth wrote:
> Hello
> We added some newer Epyc nodes, with NVMe scratch, to our cluster and so want jobs to run on these over others.  So we added "Weight=100" to the older nodes and left the new ones blank.  So indeed, ceteris paribus, srun reveals that the faster nodes will accept jobs over older ones.
> We have the desired outcome though I am a bit confused by two statements in the manpage<https://slurm.schedmd.com/slurm.conf.html> that seem to be contradictory:
> "All things being equal, jobs will be allocated the nodes with the lowest weight which satisfies their requirements."
> "...larger weights should be assigned to nodes with more processors, memory, disk space, higher processor speed, etc."
> 100 is larger than 1 and we do see jobs preferring the new nodes which have the default weight of 1.  Yet we're also told to assign larger weights to faster nodes?
> Thanks!
> Doug
> --
> Thanks,
> Douglas Duckworth, MSc, LFCS
> HPC System Administrator
> Scientific Computing Unit<https://scu.med.cornell.edu/>
> Weill Cornell Medicine"
> E: doug at med.cornell.edu
> O: 212-746-6305
> F: 212-746-8690

Marcus Vincent Boden, M.Sc.
Arbeitsgruppe eScience
Tel.:   +49 (0)551 201-2191
E-Mail: mboden at gwdg.de
Gesellschaft fuer wissenschaftliche
Datenverarbeitung mbH Goettingen (GWDG)
Am Fassberg 11, 37077 Goettingen
URL:    http://www.gwdg.de
E-Mail: gwdg at gwdg.de
Tel.:   +49 (0)551 201-1510
Fax:    +49 (0)551 201-2150
Geschaeftsfuehrer: Prof. Dr. Ramin Yahyapour
Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Goettingen
Registergericht: Goettingen
Handelsregister-Nr. B 598
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5028 bytes
Desc: not available
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190905/312009d5/attachment.bin>

More information about the slurm-users mailing list