LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Socket, core, threads, CPUs and lscpu (https://www.linuxquestions.org/questions/linux-hardware-18/socket-core-threads-cpus-and-lscpu-4175700605/)

B612 09-14-2021 06:35 AM

Socket, core, threads, CPUs and lscpu
 
Hello

We have a server with this lscpu output

[root@ids]# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
Thread(s) per core: 2
Core(s) per socket: 16
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz


I can see that we have
2 sockets
each socket has 16 cores
So I expected 32 CPUs, but we have 64.

Are the threads are counted as CPUs ?

Thanks

syg00 09-14-2021 06:43 AM

Hardware threads are counted as execution units - sometimes called CPUs or cores. The devil is in the detail.
Do a search on SMT for the gory details.

B612 09-14-2021 06:53 AM

Thanks


All times are GMT -5. The time now is 04:03 PM.