[slurm-users] Can I set dynamic weighting for nodes?

Russell Smithies Russell.Smithies at esr.cri.nz
Sun Sep 18 21:43:54 UTC 2022


That's a great idea Brian, I'll give it a go  😊

--Russell

---------------

Message: 3
Date: Thu, 15 Sep 2022 17:06:26 -0700
From: Brian Andrus <toomuchit at gmail.com>
To: slurm-users at lists.schedmd.com
Subject: Re: [slurm-users] Can I set dynamic weighting for nodes?
Message-ID: <129a545f-c48c-0b81-46c3-4eb2f2cb21d7 at gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

You can dynamically modify the weight of nodes with:

 ??? scontrol update nodename=<nodename> weight=<weight>

So, in theory, you could do that periodically to adjust the weights you may want.

Brian Andrus

On 9/15/2022 4:27 PM, Russell Smithies wrote:
>
> Can I set dynamic or calculated ??weights? for nodes based on server
> load, memory free, keyboard idle time etc?
>
> The reason I want to do this is sometimes servers are busy running
> non-slurm jobs so load can be high, and in this case I don?t want them
> to accept slurm tasks.
>
> Also (I think) if no weights are set then nodes appear to be assigned
> ?alphabetically?? i.e. node_1 seems to do most of the work even if
> it?s older and slower.
>
> I recall that this was possible with Condor via Requirements in the
> ClassAd but is there a similar method for slurm?
>
> Have I overlooked something obvious? Is this something slurm can do?
>
> Thanx,
>
> Russell Smithies
The information contained in this message and/or attachments from ESR is intended solely for the addressee and may contain confidential and/or privileged material. If you are not the intended recipient, any review, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited by ESR. If you have received this message in error, please notify the sender immediately.

______________________________________________________________________________

This email has been filtered by SMX.
For more information visit http://smxemail.com
______________________________________________________________________________


More information about the slurm-users mailing list