LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-27-2014, 06:35 PM   #1
ivtec
Member
 
Registered: May 2013
Location: USA
Distribution: Debian-wheezy,,Ubuntu 12.4lts
Posts: 317

Rep: Reputation: Disabled
Linux 32bits vs 64bits?


Hi guys; what's your opinion about Using Linux 32bits vs 64bits?

i found this article.

http://www.phoronix.com/scan.php?pag...204_3264&num=2
 
Old 01-27-2014, 06:49 PM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 174Reputation: 174
I would always use 64bit on machine that supports that. If you don't have specific reasons try 64bit version.

That article is 2 years old now.
 
Old 01-27-2014, 07:44 PM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Use the correct version for your hardware. In other words 64 bit for 64 bit, 32 bit pae for newer 32 bit processors, and plain 32 bit for older 32 bit processors such as Pentium 4 and older.
 
Old 01-27-2014, 08:35 PM   #4
ivtec
Member
 
Registered: May 2013
Location: USA
Distribution: Debian-wheezy,,Ubuntu 12.4lts
Posts: 317

Original Poster
Rep: Reputation: Disabled
Thanks guys; i don't know if my PC Lenovo Thinkcenter M71e Intel core (TM) I5 2400CPU 3.1ghz ram 3.8gb with ATI video card HD6450 will handles 64bit i have xubuntu 1310 32bit,but i want to try Ubuntu 1404 64bit.i know this is a testing mode yet,and will come out in april a Ubuntu1404 LTS
 
Old 01-27-2014, 08:43 PM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The Core i5 is a fully fledged 64 bit CPU, 64 bit Linux will run just fine on it.
 
1 members found this post helpful.
Old 01-28-2014, 01:17 AM   #6
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
For up to 4 GB RAM i dont see many reasons to use 64 bit OS. For 8 or more, it can be considered, but its not required.
- 64 bit isnt really required for anything.
- It doesnt run faster than 32 bit, except in certain cases, usually where large memory operations (4 GB or more used by a SINGLE application) take place - these are typically large server loads that dont really happen in a desktop environment.
- Linux 32 bit kernels can access 64 GB ram by default nowadays.
- Many proprietary programs are 32 bit only, like Skype or Steam. On 64 bit you will have to install 64 and 32 bit libraries for them to work. Steam for example needs 32 bit video drivers - if you use open source drivers and want to build the latest version yourself, you will find that some dev libs may not install under both arches etc.
- 64 bit apps use more memory by default. For example Java apps can use huge amounts vs 32 bit.
 
1 members found this post helpful.
Old 01-28-2014, 01:57 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by gradinaruvasile View Post
For up to 4 GB RAM i dont see many reasons to use 64 bit OS.
Double the amount of registers, registers are double in size, 64 bit distros are optimized to use at least SSE2 for floating point operations, while i686 must default to the much slower FPU.
Also, you don't have to use HIGH_MEM, which is a must on 32 bit for any system with more than 892MB RAM and introduces unnecessary overhead. While Linux Torvalds states that he would not use 32 bit for any system with 2GB or more RAM other kernel developers go even further and recommend 64 bit for anything >=1GB of RAM. In general I trust kernel developers to have more insight on that than I have.

Quote:
- It doesnt run faster than 32 bit, except in certain cases, usually where large memory operations (4 GB or more used by a SINGLE application) take place - these are typically large server loads that dont really happen in a desktop environment.
Distros compiled for x86_64/AMD64 can per definition assume that a SSE2 unit is present in the CPU, which seriously can speed up any software making use of media manipulation (image editing, media converting, ...). There is no need for large memory operations to get an improvement from 64 bit.
Quote:
- Linux 32 bit kernels can access 64 GB ram by default nowadays.
With a large overhead. It is not recommended at all to run a 32 bit kernel on a system with 64 GB of RAM.
Quote:
- Many proprietary programs are 32 bit only, like Skype or Steam. On 64 bit you will have to install 64 and 32 bit libraries for them to work. Steam for example needs 32 bit video drivers - if you use open source drivers and want to build the latest version yourself, you will find that some dev libs may not install under both arches etc.
Can only comment for Slackware here, I generally compile many parts of the graphics stack myself, using newer versions than by default present in Slackware. No problem at all with Steam here, I don't use Skype, so can't say about that.
Quote:
- 64 bit apps use more memory by default. For example Java apps can use huge amounts vs 32 bit.
May be a problem on system with less than a GB of RAM, on modern system that usually come with 4GB or more this is negligible.

In short, I can't see any reason to buy a 64 bit CPU and then only use one half of it.
 
Old 01-28-2014, 02:27 AM   #8
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Well, my opinion is based on my few years of use of Linux (7?) almost exclusively and i did not see ANY visible improvements when using 32 or 64 bit distros. I had 4 GB RAM and i had absolutely no issues with using it and saw no slowdowns (which may be true if some apps use large amounts of memory, but i never saw that). I even had the memory almost full with a few VMs running and didnt notice slow downs.
Im pretty sure that SSE2 etc are used in 32 bit kernels too, especially if you build them. There is a tiny fraction of actual 32 bit CPUs used nowadays.

That i did see is compiling the latest OSS video drivers for both 32 and 64 bit (mesa, drm, X drivers) isnt really a breeze when you cannot install half of the dev packages because they are not multiarch - this is a reality on Debian where you have pretty much everything needed for building, but cannot install some because of overlapping include files.
Building Wine is another pain like that, since building it for 64 bit (that cannot run 32 bit code) doesnt bring any benefit, because many Windows apps are in fact exclusively 32 bit, even the "64 bit" labeled ones have 32 bit code sometimes so you have to go for the lowest common denominator, the 32 bit build of Wine. Im not a Wine fan by any stretch, but i have to use certain small programs that are Windows only.

Now i have 64 bit distro (e and it isnt faster or slower for the tasks i use it for (it does use up more memory), regardless of what developer X or Y said or recommended. This is based on my personal observations and problems encountered. From my point of view, the benefits are too small for the additional work it needs sometimes.
 
Old 01-28-2014, 03:13 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by gradinaruvasile View Post
Im pretty sure that SSE2 etc are used in 32 bit kernels too, especially if you build them.
Any distro that can run on an Athlon or Pentium III CPU (virtually all distros that have a 32 bit version) must be compiled without SSE2 support, those units are simply non-existent on those CPUs.

Anyways, it may be true for your use-case that you have no (easily recognizable) benefits from 64 bit, but there are many use cases where you have huge benefits from running 64 bit instead (again, anything that even slightly involves floating point calculations).
I can't tell about building stuff on Debian, I use it only on servers and I have no need to compile software on them.
On my Slackware desktops it is no problem at all to compile 32 bit software (though I rather use the clean room solution of using a 32 bit chroot to compile 32 bit packages).
 
Old 01-28-2014, 12:15 PM   #10
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by TobiSGD View Post
Any distro that can run on an Athlon or Pentium III CPU (virtually all distros that have a 32 bit version) must be compiled without SSE2 support, those units are simply non-existent on those CPUs.
I just checked my laptop (has the stock Debian 32 bit kernel) and cpuinfo listed sse2 too. Newer kernels (i686) dont even run on really old CPUs (and SSE2 is more than 10 years old).
 
Old 01-28-2014, 12:45 PM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
cpuinfo lists the features of your CPU, not what is supported by the kernel. Also, i686 runs on anything from Pentium Pro(1995)/Pentium 2(1997) or Athlon (1999) upwards.

Anyways, this discussion has been in many threads on LQ, we shouldn't make another one.
 
Old 01-28-2014, 08:59 PM   #12
ReleaseTheCode
LQ Newbie
 
Registered: Jan 2014
Distribution: Debian 7.3.0
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by ivtec View Post
Thanks guys; i don't know if my PC Lenovo Thinkcenter M71e Intel core (TM) I5 2400CPU 3.1ghz ram 3.8gb with ATI video card HD6450 will handles 64bit i have xubuntu 1310 32bit,but i want to try Ubuntu 1404 64bit.i know this is a testing mode yet,and will come out in april a Ubuntu1404 LTS
It is 64bit. But, if you ever want to know for use run this command on terminal

Code:
getconf LONG_BIT
You should get either 32 or 64 for your processor.

If your system has less than 4GB of ram, a 32 bit is good enough. I use a 64 bit distro because my system has 8GB of ram and a 64 bit distro is require for it to see 4GB and higher.

Last edited by ReleaseTheCode; 01-28-2014 at 09:01 PM.
 
Old 01-28-2014, 11:16 PM   #13
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by ReleaseTheCode View Post
I use a 64 bit distro because my system has 8GB of ram and a 64 bit distro is require for it to see 4GB and higher.
No it doesnt. 32 bit kernels can be compiled with PAE support that gives you access up to 64GB or something. In fact most recent distro stock i386 kernels have PAE activated.
 
Old 01-28-2014, 11:30 PM   #14
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Quote:
Originally Posted by gradinaruvasile View Post
No it doesnt. 32 bit kernels can be compiled with PAE support that gives you access up to 64GB or something. In fact most recent distro stock i386 kernels have PAE activated.
In Debian the 486 kernel, not the 686-pae kernel, does not have pae activated. This discussion has turned into one of opinion, you have yours others have theirs. Live with it.
 
Old 01-29-2014, 03:38 AM   #15
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by k3lt01 View Post
In Debian the 486 kernel, not the 686-pae kernel, does not have pae activated. This discussion has turned into one of opinion, you have yours others have theirs. Live with it.
So:
Quote:
Originally Posted by ReleaseTheCode
a 64 bit distro is require for it to see 4GB and higher
This is a plain statement that Linux REQUIRES a 64 bit kernel to address more than 4 GB RAM, which is about a fact (NOT opinion) and its NOT true - exactly because the said "686-pae" 32 bit kernels can address up to 64 GB, on 64-bit capable CPUs.

So: where is the fact - that other kernels designed for CPUs that arent even capable of this CANT do it - is even relevant here???

Offtopic @k3lt01:
Quote:
Originally Posted by k3lt01
This discussion has turned into one of opinion
Hm. I thought it was started to ask for opinions. My bad.
BTW isnt that forums are for?? For technical details you have Wikipedia, Google etc, but on forums you ask questions to access other real peoples knowledge, opinions and experiences.
 
  


Reply



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
64bits vs 32bits joboy Ubuntu 11 12-05-2011 09:21 AM
how to install openSuse 11 64bits on a box already has 32bits openSuse installed? 2007fld SUSE / openSUSE 7 11-28-2010 10:30 AM
AMD64 X2 7750 on Gentoo 32bits/Linux 2.6.29: No L3 Cache? Theimon Linux - Hardware 5 04-29-2009 08:07 AM
To be 64bits or not to be 64bits, that's the question... Mega Man X General 9 01-11-2008 09:26 AM
how to check rpm belongs to 32bits or 64bits stewchcken Linux - Software 3 11-22-2005 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 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
Open Source Consulting | Domain Registration