Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jun 2004 13:57:58 -0700
From:      Peter Wemm <peter@wemm.org>
To:        freebsd-current@freebsd.org
Cc:        Daniel Lang <dl@leo.org>
Subject:   Re: PAE on -current pitfalls and issues?
Message-ID:  <200406151357.58738.peter@wemm.org>
In-Reply-To: <20040615125552.GB4779@atrbg11.informatik.tu-muenchen.de>
References:  <20040615124605.GA4779@atrbg11.informatik.tu-muenchen.de> <20040615125552.GB4779@atrbg11.informatik.tu-muenchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 15 June 2004 05:55 am, Daniel Lang wrote:
> Hi again,
>
> Daniel Lang wrote on Tue, Jun 15, 2004 at 02:46:05PM +0200:
> [..]
>
> > - Do I need to include 'options PAE' somehow into the
> >   build of the kernel-modules in order to use them?
> >   Or is a pure static kernel the only option?
>
> I just stumbled across the handbook section about PAE,
> so this says modules are not working. I assume this is
> still the case.

There's a gotcha with KVA_PAGES.  On a standard kernel, there are 1024 
Page directory slots.  By default we use 256 of them for 1 out of 4GB.

On a PAE kernel, there are now 2048 page directory slots.  The same 1:3 
split requires a default KVA_PAGES of 512.  So if you want to increase 
KVA beyond the default 1GB, do not forget to take the scaling into 
account.

> Cheers,
>  Daniel

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



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