So I have a machine with AMD E-300 ( http://www.cpu-world.com/CPUs/Bobcat/AMD-E%20Series%20E-300.html ), and 4096 MegaBytes of RAM memory, 3712 MB usable, because the integrated GPU takes 384 MB. What should I use, considering that it is an x64 CPU? Should I go with the x64 version of Xubuntu/Lubuntu, or with the 32bit/x86 one? Would my machine perform better with the x64?
-
Why not just try them both and judge for yourself? – Rinzwind Jan 25 '12 at 15:51
-
Ubuntu 32-bit, 32-bit PAE, 64-bit Kernel Benchmarks – phuclv Mar 10 '16 at 09:39
3 Answers
64-bit utilizes large amounts of memory more efficiently that 32-bit. So I would go for x64.

- 1,421
-
So now we need someone to add an answer to use 32 and we got ourselves a race >:) – Rinzwind Jan 25 '12 at 15:51
-
As you can see, the debate rages =)
If you have a 64 bit processor you should start with a 64 bit OS, you are simply going to get better performance. If you google search you will find the benchmarks to back that ;)
http://tuxradar.com/content/ubuntu-904-32-bit-vs-64-bit-benchmarks http://www.phoronix.com/scan.php?page=article&item=616&num=1
Take note: most of the benchmarks are old as 64 bit has been on parity for long enough that the vast majority of people advise 64 bit (and so fewer people are publishing benchmarks).
64 bit Ubuntu has been on parity with 32 bit for several years and you are no more or less likely to have problems with one vs another.
If you do run into the increasingly rare problems with 64 bit Ubuntu you could downgrade to 32 bit.
In terms of RAM, you can use up to 64 Gb RAM with a 32 bit PAE kernel, so the size of your RAM does not really enter into the equation, except that 64 bit will user your high ram more efficiently.
Understand "high ram" is relative, but at a lower level 4 Gb is "high ram". If you wish to know the technical details, see the kernel discussions / documentation.

- 102,067
I would go for 32-bit.
64-bit does not give real advantages, except for being able to address more than 4 GB RAM. As you have 4GB 32-bit is not a problem.
Disadvantage of 64-bit: data fields use twice the amount of memory: for example integers become 64-bit wide instead of 32-bit. So effectively, the available amount of memory drop by two (assuming everything is stored as an integer)

- 149
-
It's not correct. x86_64 is far more than just 4GB addressing (since 32-bit x86 already has capability to address 64GB of RAM). One example is (more than) double the number of registers, which makes compute intensive programs run much faster – phuclv Mar 10 '16 at 09:41
-
Hardware-wise you are right: https://en.wikipedia.org/wiki/RAM_limit But AFAIK 32-bit applications cannot address more than 4Gb memory. – Veger Mar 10 '16 at 13:13
-
of course it can only address 2-3.5GB of memory. That's one of the reasons why 64-bit applications are better. They have more address space to get around for various purpose like memory-mapped file. They have more registers and newer default SIMD instruction set... In 95% of the benchmarks 64-bit apps run faster https://en.wikipedia.org/wiki/64-bit_computing#Pros_and_cons – phuclv Mar 10 '16 at 15:41
-
-
it's not actually correct. Most variables in a program still be the same size. Only pointers are larger. A 64-bit program will use ~30% more memory on average, not twice the memory, but run 10-15% faster – phuclv Mar 11 '16 at 03:01