Linux Find Out CPU Support 36-bit Physical Addressing Or Not

by Vivek Gite [Last updated: November 23, 2008]

Q. Physical Address Extension (PAE) refers to a feature of x86 and x86-64 processors that allows more than 4G bytes of physical memory to be used in 32-bit systems. The x86 architecture presently uses only 36 bits out of 52 bits possible. On x86-64 processors, PAE is obligatory in native long mode; currently 40 bits are used out of 52 bits possible. How do I find out if my Linux kernel supports 36-bit or more physical addressing?

A. You can easily find this information by visiting /proc/cpuinfo file. cat /proc/cpuinfo and look for the physical address size. You can also use grep command extract exact information:
cat /proc/cpuinfo
OR
grep physical /proc/cpuinfo
Sample output:

physical id	: 0
address sizes	: 36 bits physical, 48 bits virtual
physical id	: 3
address sizes	: 36 bits physical, 48 bits virtual
physical id	: 0
address sizes	: 36 bits physical, 48 bits virtual
physical id	: 3
address sizes	: 36 bits physical, 48 bits virtual
Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 3 comments… read them below or add one }

1 Javad 11.23.08 at 7:40 pm

Not worked on Debian etch with Xeon processors.

2 DataMatrix 11.24.08 at 7:42 am

This doesn’t work on ubuntu 8.10 either.
~$ grep physical /proc/cpuinfo
physical id : 0
physical id : 0

Address sizes isn’t displayed.
Some info: The generic kernel doesn’t support more than 3GB RAM. the “server” kernel does support it.

3 vivek 11.26.08 at 8:10 pm

Can you give more information about current kernel and CPU? This is more applicable to 64 bit XEON CPUs.

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Tagged as: , , , , , , , , , , , ,

Previous post: Detecting DoS / DDoS Attack on a Windows 2003 / 2008 Server

Next post: Fedora 10 Upgrade