[slurm-users] Slurm configuration, Weight Parameter

Sistemas NLHPC sistemas at nlhpc.cl
Thu Nov 21 15:25:01 UTC 2019


Hi all,

Currently we have two types of nodes, one with 3GB and another with 2GB of
RAM, it is required that in nodes of 3 GB it is not allowed to execute
tasks with less than 2GB, to avoid underutilization of resources.

This, because we have nodes that can fulfill the condition of executing
tasks with 2GB or less.

I try in the nodes configuration with the option "Weight".I send multiples
jobs but slurm not asigned by "Weight", it's arbitrary in the order how
send jobs. Some configuration and logs:

slurm.conf

NodeName=DEFAULT RealMemory=3007 Features=3007MB Weight=500 State=idle
Sockets=2 CoresPerSocket=1
NodeName=devcn050

NodeName=DEFAULT RealMemory=3007 Features=3007MB Weight=100 State=idle
Sockets=2 CoresPerSocket=1
NodeName=devcn002

NodeName=DEFAULT RealMemory=2000 Features=2000MB Weight=1 State=idle
Sockets=2 CoresPerSocket=1
NodeName=devcn001

Extra information, I see that slurm assing Weight in the node.

# sinfo -N -l

NODELIST   NODES PARTITION       STATE CPUS    S:C:T MEMORY TMP_DISK WEIGHT
AVAIL_FE REASON
devcn001       1              slims*               idle       2
2:1:1   2000           0                1             2000MB    none

devcn002       1              slims*               idle       2
2:1:1   3007           0             100            3007MB    none

devcn050       1              slims*               idle       2
2:1:1   3007           0             500            3007MB    none

I test other settings, such as the TRESWeigths parameter with no results,
for example:

NodeName=devcn001 TRESWeights="CPU=2.0,Mem=2000MB"

Too PriorityType=priority/multifactor plugin is also activated and
deactivated to test, but in all these cases it does not work.

Thanks in advance.

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20191121/cedec699/attachment.htm>


More information about the slurm-users mailing list