Thursday, August 4, 2016

How to check number of cpu cores ,sockets, threads in a linux server




[root@linuxThrill ~]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                96
On-line CPU(s) list:   0-95
Thread(s) per core:    2
Core(s) per socket:    12
Socket(s):             4
NUMA node(s):          4
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Stepping:              4
CPU MHz:               2094.895
BogoMIPS:              4189.42
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              30720K
NUMA node0 CPU(s):     0-11,48-59
NUMA node1 CPU(s):     12-23,60-71
NUMA node2 CPU(s):     24-35,72-83
NUMA node3 CPU(s):     36-47,84-95
[root@dh-location-analytics1 ~]#  dmidecode -t processor | grep -i cpu
Version: Intel(R) Xeon(R) CPU E7-4830 v3 @ 2.10GHz
Version: Intel(R) Xeon(R) CPU E7-4830 v3 @ 2.10GHz
Version: Intel(R) Xeon(R) CPU E7-4830 v3 @ 2.10GHz
Version: Intel(R) Xeon(R) CPU E7-4830 v3 @ 2.10GHz

No of Sockets : 4
Core per socket: 12
Theards per core : 2
After enabling Hyper threads : 96.

No comments:

Post a Comment