LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2010, 05:37 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
CPU Information on Linux?


What is the command to find out what CPU architecture the Linux Box holds out of following:

Code:
Platform        Micro-architecture
-----------------------------------
Intel VT	Intel Core / Merom
Intel + EPT 	Intel Nehalam
AMD         	AMD Rev E / F
AMD + NPT       AMD Barcelona / Shanghai
 
Old 04-08-2010, 05:49 AM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,374

Rep: Reputation: 240Reputation: 240Reputation: 240
TRY:

Quote:
uname -a
or
arch -k
 
Old 04-08-2010, 05:56 AM   #3
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
arch -k reports x86_64
Same does uname shows.

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
stepping : 5
cpu MHz : 2266.841
cache size : 8192 KB
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 4533.68
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: [8]

# arch -k
x86_64
#

How does one know it falls under which category.

Last edited by linuxunix; 04-08-2010 at 05:58 AM.
 
Old 04-08-2010, 06:44 AM   #4
devnull10
Member
 
Registered: Jan 2010
Location: Lancashire
Distribution: Slackware Stable
Posts: 553

Rep: Reputation: 116Reputation: 116
Does /proc/cpuinfo not show it?
 
Old 04-08-2010, 07:39 AM   #5
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
The above output is of /proc/cpuinfo.
 
Old 04-08-2010, 08:38 AM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190Reputation: 1190
Quote:
Originally Posted by linuxunix View Post
What is the command to find out what CPU architecture the Linux Box holds out of following:
Since we're used to "architecture" meaning something else (for which X86_64 was your answer), it wasn't initially obvious we should focus on "out of the following".

I don't know of any Linux program to directly give you that answer.

/proc/cpuinfo and several other programs can tell you the exact CPU model, which is E5520.

Then you could manually find the E5520 spec on the Intel site:
http://ark.intel.com/Product.aspx?id=40200
On that page is a link that says "Formerly Nehalem-EP"

I'm not sure what they mean by "formerly". But it does seem to answer your microarchitecture question, saying.
Code:
 Nehalem-EP is part of the family of 45nm processors based on Intel microarchitecture codename Nehalem

Last edited by johnsfine; 04-08-2010 at 08:39 AM.
 
Old 04-09-2010, 01:20 AM   #7
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
Thats Really Correct.
I enquired with vendor and thats the answer.
Hope we could find it through commands too.
 
Old 04-09-2010, 01:31 AM   #8
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18
Trty dmidecode this will give you Architecture, manufacturer and lot detailed information...

Thnx,
PKhera
 
Old 04-09-2010, 01:55 AM   #9
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
dmidecode| grep Intel
Manufacturer: Intel
Version: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
Manufacturer: Intel
Version: Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
Still no Information regarding EPT or AMD EPT?
 
Old 04-09-2010, 02:03 AM   #10
rhadmn
Member
 
Registered: Oct 2009
Location: Bangalore
Distribution: Redhat Linux, Solaris, CentOS
Posts: 34

Rep: Reputation: 1
The Below Command can be used to find CPU architecture details.

$ cat /proc/cpuinfo |grep -i "model name"
model name : Intel(R) Xeon(TM) CPU 3.20GHz
model name : Intel(R) Xeon(TM) CPU 3.20GHz
model name : Intel(R) Xeon(TM) CPU 3.20GHz
model name : Intel(R) Xeon(TM) CPU 3.20GHz
$

Regards,
Rhadmn
 
Old 04-09-2010, 02:12 AM   #11
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
But how can we fetch information from E5520 ..
For that we need to visit the Intel Link.
 
Old 04-09-2010, 04:21 AM   #12
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by linuxunix View Post
But how can we fetch information from E5520 ..
For that we need to visit the Intel Link.
Indeed we do and, if we persist with ingenuity and luck, we may find the E5520 features VT. Alternatively and less painfully we could look on Wikipedia's Xeon page and find that VT was introduced with the 5300 series Xeons.

So VT looks good but what about EPT?

Wikipedia also has useful background on x86 processor virtualization in general and on Extended Page Table (EPT) in particular where it usefully says "Intel states that the feature is available in all their Nehalem-based CPUs with virtualization support; namely in Core i7, Core i5, Core i3, Pentium G6950 and appropriate Xeons. It is not available in Core 2-based and earlier Intel CPUs". Wikipedia's page on Nehalem processors lists the E5520 so it does seem that the E5520 supports both VT and EPT. Looking for confirmation, if we dig deep enough into Intel's marketing maze, we find at last the grail: Intel® Xeon® Processor 5500 Series Product Brief where, nestling on page 10 is the unambigous statement to answer the question: yes -- the Intel Xeon E5500 series does have EPT.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to get cpu information on Linux machine laxmi_cs Programming 41 03-05-2013 03:55 AM
LXer: Getting CPU Information From Various Flavours Of Linux And Unix LXer Syndicated Linux News 0 11-13-2008 11:30 AM
How to find out the CPU and OS information on linux? yupeng Linux - General 3 05-26-2008 12:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration