<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
I found a thread about this topic that's a year old and at that time seemed to give no hope, I'm just wondering if the situation has changed. My testing so far isn't encouraging.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
In the thread (here: <a href="https://groups.google.com/g/slurm-users/c/yhnSVBoohik" id="LPlnk820062">https://groups.google.com/g/slurm-users/c/yhnSVBoohik</a>) it talks about wanting to give lower priority jobs some amount of guaranteed run time. That's what
we're trying to do. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
Over global settings are PreemptMode=SUSPEND,GANG and PreemptType=preempt/partition_prio. We have a high priority partition that nothing should ever preempt, and an open partition that is always preemptable. In between is a burst partition. It can be preempted
if the high priority partition needs the resources. That's the partition we'd like to guarantee a 1 hour run time on. Looking at the sacctmgr man page, it gives this info on QOS:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0 ContentPasted1 ContentPasted2">
PreemptExemptTime
<div class="ContentPasted2 elementToProof"> Specifies a minimum run time for jobs of this QOS before they are considered for preemption. This QOS option takes precedence over the global PreemptExemptTime. This is only<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"> honored
for PreemptMode=REQUEUE and PreemptMode=CANCEL.</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">This sounds like exactly what we want. So I went into the burst QOS we have available on the burst partition and I set a preemptExemptTime
of 30 seconds and a preemptMode of cancel, and tested. Whenever something of a higher priority came along, my job was immediately cancelled, no exempt time was utliized.</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Am I not understanding how this is supposed to work, or am I asking for an impossible slurm configuration?</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Thanks,</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Rob</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
<div class="ContentPasted2 elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"><br>
</span></div>
</div>
</body>
</html>