Re: PAE on -current pitfalls and issues?

From: Peter Wemm <peter_at_wemm.org>
Date: Tue, 15 Jun 2004 13:57:58 -0700
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_at_wemm.org; peter_at_FreeBSD.org; peter_at_yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5
Received on Tue Jun 15 2004 - 18:58:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC