Re: large pages

2007-07-03 Thread Chuck Swiger
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

Re: large pages

2007-07-03 Thread Wojciech Puchar
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

Re: large pages

2007-07-03 Thread Wojciech Puchar
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? what version?

Re: large pages

2007-07-01 Thread Chuck Swiger
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