LinuxQuestions.org
Visit Jeremy's Blog.
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 02-21-2008, 11:35 PM   #1
Ejdaha
Member
 
Registered: Jan 2007
Posts: 39

Rep: Reputation: 15
Linux x86 and (64bit)


Hi all
I have basic question about:

1. What is Linux x86
2. What does (64 bit) mean and how can I identify my server is 64bit or not?

Thanks ...

Last edited by Ejdaha; 02-21-2008 at 11:42 PM.
 
Old 02-21-2008, 11:41 PM   #2
taxtropel
Member
 
Registered: Mar 2005
Location: Cascade Mountains WA USA
Distribution: Linux From Scratch (LFS)
Posts: 149

Rep: Reputation: 16
x86 = 32 bit
x86-64 = 64 bit

if you have an AMD 64 bit processor then you want to use a 64 bit linux (x86-64)
otherwise just an x86 flavor
 
Old 02-22-2008, 12:21 AM   #3
Ejdaha
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by taxtropel View Post
x86 = 32 bit
x86-64 = 64 bit

if you have an AMD 64 bit processor then you want to use a 64 bit linux (x86-64)
otherwise just an x86 flavor
Thanks...
But I have another question :
I want to identify my servers bit Where I must look for it? Or which command I must use to identify first :
1. My servers processor type
2. My installed Linux versoin with processor (am I installed 32 bit or 64 bit)

Thanksss
 
Old 02-22-2008, 12:42 AM   #4
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
type uname -m to get your servers processer type
 
Old 02-22-2008, 12:52 AM   #5
Ejdaha
Member
 
Registered: Jan 2007
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by AceofSpades19 View Post
type uname -m to get your servers processer type
Yes
I typed uname -m and it gived me i686. THen, my server's CPU is 32 bit.. Am I right?

And another question. How can I define my installed Linux version. Is it 32 bit or 64?

Thanks
 
Old 02-22-2008, 02:01 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
Quote:
uname -m
gives the os(32bit/64bit).

Quote:
cat /proc/cpuinfo
Gives the cpu.

In my case I am running a AMD X2-3800 with 64bit Fedora 8.

Quote:
[fred@localhost ~]$ uname -m
x86_64
[fred@localhost ~]$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 43
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 1
cpu MHz : 2015.003
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
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 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good pni lahf_lm cmp_legacy
bogomips : 4031.25
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 43
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 1
cpu MHz : 2015.003
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
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 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow rep_good pni lahf_lm cmp_legacy
bogomips : 4029.82
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp
 
Old 02-22-2008, 03:21 AM   #7
mattyoly
Member
 
Registered: Sep 2005
Location: Canada
Distribution: openSUSE 8.0 - 11.00 Fedora 10
Posts: 71
Blog Entries: 1

Rep: Reputation: 15
hey there. just thought i will add a quick note. since you established that you are running i686 architecture, pretty much it would be impossible to run an x86_64 version of any kind of Linux, because i doubt it would install in the first place. but in case you need to run both 32 bit and 64 bit applications, then you most definitely would want to upgrade to a 64 bit architecture. because on a x86_64 system you can run both 32 bit and 64 bit, but not the other way around. peace.
 
Old 02-22-2008, 08:41 AM   #8
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 Ejdaha View Post
2. What does (64 bit) mean
The AMD64 and Intel EMT64 CPUs support two different (but related) instruction sets. In one, integer and address registers are 32 bits, in the other integer and address registers are 64 bits.

The most important difference is that 32 bit addresses support a 4Gb virtual space, part of which it reserved by the OS, so an individual task can only use about 3Gb of virtual memory. The addresses in 64-bit mode don't support a virtual address of the full 4G squared, but they do support more virtual address space than anyone could reasonably use.

If the OS is 64 bit, each program can be either 32 bit or 64 bit. But if the OS is 32 bit, even on a CPU with 64 bit support, all programs must be 32 bit.

Quote:
Originally Posted by taxtropel View Post
if you have an AMD 64 bit processor then you want to use a 64 bit linux (x86-64)
otherwise just an x86 flavor
I'm not sure of the pro and con factors to that choice. But most experts seem to advice differently than the above, saying:
If you have more than about 4Gb of physical ram, the PAE option that lets a 32-bit OS manage it is a bit messy so the 64 bit OS is a better choice.
If you need an individual program to take more than 3Gb of virtual memory (physical ram plus swap space) then you need the 64 bit OS.
If neither of the above is true, most expert advice I've seen says to use the 32 bit OS.
 
  


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
LXer: Sabayon Linux x86/x86-64 3.4 [Stable Release] LXer Syndicated Linux News 0 07-25-2007 03:46 AM
LXer: Sabayon Linux x86/x86-64 3.3 released LXer Syndicated Linux News 0 03-16-2007 01:46 PM
Sabayon Linux X86/X86-64 3.0 Released Kwestion Linux - Distributions 0 09-14-2006 01:50 PM
Does 64Bit Linux have all 64Bit Packages UltimateLinux Linux - Distributions 5 02-19-2005 03:20 PM
Newbie: Slackware 64bit AMD support (x86-64)? 270673 Slackware 1 07-15-2004 09:57 PM


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