PAE(4)
π PAE β Physical Address Extensions π
ok so bestie, we're talking about PAE(4) β that's the man page for the physical address extensions situation, living over in the i386 Kernel Interfaces Manual. buckle up, this one's a lil spicy π₯
β¨ SYNOPSIS β¨
options PAE
π¦ DESCRIPTION π¦
so the PAE option gives you support for the physical address extensions capability of the Intel Pentium Pro and above CPUs. and like. the whole point? it lets you use up to 64 gigabytes of memory on systems that can actually support it. iconic behavior honestly π
with the PAE option, memory above 4 gigabytes is just... simply added to the general page pool. no drama, no separate bucket. the system makes no distinction between memory above or below 4 gigabytes, periodt. and ngl there's also no specific facility provided for a process or the kernel to access more memory than they would otherwise be able to access β through a sliding window or otherwise. so don't come looking for extra special access, it's giving equal treatment for everyone π
πΈ SEE ALSO πΈ
π HISTORY π
the PAE option first appeared in FreeBSD 4.9 and FreeBSD 5.1. a true veteran fr fr π«Ά
π AUTHORS π
- Jake Burkholder
<jake@FreeBSD.org>
π BUGS π
ok bestie this is the part where we get serious, no cap, read carefully π
- since KLD modules are not compiled with the same options headers that the kernel is compiled with, they must not be loaded into a kernel compiled with the
PAEoption. like, just don't. it's a whole thing.
π¨ many devices or their device drivers are not capable of direct memory access to physical addresses above 4 gigabytes. to make use of direct memory access IO in a system with more than 4 gigabytes of memory when thePAEoption is used, these drivers must use a facility for remapping or substituting physical memory which is not accessible to the device. one such facility is provided by thebusdmainterface. device drivers which do not account for such devices will not work reliably in a system with more than 4 gigabytes of memory when thePAEoption is used, and may cause data corruption. π thePAEkernel configuration file includes thePAEoption, and explicitly excludes all device drivers which are known to not work or have not been tested in a system with thePAEoption and more than 4 gigabytes of memory.
many parameters which determine how memory is used in the kernel are based on the amount of physical memory. the formulas used to determine the values of these parameters for specific memory configurations may not take into account the fact there may be more than 4 gigabytes of memory, and may not scale well to these memory configurations. in particular, it may be necessary to increase the amount of virtual address space available to the kernel, or to reduce the amount of a specific resource that is heavily used, in order to avoid running out of virtual address space. the KVA_PAGES option may be used to increase the kernel virtual address space, and the kern.maxvnodes sysctl(8) may be used to decrease the number of vnodes allowed β an example of a resource that the kernel is likely to overallocate in large memory configurations. for optimal performance and stability it may be necessary to consult the tuning(7) manual page, and make adjustments to the parameters documented there. π§
ngl bestie, if you're running PAE with more than 4GB and a sketchy driver, you're in your villain era and the data corruption arc is NOT the vibe check you want π
ok that's the whole page, ily, go forth and configure responsibly πβ¨
this lil love letter to physical address extensions came to you from Debian, dated April 8, 2003 β yeah she's vintage, and she ATE ππ§π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2003 Networks Associates Technology, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms