<div dir="ltr">On my low resource jobs I'm setting the time to 1 hour, and on my large ones I'm setting time=unlimited.<div><br></div><div>Is the unlimited part the problem?  I have that setting because in my cluster there are some machines that come in and out during the day via reservations, and I want to keep these larger jobs from running on those machines.</div><div><br></div><div><br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 1, 2019 at 10:56 AM Burian, John <<a href="mailto:John.Burian@nationwidechildrens.org">John.Burian@nationwidechildrens.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">







<div bgcolor="white" lang="EN-US">
<div class="gmail-m_7181296384509958565WordSection1">
<p class="MsoNormal">Are you setting realistic job run times (sbatch –t <time>)?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Slurm won’t backfill low priority jobs (with low resource requirements) in front of a high priority job (blocked waiting on high resource requirements) if it thinks the low priority jobs will delay the eventual start of the high priority
 job. If all jobs are submitted with the same job run time, then Slurm will never backfill, because as far as Slurm knows, the low priority jobs will take longer to finish than just waiting for the current running jobs to finish.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">John<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12pt;color:black">From: </span></b><span style="font-size:12pt;color:black">slurm-users <<a href="mailto:slurm-users-bounces@lists.schedmd.com" target="_blank">slurm-users-bounces@lists.schedmd.com</a>> on behalf of c b <<a href="mailto:breedthoughts.www@gmail.com" target="_blank">breedthoughts.www@gmail.com</a>><br>
<b>Reply-To: </b>Slurm User Community List <<a href="mailto:slurm-users@lists.schedmd.com" target="_blank">slurm-users@lists.schedmd.com</a>><br>
<b>Date: </b>Friday, November 1, 2019 at 10:30 AM<br>
<b>To: </b>"<a href="mailto:slurm-users@lists.schedmd.com" target="_blank">slurm-users@lists.schedmd.com</a>" <<a href="mailto:slurm-users@lists.schedmd.com" target="_blank">slurm-users@lists.schedmd.com</a>><br>
<b>Subject: </b>[slurm-users] job priority keeping resources from being used?<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<table border="0" cellpadding="0" width="99%" style="width:99%">
<tbody>
<tr>
<td style="background:rgb(57,74,88);padding:0.75pt">
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12pt;color:white">[WARNING: External Email - Use Caution]</span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Hi, <u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Apologies for the weird subject line...I don't know how else to describe what I'm seeing.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Suppose my cluster has machines with 8 cores each.  I have many large high priority jobs that each require 6 cores, so each machine in my cluster runs one of each of these jobs at a time.  However, I also have lots of small jobs that each
 require one core, and these jobs have low priority so in my queue they are behind all my large jobs.  <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">In theory, these small jobs could slip in and run alongside the large jobs, but I'm not seeing that happen.  So my machines have two cores sitting idle when they could be doing work.  How do I configure slurm to run these jobs better?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">thanks for any help.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>

</blockquote></div>