large pages

Chuck Swiger cswiger at mac.com
Tue Jul 3 15:47:36 UTC 2007


Wojciech Puchar wrote:
> how can i check in program that the region is mapped using huge pages?

I am not entirely sure from within userland, but I believe the kernel boot 
messages will indicate the status of PAE.

> i use mmap with address padded to 4M and mlock.

Note that there is a separate tunable for the maximum # of pages that a 
process or user can lock down; you'll probably need to increate that value.

-- 
-Chuck


More information about the freebsd-questions mailing list