Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2007 17:20:16 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: large pages
Message-ID:  <20070703171849.R18529@wojtek.tensor.gdynia.pl>
In-Reply-To: <46885761.9050302@mac.com>
References:  <20070701203720.X64116@wojtek.tensor.gdynia.pl> <46885761.9050302@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070703171849.R18529>