4M page size

Scott scottl at samsco.org
Mon Feb 21 06:44:12 PST 2005


Petri Helenius wrote:
> 
> Is there a way currently to utilize 4M page size with FreeBSD for large 
> data set programs (to optimize TLB misses)?
> 
> Pete
> 

FreeBSD/i386 uses 4MB pages to hold the kernel text and data, but there
is no way (to my knowledge) to ask the pmap layer for a 4MB page after
that either from the kernel or from userland.  However, it's also my
understanding that most non-Xeon CPUs only have a 4kb TLB, and 4MB pages
are just broken down into 4kb chunks for it.

Scott


More information about the freebsd-hackers mailing list