Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jul 2007 11:47:26 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: large pages
Message-ID:  <468A6F8E.8030808@mac.com>
In-Reply-To: <20070703171849.R18529@wojtek.tensor.gdynia.pl>
References:  <20070701203720.X64116@wojtek.tensor.gdynia.pl> <46885761.9050302@mac.com> <20070703171849.R18529@wojtek.tensor.gdynia.pl>

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



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