<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>There are numerous ways to get this functionality.</p>
<p>The simplest is probably to just have a separate partition that
will only allow job times of 1 hour or less.</p>
<p>There are also options that would involve preemption of the
longer jobs so the quicker ones could run, priorities, etc.</p>
<p>It all depends on what best suits the specific needs.</p>
<p>Brian Andrus<br>
</p>
<div class="moz-cite-prefix">On 12/16/2019 2:29 PM, Ransom, Geoffrey
M. wrote:<br>
</div>
<blockquote type="cite"
cite="mid:b9f3c4af318e4b4b85458879b610faa4@APLEX03.dom1.jhuapl.edu">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
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;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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"><o:p> </o:p></p>
<p class="MsoNormal">Hello<o:p></o:p></p>
<p class="MsoNormal"> I am looking into switching from Univa
(sge) to slurm and am figuring out how to implement some of
our usage policy in slurm.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We have a Univa queue which uses job
classes and RQSes to limit jobs with a run time over 4 hours
to only half the available slots (CPU cores) so some slots are
always free for quick jobs. We don’t want all of our resources
tied up with multiweek jobs when someone has a batch of 1 hour
jobs to run.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there a way to implement this in slurm?
To have a partition which will hold some CPU/GPU resources
aside for jobs with a short runtime.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What would be the preferred solution for
this issue in a slurm world?<o:p></o:p></p>
</div>
</blockquote>
</body>
</html>