Solved

Linux (red hat) and cres and threads

Posted on 2014-11-14
5
188 Views
Last Modified: 2014-11-15
I have a machine with Red hat 6.5

How do I verify it is yper threaded

Thanks
0
Comment
Question by:Anthony Lucia
  • 3
  • 2
5 Comments
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 40443279
try this

egrep 'siblings|cpu cores' /proc/cpuinfo | head -2

if siblings is larger than cpu cores, then hyper threading is enabled
0
 

Author Comment

by:Anthony Lucia
ID: 40443332
I just ran the command and got the following

egrep 'siblings|cpu cores' /proc/cpuinfo | head -2
siblings        : 16
cpu cores       : 8

Open in new window


The above command suggest that I have 8 cores, HT

However, my /proc/cpuinfo includes the following at the end of the file

processor       : 31
vendor_id       : GenuineIntel
cpu family      : 6
model           : 45
model name      : Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz
stepping        : 7
cpu MHz         : 2900.165
cache size      : 20480 KB

Open in new window


This suggests I have 16 cores, HT

Which is it?

Thanks
0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 40443348
the E5-2690 is an 8 core processor
the fact that the last entry of cpuinfo shows CPU 31 tells me you have 2 sockets with hyper threading enabled
if hyper threading was off cpuinfo would show only 15 (counting starts at 0, not 1)
0
 

Author Comment

by:Anthony Lucia
ID: 40443814
So if I get you right, I have two sockets, each with 8 cores, with HT

Therefore I have 16 cores total, and 32 threads of execution because HT is enabled

Is this correct?
0
 
LVL 34

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 40443945
correct...it will look like 32 logical processors (0-31) in linux
turn off HT and you will have 16 (0-15)
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now