Physical Address Extension (PAE).

Mar-18th-2010

Hi,

Physical Address Extension (PAE) is a feature first implemented in the Intel Pentium Pro to allow x86 processors to access more than 4 gigabytes of (RAM) random access memory if the operating system supports it.

The Linux kernel includes full PAE mode support starting with version 2.3.23, enabling access of up to 64 GB of memory on 32-bit machines. A PAE-enabled Linux-kernel requires that the CPU also support PAE.

How to update/install the PAE kernel :-

1. Please check either PAE kernel install on your server or not :-

[root@map007]# rpm -qa kernel\* | sort or
[root@map007]# rpm -qa |grep PAE or
[root@map007]# Uname -r

2. Chek the available PAE kernel inforamtion :-

[root@map007]# yum info kernel-PAE
Available Packages
Name : kernel-PAE

Summary: The Linux kernel compiled for PAE capable machines.

Description:
This package includes a version of the Linux kernel with support for up to
64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).

The non-PAE kernel can only address up to 4GB of memory.

Install the kernel-PAE package if your machine has more than 4GB of memory.

3. Install the kernel-PAE package :-

[root@map007]# yum install kernel-PAE

4. Once the install has finished, take a look at which kernels are now installed on your system (rpm -qa kernel\* | sort ), confirm that the PAE kernel will be the default on system boot (less /etc/grub.config – make sure that the PAE kernel is the first in the list of kernels to be referenced), ensure that all future updates will be of the PAE kernel (edit the file /etc/sysconfig/kernel so that the bottom line now reads DEFAULTKERNEL=kernel-PAE rather than DEFAULTKERNEL=kernel) and then reboot the system.

5. just change the contents of the file /etc/sysconfig/kernel to be:

# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes

# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel-PAE

6. for consistency, you might as well yum install kernel-PAE-devel

7. Here is /etc/grub.conf contains :-

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda5
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.1.14.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.1.14.el5PAE ro root=LABEL=/
initrd /initrd-2.6.18-53.1.14.el5PAE.img
title CentOS (2.6.18-8.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5 ro root=LABEL=/
initrd /initrd-2.6.18-8.el5.img

Note :- ‘Default’ starts at 0, not 1.So you have to change “default=1 to default=0.

Once your system has rebooted, your system will be running with PAE kernel, check the kernel with uname -rmi and by using the command free -om, check that all your memory is now visible.

========================================================================

Enjoy Linux !!!

Mega World News Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google Yahoo Buzz StumbleUpon Weekend Joy

Comments

  1. Catrina Dellaratta Said,

    :)

  2. medical assistant Said,

    Valuable info. Lucky me I found your site by accident, I bookmarked it.

  3. Wordpress Themes Said,

    Good post and this post helped me alot in my college assignement. Thanks you as your information.

  4. federal grants Said,

    Terrific work! This is the type of information that should be shared around the web. Shame on the search engines for not positioning this post higher!

  5. Marisa Said,

    Helpful summary, saved the blog for interest to read more information!

  6. Meagan Said,

    Thanks so much for posting all of the awesome information! Looking forward to reading more blogs!

Add A Comment

*