<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>You can dynamically modify the weight of nodes with:</p>
<p> scontrol update nodename=<nodename>
weight=<weight></p>
<p>So, in theory, you could do that periodically to adjust the
weights you may want.</p>
<p>Brian Andrus<br>
</p>
<div class="moz-cite-prefix">On 9/15/2022 4:27 PM, Russell Smithies
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:SY4P282MB36169927B4B96DABB02B505DAA499@SY4P282MB3616.AUSP282.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Can I set dynamic or calculated “weights”
for nodes based on server load, memory free, keyboard idle
time etc?
<o:p></o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal">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.
<o:p></o:p></p>
<p class="MsoNormal">I recall that this was possible with Condor
via Requirements in the ClassAd but is there a similar method
for slurm?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Have I overlooked something obvious? Is
this something slurm can do?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanx,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Russell Smithies<o:p></o:p></p>
</div>
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.
<div style="margin: 20px 0px; padding: 10px 0px; font-family:
Verdana, Arial, Helvetica, sans-serif; font-size: 9pt;
border-top-color: black; border-bottom-color: black;
border-top-width: 1px; border-bottom-width: 1px;
border-top-style: solid; border-bottom-style: solid;">This email
has been filtered by SMX. For more information visit <a
href="http://smxemail.com/" moz-do-not-send="true">smxemail.com</a></div>
</blockquote>
</body>
</html>