[slurm-users] How should I do so that jobs are allocated to the thread and not to the core ?

Benjamin Redling benjamin.rampe at uni-jena.de
Thu May 2 10:48:37 UTC 2019


Have you Seen the slurm FAQ?
You may want to search on that site for "Hyperthreading"

(Sorry for the TOFU. vacation, mobile)

Am 30. April 2019 18:07:03 MESZ schrieb Jean-mathieu CHANTREIN <jean-mathieu.chantrein at univ-angers.fr>:
>Hello, 
>
>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: 
>
>[...] 
>SelectType = select / cons_res 
>SelectTypeParameters = CR_CPU 
>FastSchedule = 1 
>[...] 
>NodeName = DEFAULT Boards = 1 SocketsPerBoard = 2 CoresPerSocket = 18
>ThreadsPerCore = 2 RealMemory = 128000 
>
>And here is an excerpt from the output of a job running on this type of
>node: 
>$ scontrol show job idjob 
>[...] 
>NumNodes=1 NumCPUs=1 NumTasks=1 CPUs/Task=1 ReqB:S:C:T=0:0:*:* 
>TRES=cpu=1,mem=200M,node=1,billing=1 
>Socks/Node=* NtasksPerN:B:S:C=0:0:*:* CoreSpec=* 
>MinCPUsNode=1 MinMemoryCPU=200M MinTmpDiskNode=0 
>Features=(null) DelayBoot=00:00:00 
>OverSubscribe=OK Contiguous=0 Licenses=(null) Network=(null) 
>
>But with [
>https://github.com/OleHolmNielsen/Slurm_tools/tree/master/pestat |
>pestat  ] , I can see my node use 72/72 CPU but have only 36 job
>running like this one. 
>
>How should I do so that jobs are allocated to the thread and not to the
>core ? 
>
>Best regards. 
>
>Jean-Mathieu 
>
>	

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190502/3912bdae/attachment.html>


More information about the slurm-users mailing list