large pages

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Tue Jul 3 15:20:21 UTC 2007


how can i check in program that the region is mapped using huge pages? i 
use mmap with address padded to 4M and mlock.


On Sun, 1 Jul 2007, Chuck Swiger wrote:

> Wojciech Puchar wrote:
>> does FreeBSD {can,will,patch exist} supports using huge pages? i mean 2M 
>> pages on AMD64 and 2/4M pages on i386
>
> I believe so, yes-- isn't this what the PAE kernel option does?
>
>> i need freebsd just for running one program needing about 1280 megs of data 
>> space (+1-2 meg of code stacks etc. can be normally mapped). everything 
>> else is just using less than 1% of power.
>> 
>> with 1536MB AMD64 machine it would be nice for FreeBSD to boot seeing 256 
>> megs for itself and allowing 1280 megs to be mapped&locked to just one 
>> program.
>
> Hmm.  Doesn't FreeBSD's default VM behavior do just fine dealing with one 
> large active process without any unusual tuning?
>
> -- 
> -Chuck
>
>


More information about the freebsd-questions mailing list