<html><head></head><body>Have you Seen the slurm FAQ?<br>You may want to search on that site for "Hyperthreading"<br><br>(Sorry for the TOFU. vacation, mobile)<br><br><div class="gmail_quote">Am 30. April 2019 18:07:03 MESZ schrieb Jean-mathieu CHANTREIN <jean-mathieu.chantrein@univ-angers.fr>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div id="zimbraEditorContainer" style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000" class="2"><div>Hello,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Most jobs of my users are single-thread. I have multithreaded processors. The jobs seem to reserve 2 logical CPU (1 core=2 CPU (2 threads)) whereas it only uses 1 logical CPU(1 thread). Nevertheless, my slurm.conf file indicates:<br></div><div><br data-mce-bogus="1"></div><div>[...]<br>SelectType = select / cons_res<br>SelectTypeParameters = CR_CPU<br>FastSchedule = 1<br>[...]<br>NodeName = DEFAULT Boards = 1 SocketsPerBoard = 2 CoresPerSocket = 18 ThreadsPerCore = 2 RealMemory = 128000<br><br>And here is an excerpt from the output of a job running on this type of node:<br>$ scontrol show job idjob<br></div><div>[...]<br data-mce-bogus="1"></div><div>   NumNodes=1 NumCPUs=1 NumTasks=1 CPUs/Task=1 ReqB:S:C:T=0:0:*:*<br>   TRES=cpu=1,mem=200M,node=1,billing=1<br>   Socks/Node=* NtasksPerN:B:S:C=0:0:*:* CoreSpec=*<br>   MinCPUsNode=1 MinMemoryCPU=200M MinTmpDiskNode=0<br>   Features=(null) DelayBoot=00:00:00<br>   OverSubscribe=OK Contiguous=0 Licenses=(null) Network=(null)<br><br data-mce-bogus="1"></div><div>But with <a href="https://github.com/OleHolmNielsen/Slurm_tools/tree/master/pestat" data-mce-href="https://github.com/OleHolmNielsen/Slurm_tools/tree/master/pestat">pestat </a>, I can see my node use 72/72 CPU but have only 36 job running like this one. <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>How should I do so that jobs are allocated to the thread and not to the core ?<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Best regards.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Jean-Mathieu</div><div data-marker="__SIG_PRE__"><div><table style="width: 320px;" cellpadding="3px"><tbody><tr><td width="80px"><br></td><td style="text-align: justify;" width="240px"><br></td></tr></tbody></table></div></div></div></blockquote></div><br>-- <br>Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.</body></html>