Solved

Linux (red hat) and cres and threads

Posted on 2014-11-14
5
191 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apache timeout remote connection if not port 80 10 72
How to clone solaris 10 machine 33 111
Is this bug still active in RHEL 2 49
Hacked File Timestamps 4 49
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

911 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

21 Experts available now in Live!

Get 1:1 Help Now