For better performance should I install 32-bit or 64-bit?

931

Solution 1

There are no big performance differences between 64 bit and 32 bit in Ubuntu. I tried both for years now. Let me point to the actual PROS and CONS for the 64 bit since you have been in the 32 bit already:

64 bit PROS:

  • Support for more than 4 GB RAM (without any kernel modifications, 32 bit PAE support, etc..) The sucker supports more than 1 TB.

  • Gives performance boosts ONLY if you are doing some very intense work that needs more than 4 GB Ram. Am not talking about playing, watching videos or listening to music. Am talking about server with a million users, rendering shrek 7 christmas edition or something very big like making a 3D version of the galaxy.... from scratch.

64 bit CONS:

  • In the past (2012 or less) a whole bunch of programs had issues. For example flash (even the 64 bit version) had some glitches and more. If you thought you had issues with 32 Bit on those times, changing to 64 bit increased your chances of having more. For me it was a nightmare on PC street. This obviously changed and it changed very quickly. Since 13.04 I would say, 64 bit got much more stable, easier to work with and it was very hard to get a 64 bit problem. On 13.10 I did not have any issues whatsoever. Now on 14.04 it is more recommend than ever before to move to 64 bit but only if you have the following hardware:

    • Have a PC with 4 GB or more of RAM
    • Have a motherboard that supports 64 bit (Most motherboards after around 2005 do)
    • Have a CPU that supports 64 bit (Most CPUs after around 2004 do)
  • Recommended for the average user that has 4 GB or RAM or more and hardware that supports 64 bit architecture. There are many issues still in the 32 bit that will get even bigger in the 64 bit one. Apart from that 64 bit is still very new (Even if it came out around 2000) but the majority of the programs made (Even today) are mostly for 32 bit.. Nowadays, 64 bit is the best move. When I wrote this answer it was January 2011. We are now in April 2014 and I can really say that 64 bit is much better than 32 bit in terms of performance, stability and more. Of course, the need for a program to use even close to 4 GB is not yet a big problem and the real need to use more than that applies to intense apps.

Test out 32 bit if you want but if you have a computer with enough RAM, CPU and a good motherboard (From 2005+) then I would really recommend 64 bit for you.

Hope to have helped.

Solution 2

If you dont have any specific reasons for installing 32 Bit then you should go with 64 Bit. At the following URL you can find the performance comparison of 32 Bit and 64 bit linux versions.

http://www.tuxradar.com/content/ubuntu-904-32-bit-vs-64-bit-benchmarks

You can see that 64 Bit is faster in many places. You can also have more than 4GB ram in 64 Bit but not in 32 bit. Also there is ubuntu community help page here and they also suggest installing 64 bit.

I am running Ubuntu Lucid 64 Bit on my machine and I dont have any problems. All applications that I need are in the repos and everything works. Back in 2009 I tried 64 Bit version of Intrepid but reverted back to 32 Bit because many softwares didnt have 64 Bit versions then but that is not the case now.

Solution 3

If you have more than 4 GB of RAM go for 64 bit else 32 bit is just fine.

Solution 4

I find it quite amusing that the usage of 64bit is so closely bound to memory in the machine. 64bit means as well that per processor cycle you are able to process twice the amount of data comparing to a 32bit operating system.

Use 64bit in case you do

  • video editing and processing
  • sound editing and processing
  • graphic editing and processing
  • work with large files (e.g. databases, large log files, ...)

I am doing a podcast and using 64bit with my notebook saves a lot of time when doing audio processing (noise reduction, normalizing, compression, ...). My notebook only has 2 GB of RAM.

Solution 5

As for this question: If you plan to re-install your operating system completely, choose the 32 bit version. There's really no need for you to try 64 bit.

But it's really not that important. Ask another question here about how to best do that re-installation, keeping your data. Make sure to explain your situation in detail, what hardware you have available (hard disks, usb sticks, cd drives, ..), how your hard drive is partitioned and so on. If you need help figuring all of this out,you can join the Chat room or search the site.

Your problem is quite a difficult one. But we'll help you as best we can.

Share:
931

Related videos on Youtube

Conrad
Author by

Conrad

Updated on September 17, 2022

Comments

  • Conrad
    Conrad almost 2 years

    Does anyone know how to read stdin using a custom Command in the Yii framework?

    I am busy writing a script to process incoming mails through a php script but need functionality from within the Yii framework as well. By default Yii passes the command line arguments in a variable to your run() method when you extend the CConsoleCommand. Any ideas?

    • Uri Herrera
      Uri Herrera over 13 years
      any specific error on 32 bit edition?
    • Santosh Linkha
      Santosh Linkha over 13 years
      no error ... i did sudo chown -R www-data / and everything's ...............!
  • Flavius
    Flavius over 14 years
    You don't need to open stdin, the PHP CLI SAPI does that automatically for you, putting the same "$fd" you've got into the constant STDIN. Yii also takes care of STDIN being declared.
  • Santosh Linkha
    Santosh Linkha over 13 years
    sure thanks have 2GB RAM going for 32 bit also not average user but beginner ...!
  • flo
    flo over 13 years
    I have to respectfully disagree ;-) This user wants a working system, above all. I know there isn't much downside to 64 bits, but the little that there is justifies this user install a 32 bit system. I don't think rendering things in blender or converting ogg-files half a second faster is really on their list of priorities. :)
  • flo
    flo over 13 years
    Again, 32 bit ubuntu automatically enables the PAE kernel if there is more than 3gb of RAM, thus the point about addressing more ram is moot (albeit valid). If you have more 4+GBs of ram, you don't need to install a 64 bit system. See the Community Documentation. Great answer none the less :)
  • Luis Alvarado
    Luis Alvarado over 13 years
    Hi stefano. That is why i mention the part about 32bit PAE Support in the beginning. Thanks for the link which helped.
  • crasic
    crasic over 13 years
    As @Stefano pointed out, the 32 bit linux kernel has had PAE support for several years now, it is capable of PHYSICALLY addressing > 4GB (assuming the chipset supports it). However, the virtual address space given to each process is still 4GB (AFAIR), however, this is still quite a large ceiling.
  • Hippo
    Hippo over 13 years
    +1 for mentioning the incompatibilities with flash and other software. I had been through that nightmare too.
  • user777305
    user777305 over 13 years
    Actually, 64-bit has been around significantly longer than 2000 (not x86-64, admittedly)... ;)
  • Danny Staple
    Danny Staple over 13 years
    This marks the catch 22 balance. 64 bit systems still have a few rough corners, and until enough people are willing to use it and report/deal with any remaining issues, it will stay a bit rough (flash support, some drivers etc), and until it is a bit less rough, many in the know would rather leave it..
  • frabjous
    frabjous over 13 years
    I actually had a lot more trouble with Flash when I used the 32 bit version. The 64-bit prerelease has never caused me problems. YMMV.
  • zerwas
    zerwas over 13 years
    Could you explain where Flash support is an issue with 64 bit systems using Ubuntu?
  • binW
    binW over 13 years
    I havent faced any issue on Ubuntu related to Flash. I dont remember how was it back in Intrepid but in Lucid it is working good.
  • djangofan
    djangofan over 13 years
    The simple answer is the best one.
  • Jacob Rodrigues
    Jacob Rodrigues over 8 years
    Long mode also have double the registers, which often results in more efficient function calls... Pointers do take double the memory though, so it tend to use somewhat more memory for the same job. (The x32 ABI solves that, but there doesn't seem to be many practical ways to use it)
  • Jacob Rodrigues
    Jacob Rodrigues over 8 years
    The comment about more that 4GB RAM is inaccurate, you can have up to 64GB RAM in 32-bit mode on most processors after the Pentium Pro.. (each process can just address 4GB though, and some of that is used for things like memory mapped IO)