6

I would like to buy a Thinkpad T420 with 8GB RAM configuration and install specifically 32-bit Ubuntu Desktop with PAE as I heard that 64-bit version has some issues such as providing support for applications based on Flash. Theoretically more RAM gives better speed, but practically there could be some issues such as consuming more power etc. Therefore, I am not sure whether I can get improved speed if I use Ubuntu 32-bit PAE with 8GB RAM instead of 32-bit PAE with 4GB RAM or not, specifically for watching streamed movies, playing videos, video encoding etc. Therefore, I am in dilemma whether to buy T420 with upgarded 8GB RAM or not?

2

4 Answers 4

9

PAE with 8GB RAM may be faster than a machine with 4GB RAM, by avoiding paging. PAE with 8GB RAM will also probably be slower than a 64-bit kernel with 8GB RAM, due to PAE overhead. Just how much faster or slower depends on what you use the machine for.

Flash works reliably on 64-bit Ubuntu, so it's no longer a reason to install a 32-bit OS. 32-bit binaries will just run on 64-bit Ubuntu without you needing to do anything special. So the short story is, today, if you have 4GB or more of memory, you should just install a 64-bit kernel.

Phoronix did some benchmarks showing a substantial disadvantage to PAE on some tasks.

More RAM uses more power, and gives more opportunities for something to fail. The main benefit is that with more RAM, your machine needs to do less physical disk IO, but this is only a benefit up to the point that all the data it touches fits in memory. So, there is no point installing more memory than will actually be useful to fit your typical working set.

specifically for watching streamed movies, playing videos, video encoding etc

The first two don't need a lot of memory; only enough to make sure your browser and video player are not paging. The second is mostly cpu-bound, not ram-bound.

So, either 4GB or 8GB memory would be fine. If you expect to do development or other more memory-intensive tasks later, get 8GB. Either way, install a 64-bit kernel.

The AMD deck "Myths and facts about 64-bit Linux" from 2008 makes these points:

  • 64-bit mode allows more registers, wider registers, and new instructions, so both applications and the kernel can be more efficient, even ignoring the issue of memory use
  • 64-bit mode is often faster even on machines with under 3GB RAM
  • 32-bit apps run very well on 64-bit kernels

Since 2008 most applications will be primarily developed in and tuned for 64-bit mode.

1
4

PAE does not improve speed but gives you the chance to use more than 4GB of memory. The performance impact is very little actually and you will only "feel it" if you start using the memory above the 4GB limit. Basically if you have a 32Bit PAE Enabled system with 8GB RAM the performance impact will only come AFTER an application starts using the memory above de 4GB (This is the one from 4GB to 8GB). But the impact is very little. You will not notice it. What you will notice is 4GB of more ram.

Also for a system with 4GB of ram is not needed or recommended to use PAE since you are not going over the limit which is the 4GB of ram (which is a 2 by the power of 32 in bytes)

For videos like flash games, flash youtube videos, etc.. you won't notice anything different from a 32Bit with PAE or a 32bit without PAE. It will be the same performance.

Lastly, the performance and issues associated with the 64Bit Version of Ubuntu last i heard were solved with several flash updates (Like the Flash 10.3 version) so if you install it right now and then install the flash version of adobe you should not have any problems.

Now for the "Should I buy or not buy the laptop with 8GB or ram". Well if you are like me on my home that the things i use it are to listen to music, see movies in HD quality, download stuff, open like 10 Libreoffice documents to work on, open Firefox and Chrome to work, etc.. then you do not need 8GB of ram. With 4GB of Ram you should be not just fine but happy (since you did not overspend on 4 more GB of ram to not use them).

Now if you are like me on my work place and you like to compile stuff, configure servers, render images and videos, etc.. Those are some heavy usage cases. So you need more ram for them to operate faster. Rendering something with 4GB is not the same as 8GB. Same for compiling (with the appropiate flags) and for the rest of the intensive cpu/memory apps.

But for the normal work, video watching, typical downloader and common user 4GB is enough.

Hope this helps.

1
  • The performance impact is very little actually - that's not consistent with the benchmarks I've seen; on some loads it's 5x slower than 64-bit mode. Of course whether he'll actually "feel" it or not, and whether it will make a difference in home desktop use, is a bit harder to determine.
    – poolie
    Sep 10, 2011 at 10:55
1

Install 64-bit version better, it gives some performance improvements. With Ubuntu 11.10 even better because it is based on the new Debian multi-arch which means that it can install 32 and 64 bit programs on any architecture so there are no disadvantages in the 64-bit system compared to the 32-bit.

-1

PAE is useful when you have 4GB RAM or more. In case if you have no problem with specific software you may have, try a 64-bit OS.

Good luck.

5
  • 4
    Uh, no. 2**3 = 64G, and PAE supports 64GB of physical memory. Any individual process can only address 4GB of virtual space.
    – poolie
    Sep 5, 2011 at 22:39
  • That should of course say 2**36.
    – poolie
    Sep 5, 2011 at 22:47
  • Sorry, guys. I just reported what I knew before regarding the 'effectiveness' of PAE on more than 4 GB RAM. Some months ago I was reading a review specifically on PAE and 3 or 4 GB laptops. So, I hope that I remember well PAE was designed in order to overcome a limitatin of 32-bit CPUs and extend addressing range for 32-bit OSes, BUT ONLY UP TO 4 GB :( If I am mistaken, I have to excuse for misinformation :)
    – Vincenzo
    Sep 5, 2011 at 23:01
  • 2
    32 bit os = 4gb, pae = 64gb. It actually can be useful on machines with only 4gb of ram as well, since some portion of that often is remapped above the 4gb mark to leave room for things like the video memory to be mapped under the 4gb mark.
    – psusi
    Sep 6, 2011 at 14:14
  • @Vincenzo you know now, why not editing/correcting your answer then?
    – mbx
    Sep 20, 2011 at 10:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .