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


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to