LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-14-2007, 07:11 PM   #1
gizmo24
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Question Installing 64-bit linux distros on 32-bit hardware


Are there any advantages or disadvantages to installing a 64-bit linux distro, such as SuSE SLES 10 or RHEL 4/5 on 32-bit hardware?

I believe that the 32-bit distro will install run-time libraries and kernel that will limit the maximum process size to 2^32 bytes, and kernel maximum addressable memory to 4GB.

Similarly, the 64-bit distro will install run-time libraries and a kernel that increases the maximum process size to 2^64 bytes and 4 exabytes (2^64) of memory.

I'm not sure about the accuracy of the last statement, and that's why I'm here ;-)

I know that the 64-bit kernel, along with a processor with PAE support will allow the kernel to address more than 4GB of memory, but not sure if the installation of the 64-bit run-time libraries on 32-bit hardware will allow a 64-bit executable to access more than the default 2^32 address space of the processor.

Any discussions, corrections or clarifications are appreciated.
 
Old 12-14-2007, 07:40 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
You cannot run 64bit on a 32bit cpu. You can run 32bit(or 64bit) on a 64bit cpu.
 
Old 12-14-2007, 08:00 PM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,741
Blog Entries: 1

Rep: Reputation: 224Reputation: 224Reputation: 224
The reason a 32-bit processor can only address 4GB is because there are physically only 32-bits. Presuming that you have an x86_64 machine, the 64-bit instruction set is larger than the 32-bit instruction set. A 32-bit processor will not have the slightest idea what to do if it gets one of those instructions. The x86_64 architecture also has additional registers and the registers are wider (2 times in fact) that those in x86 processors. Depending on the 64-bit architecture you have a 64-bit processor may run 32-bit as well as 64-bit, but not all are multilib.

To answer your question, the disadvantage of installing a 64-bit distro on a 32-bit machine is that the machine won't work. The advantage is that you can use it as a doorstop.

Last edited by weibullguy; 12-14-2007 at 08:02 PM.
 
Old 12-14-2007, 08:36 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,314

Rep: Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032Reputation: 1032
Quote:
Originally Posted by weibullguy View Post
The reason a 32-bit processor can only address 4GB is because there are physically only 32-bits.
s/processor/process/
Using PAE the (32-bit) processor can address 64 Gig (real).

No argument with the rest.
 
  


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: Installing 64-bit Oracle 10g on 64-bit Linux LXer Syndicated Linux News 0 05-12-2007 01:31 PM
installing 32 bit WAS on 64 bit linux waiheke jerry Linux - General 2 03-13-2006 09:35 PM
64 Bit distros won't install - All 32 bit do? djsennello Linux - Hardware 1 09-25-2005 07:54 PM
32 bit compatibility for 64 bit distros Phil Brooks Linux - Software 9 03-31-2005 06:27 PM


All times are GMT -5. The time now is 08:01 AM.

Main Menu
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