[slurm-users] Only one socket for SLURM
Carlos Fenoy
minibit at gmail.com
Fri Feb 22 14:00:39 UTC 2019
Hola GestiĆ³,
You can have a look at: https://slurm.schedmd.com/core_spec.html and the
"CoreSpecCount" or "CpuSpecList" of the slurm.conf file.
Regards,
Carlos
On Fri, Feb 22, 2019 at 6:50 AM Chris Samuel <chris at csamuel.org> wrote:
> On Thursday, 21 February 2019 1:00:52 PM PST Sam Hawarden wrote:
>
> > Linux assigns numbers to your CPUs. 0-15 will be socket 1, thread 1.
> 16-31
> > are socket 2, thread 1, 32-47 are socket 1, thread 2. 48-63 are socket 2,
> > thread 2.
>
> This isn't strictly true, for x86 for instance the kernel will read
> firmware
> tables to discover how the vendor has assigned the core numbering.
>
> This means it can vary from vendor to vendor and model to model plus it
> can
> potentially change on a firmware upgrade, just to make life even more
> exciting.
>
> This is why hwloc (and its predecessors) exist, to give a sane interface
> and
> default logical layout. Slurm uses a similar system that results in
> something
> that looks very similar, so to Slurm CPU 0 is socket 1, core 1, thread 1
> and
> CPU 2 is socket 1, core 1, thread 2, etc...
>
> All the best,
> Chris
> --
> Chris Samuel : http://www.csamuel.org/ : Berkeley, CA, USA
>
>
>
>
>
--
--
Carles Fenoy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20190222/eab5aeb8/attachment.html>
More information about the slurm-users
mailing list