[slurm-users] Give priority to specific server

Zohar Roe MLM RZohar8 at iai.co.il
Sun Jul 14 10:28:33 UTC 2019


Hi Sean,

Great, Thanks for the answer. Looks like it exactly what I needed.

No need to play a little with the values to see how to fine tune it.

Thank!!

Roy

From: slurm-users [mailto:slurm-users-bounces at lists.schedmd.com] On Behalf Of Sean Crosby
Sent: Sunday, July 14, 2019 12:38 PM
To: Slurm User Community List
Subject: * POSSIBLY SPOOFED * אפשרות לשולח מתחזה * Re: [slurm-users] Give priority to specific server

What you're looking for is Weight - https://slurm.schedmd.com/slurm.conf.html

Weight
The priority of the node for scheduling purposes. All things being equal, jobs will be allocated the nodes with the lowest weight which satisfies their requirements. For example, a heterogeneous collection of nodes might be placed into a single partition for greater system utilization, responsiveness and capability. It would be preferable to allocate smaller memory nodes rather than larger memory nodes if either will satisfy a job's requirements. The units of weight are arbitrary, but larger weights should be assigned to nodes with more processors, memory, disk space, higher processor speed, etc. Note that if a job allocation request can not be satisfied using the nodes with the lowest weight, the set of nodes with the next lowest weight is added to the set of nodes under consideration for use (repeat as needed for higher weight values). If you absolutely want to minimize the number of higher weight nodes allocated to a job (at a cost of higher scheduling overhead), give each node a distinct Weight value and they will be added to the pool of nodes being considered for scheduling individually. The default value is 1.

Add Weight=1000 to the serv1 line, and serv2 should be given the job first.

Sean

--
Sean Crosby
Senior DevOpsHPC Engineer and HPC Team Lead | Research Platform Services
Research Computing | CoEPP | School of Physics
University of Melbourne


On Sun, 14 Jul 2019 at 18:41, Zohar Roe MLM <RZohar8 at iai.co.il<mailto:RZohar8 at iai.co.il>> wrote:
Hello,

I am having two servers in my slurm.conf:
NodeName=serv1 NodeAddr=131.100.100.1 CPUs=4 RealMemory=256000 Features=test,workserv
NodeName=serv2 NodeAddr=131.100.100.2 CPUs=4 RealMemory=256000 Features=test,workserv

When I am sending a job with features "test", The server "serv1" always get the first job (even if I change to order in the slurm.conf).

Is there a way to give priority to "serv2" to be the first one who get a job?

Thanks,
Roy.




*********************************************************************************************** Please consider the environment before printing this email ! The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. Visit us at: www.iai.co.il<http://www.iai.co.il>




Default Profile 61
*********************************************************************************************** Please consider the environment before printing this email ! The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. Visit us at: www.iai.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190714/fbb03587/attachment.htm>


More information about the slurm-users mailing list