Solved

Linux (red hat) and cres and threads

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

828 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