<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><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:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
{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;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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]--></head><body lang=DE link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Okay, thanks for the hint that I should use cgroups.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>With cgroups the behaviour is as expected.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>:)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Max<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>> Il 10/10/20 18:53, Renfro, Michael ha scritto:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> > * Do you want to ensure that one job requesting 9 tasks (and 1 CPU per<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> > task) can’t overstep its reservation and take resources away from<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> > other jobs on those nodes? Cgroups [1] should be able to confine the<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> > job to its 9 CPUs, and even if 8 processes get started at once in<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> > the job, they’ll only drive up the nodes’ load average, and not<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> > affect others’ performance.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> IMHO cgroups is a must-have: each job is guaranteed to receive what it<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> asks for, and no more. If it tries to use more, it just self-contends<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> resources, w/o impacting other jobs.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> Configuring it greatly reduced headaches on our cluster :)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> -- <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> Diego Zuccato<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> DIFA - Dip. di Fisica e Astronomia<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> Servizi Informatici<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> Alma Mater Studiorum - Universitą di Bologna<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>> V.le Berti-Pichat 6/2 - 40127 Bologna - Italy<o:p></o:p></span></p><p class=MsoNormal>> tel.: +39 051 20 95786<o:p></o:p></p></div></body></html>