LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 06-28-2005, 02:24 AM   #1
mlsbraves
Member
 
Registered: Feb 2004
Location: Gulfport, MS
Distribution: Slackware 10.1, Gentoo
Posts: 90

Rep: Reputation: 16
How to find out if my system is i386, i486, or i586? Is there a system info command?


I'm trying out a new disro and I need to choose a subarchitecture for the chost setting. I've searched all over google and can't seem to find anyway to figure it out. I'm installing it on my laptop(IBM T42, Pentium M processor) but not sure which one to choose. I've read that the i386 will work for all but the others are best if it fits your system. Is there any command to print system information about this?

Thanks for your time.
 
Old 06-28-2005, 02:31 AM   #2
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
For the most part it doesn't matter, the speed difference is negligable.

Assuming you're talking about a kernel compile, if you click help (or hit ? in menuconfig) it'll tell you what each architecture covers.

If you're talking about compiling some generic userland app, you most likely want to use pentium4 for the -mcpu/-march setting. If you look in the gcc man page it documents all of the settings that it'll take.
 
Old 06-28-2005, 02:33 AM   #3
juanbobo
Member
 
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Rep: Reputation: 30
I believe the Pentium M is a variant of the Pentium 4, so compile for a Pentium 4. Are i386, i486, and i586 the only options? If so, compile as i586 for optimal performance.

You can type:

uname -a

to show what your system is compiled for now.
 
Old 06-28-2005, 02:46 AM   #4
mlsbraves
Member
 
Registered: Feb 2004
Location: Gulfport, MS
Distribution: Slackware 10.1, Gentoo
Posts: 90

Original Poster
Rep: Reputation: 16
I'm runninng off the gentoo livecd right now trying to configure the compile options. uname -a says its a i686. So I guess I should go with that. I think the pentium M processor was a high mod of the petium III though.. When I was researching this that is what it said. Thanks for the help. I'm guessing i686 is correct.
 
Old 06-28-2005, 02:55 AM   #5
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Rep: Reputation: 15
How to find out if my system is i386, i486, or i586? Is there a system info command?

I don't know if there is a command to display this information but this is a pretty good guide that I found, it appears that the "i" represents Intel. The 386 486 etc represents the processor speed so a i686 build would be "optimized" for a Pentium 4 processor, and i586 should be for a P3. the link below is if you are running AMD processors.
http://lists.suse.com/archive/suse-l...-Apr/0513.html
I would also recommend looking around this site, I would think this site would have a link or two that would take you to the Linux hardware compatibility lists. I also believe there is a site for laptops and Linux although I don't know the URL.
Hope this helps you.
 
Old 02-17-2009, 04:39 PM   #6
turriff
LQ Newbie
 
Registered: Aug 2008
Posts: 3

Rep: Reputation: 0
It looks like cat /proc/cpuinfo might get you what you want. When I do that I get this response for my machine:

processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(TM) XP 2500+
stepping : 0
cpu MHz : 1466.847
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up ts
bogomips : 2936.70
clflush size : 32

I suspect that the cpu family is indicating an i686 processor.

Leslie
 
Old 02-17-2009, 05:08 PM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
x86info -a
will give a LOT of info
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i x86, i386, i486, i586, i686 am confused?!! oldi Linux - Hardware 5 10-04-2006 10:04 AM
System info. command Risc91 AIX 8 03-16-2005 02:00 PM
System info command downinthemine Linux - Software 3 11-29-2003 01:30 PM
ISO Versions---> i386, i486, i586 Which one is for me JDeer0618 Linux - Software 8 10-27-2003 02:52 PM
System Info Command? tenraek Linux - General 1 05-20-2003 05:59 PM


All times are GMT -5. The time now is 03:24 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration