LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-12-2011, 07:58 AM   #1
punchy71
Member
 
Registered: Dec 2011
Posts: 160

Rep: Reputation: Disabled
Which processor architectures do I have?


Hi all,
I need help determining which processor architectures I own so I can download the appropriate Linux distributions for each of them. I'm fairly sure I have all 64-bit processors (I think), but I'm not sure which architecture they are (i686, x86 or something else). The first pc has an Intel Celeron 420 1.60 GHz, the second one is an AMD Athlon II Dual-Core M300 2.00 GHz, and the last one is an Intel Pentium Dual core E2180 at 2.00 GHz.

Thank you
 
Old 12-12-2011, 08:18 AM   #2
stuart_m
LQ Newbie
 
Registered: Oct 2010
Location: Glasgow, UK
Distribution: Fedora
Posts: 14

Rep: Reputation: 1
I've been using Linux for a while now and I still keep forgetting how to do this, so I have a handy page bookmarked:

http://www.howtogeek.com/howto/24842...linux-answers/

Basically, start a terminal window & type in:

Quote:
uname -m
The link above tells you how to interpret the results.
 
Old 12-12-2011, 08:23 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,478

Rep: Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020
...and if you want all details about all your hardware, use lshw.

If it's not on your system(s), the source code is found at http://ezix.org/project/wiki/HardwareLiSter.

Hope this helps some.
 
Old 12-12-2011, 08:32 AM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by punchy71 View Post
I'm fairly sure I have all 64-bit processors (I think), but I'm not sure which architecture they are (i686, x86 or something else).
All the 64 bit processors in the Intel/AMD x86 family support the same two different architectures (each processor supports both these architectures):

They all support a 64 bit architecture, which has various names: x86-64, AMD64, EM64T. When downloading software, it doesn't matter which of those is named, they all refer to the same architecture.

They all support a superset of the various 32 bit x86 architectures, such as i686. When downloading software, you might want to select software compiled for the more advanced 32 bit architecture (i686 vs. i486). But any 32 bit architecture software works with any x86-64 CPU. The choice of which 32 bit software you use should not be influenced by which 64 bit CPU you use it on.

For extremes of squeezing the last spec of performance in a CPU specific manner, you might consider the L2 cache size for each CPU (you can look those up online). With a relatively low L2 cache size, many applications run fastest if you have installed a 32bit application on a 64bit OS (below 2GB physical ram, they might be a bit faster on a 32 bit OS). With higher L2 cache size, a lot of that performance difference goes away and those applications run just as fast pure 64 bit. Many other applications simply run faster in 64 bit regardless of all those hardware details, so first you need to distinguish those before you start micro managing the details by L2 cache size. I only included that L2 cache info because you seem intent on distinguishing between your CPU chips for optimum software choices.

If you do want to try installing 32 bit applications in 64 bit Linux (for performance comparison and/or general use), that is possible in both Debian based distributions such as Ubuntu and in Red Hat based distributions such as Centos or Fedora. But it is significantly easier in Red Hat based distributions than in Debian based. The 32 bit apps will run just as well once properly installed in Debian based, but the effort to get them properly installed may be much greater.

When choosing between a 32 bit and 64 bit OS, be aware that a 64 bit OS can run both 32 bit and 64 bit programs, while a 32 bit OS cannot run 64 bit programs. Also be aware, there is a moderate amount of extra overhead in both physical ram and hard disk space to running a 64 bit OS vs. 32 bit. If you have decent size ram and disk that extra overhead is too trivial to worry about. With small ram or small disk that overhead might be a big enough fraction of the total to affect your decision. With 2GB or more of ram, I wouldn't worry about the ram aspect of that (even with less than 2GB, I might still select 64 bit). I don't know a similar number for disk size (there are too many other factors) but I wouldn't buy a disk under 500GB anyway and whatever the 32/64 don't care point is for disk size, I'm sure it is FAR below 500GB.

Last edited by johnsfine; 12-12-2011 at 08:52 AM.
 
Old 12-12-2011, 09:01 AM   #5
shridhar005
Member
 
Registered: Jul 2008
Posts: 90

Rep: Reputation: 17
you can execute command
Quote:
uname -a
Above will tell you all information about the platform and arch also version of kernel.

If find useful do not forget to mark the thread as "solved" by clicking at "thread tools->mark as solved"
 
Old 12-12-2011, 09:20 AM   #6
alienDog
Member
 
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505

Rep: Reputation: 46
How is the OP going to run uname or lshw on his machine if it's not currently running Linux?

Last edited by alienDog; 12-12-2011 at 09:26 AM.
 
Old 12-12-2011, 10:58 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by alienDog View Post
How is the OP going to run uname or lshw on his machine if it's not currently running Linux?
Exactly.
Could try SIW on Windows:
http://www.gtopala.com/
 
Old 12-12-2011, 01:20 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
The most reliable way to determine that would be to ask the manufacturer, I would think:
Intel Celeron 420
Pentium Dual core E2180
AMD Athlon II Dual-Core M300

All of those are processors which use the IA32 instruction set (also known as x86) and can use 64 bit extensions (EM64T for Intel, AMD64 for AMD, also known as x86-64 and, rarely, x64).

Last edited by TobiSGD; 12-12-2011 at 01:31 PM.
 
Old 12-12-2011, 07:42 PM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by alienDog View Post
How is the OP going to run uname or lshw on his machine if it's not currently running Linux?
(There is always a danger that the OP could download a live CD for just this purpose...not necessarily a ridiculous suggestion, if the OP is in a 'distro hopping' phase)

...and its worse than that, in that the 'unames' give you the wrong answer: they answer the question 'What version of the Linux kernel am I running?, or 'For what arch is the kernel in the software that I am running compiled?', when the OP wants to know about the capabilities of the hardware, and not the software that is currently running. So, really, they give a correct answer to the wrong question, but that can still be enough to deceive.

So, for 64 bit x86 hardware (the commonest case, for any recent machine), the hardware is also capable of running 32 bit software, so the 'uname' answer could point towards 32 bit, when the element of the answer that is desired is that this hardware can run 64 bit software (and 32 bit, obviously).

The same isn't true in reverse for older hardware, that was 32 bit only, but it sounds as if the OP doesn't have that.
 
  


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
processor architectures? slinky2004 Linux - Hardware 5 09-03-2009 11:00 AM
architectures... ? Pytheas Linux - Newbie 5 09-13-2008 02:01 AM
CPU architectures bobbens Linux - Hardware 2 02-09-2005 10:52 AM
Need a list of architectures kamransoomro84 General 6 10-14-2004 06:21 PM
architectures rcerrillo Linux - Hardware 2 03-07-2004 11:02 AM


All times are GMT -5. The time now is 12:50 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