From owner-freebsd-current@FreeBSD.ORG Tue Jun 15 20:58:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E77E16A4CE for ; Tue, 15 Jun 2004 20:58:44 +0000 (GMT) Received: from daintree.corp.yahoo.com (daintree.corp.yahoo.com [216.145.52.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 541FE43D2F for ; Tue, 15 Jun 2004 20:58:44 +0000 (GMT) (envelope-from peter@yahoo-inc.com) Received: by daintree.corp.yahoo.com (Postfix, from userid 2154) id 18FE0881B; Tue, 15 Jun 2004 13:57:59 -0700 (PDT) From: Peter Wemm To: freebsd-current@freebsd.org Date: Tue, 15 Jun 2004 13:57:58 -0700 User-Agent: KMail/1.6.1 References: <20040615124605.GA4779@atrbg11.informatik.tu-muenchen.de> <20040615125552.GB4779@atrbg11.informatik.tu-muenchen.de> In-Reply-To: <20040615125552.GB4779@atrbg11.informatik.tu-muenchen.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406151357.58738.peter@wemm.org> cc: Daniel Lang Subject: Re: PAE on -current pitfalls and issues? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 20:58:44 -0000 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