What is socket, core, threads, CPU? [closed]

心不动则不痛 提交于 2019-12-04 14:20:57

问题


I am currently volunteering to learn about linux servers and also I am interested in learning about cluster computing techniques.

In this lab, they have a small cluster with one head node and two compute nodes.

When I tried the lscpu command on head node, compute node1,node2. Click the link to view the details.

CPUs - 24 in head, computenode1 and computenode2. Is it referring to 24 physical CPUs in the motherboard?

Sockets - 2 in head, computenode1 and computenode2.Can anyone explain it?

Cores per socket - 6 in head, computenode1 and computenode2.Can anyone explain it?

Threads per core - 2 in head, computenode1 and computenode2.Can anyone explain it?


回答1:


A socket is the physical socket where the physical CPU capsules are placed. A normal PC only have one socket.

Cores are the number of CPU-cores per CPU capsule. A modern standard CPU for a standard PC usually have two or four cores.

And some CPUs can run more than one parallel thread per CPU-core. Intel (the most common CPU manufacturer for standard PCs) have either one or two threads per core depending on CPU model.

If you multiply the number of socket, cores and threads, i.e. 2*6*2, then you get the number of "CPUs": 24. These aren't real CPUs, but the number of possible parallel threads of execution your system can do.

Just the fact that you have 6 cores is a sign you have a high-end workstation or server computer. The fact that you have two sockets makes it a very high-end computer. Usually not even high-end workstations have that these days, only servers.



来源:https://stackoverflow.com/questions/40163095/what-is-socket-core-threads-cpu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!