I am a bit confused about the number of CPUs my server has.
It is running on Intel(R) Xeon(R) Gold 6242R CPU @ 3.10GHz
which according to official Intel docs contains 20 physical cores.
The problem here is the output of lscpu
command (some rows filtered):
CPU(s): 80
On-line CPU(s) list: 0-79
Thread(s) per core: 2
Core(s) per socket: 20
Socket(s): 2
NUMA node(s): 2
Model name: Intel(R) Xeon(R) Gold 6242R CPU @ 3.10GHz
NUMA node0 CPU(s): 0-19,40-59
NUMA node1 CPU(s): 20-39,60-79
From what I understand actual physical cores = CPU(s) / thread(s) per core
but then I get 40 which is double of what I expect.
Can someone please explain me what is going on here and what exactly CPU(s), thread(s) per core, core(s) per socket, socet(s)
mean?