Why is 12.04 using a PAE dependent kernel by default?

6,870

Solution 1

Simple: To support vast quantities of RAM in a 32bit environment.

Lots of people were installing the (then) recommended 32bit install and wondering why their new computers with 4 and even 8GB of RAM were only showing 2-3GB. By using the PAE kernel, the vast majority of that RAM is now addressable and usable.

This is fine for people who have computers built this century. To get a computer that doesn't have 32bit PAE support, we need a really old computer. We're talking PII/Geode level old, but also Pentium M machines like lots of Thinkpads.

These are computers that should be thrown into the sun. They are far below what people throw out and much better machines can be had for almost nothing on Ebay and the like.


There's an added side-effect of PAE that I've only just become aware of: NX. In 64bit mode all users get NX (No eXecute) which allows the system to separate out storage RAM from process RAM. This allows an application to suffer a buffer overflow without then being able to stuff a ton of malicious executable code in RAM and run it.

That's a obviously massive simplification but to further answer the question: it makes the computer more secure too.


And what's more to appease the super-low-end users the defaults for Lubuntu and Xubuntu will be a non-PAE kernel.

If you are on a lower-end computer, chances are you won't want Unity eating up the few remaining CPU cycles you have left, so they're a much saner starting point anyway.

Solution 2

Here is also an answer. You can read it: https://lists.ubuntu.com/archives/ubuntu-devel/2011-November/034498.html

Every flavour has its unique class of bugs; non-pae has a ginormous and ugly NX emulation patch that has consumed substantial maintenance resources in the past, not to mention all of the bugs complaining about memory holes and the 4Gb limit.

The kernel team has limited resources.

Solution 3

Yes, The non PAE version is available.

I am not sure about the availability of the full desktop environment, however I am using This minimal Non-PAE version.

After installing the minimal OS, you may configure it according to your needs. To get a full ubuntu desktop just do sudo apt-get install -y ubuntu-desktop

Share:
6,870

Related videos on Youtube

coder
Author by

coder

I am an ubuntu enthusiast.

Updated on September 18, 2022

Comments

  • coder
    coder over 1 year

    Recently when I was trying Ubuntu 12.04 beta I got to know that it was using a PAE kernel, but I am not sure of the reason.

    Why has Ubuntu shifted to PAE kernel ? Also Is there a non PAE version also available?

  • coder
    coder about 12 years
    cool thanks my ubuntu too show only 3 GB RAM.That's the reason
  • MountainX
    MountainX about 12 years
    Apple Macs (at least mine) use PAE kernels too.
  • bain
    bain about 11 years
    As the response to the post you quote pointed out, removing non-PAE support had nothing to do with the NX patch. The actual reason was supplied in a later post: "Dropping this flavour saves 5 minutes per build on a 4-way 80 thread server, which for some of the team can add up to quite a bit of time over the course of a day. Its one less variant that needs to be tested in Q/A, and its one less flavour we have to mess with in our meta and LBM packages."