Tuesday, March 5, 2013

How to find "Cores per socket" -or- "threads per core" -or- "CPU socket" in Redhat Linux?

Note: This works fine in RHEL 6 and above. (Not sure about previous versions)
# lscpu 
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                16
On-line CPU(s) list:   0-15
Thread(s) per core:    2
Core(s) per socket:    4
CPU socket(s):         2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 26
Stepping:              5
CPU MHz:               2533.876
BogoMIPS:              5065.97
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              8192K
NUMA node0 CPU(s):     0,2,4,6,8,10,12,14
NUMA node1 CPU(s):     1,3,5,7,9,11,13,15

1 comment:

Lingeswaran R said...

Very useful information

Lingeswaran
www.unixarena.com