From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 29 14:11:34 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA8ED16A4CE for ; Thu, 29 Jan 2004 14:11:34 -0800 (PST) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0DEF43D6B for ; Thu, 29 Jan 2004 14:11:10 -0800 (PST) (envelope-from scrappy@hub.org) Received: by ganymede.hub.org (Postfix, from userid 1000) id 7914D36ADD; Thu, 29 Jan 2004 18:07:07 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 783A735252; Thu, 29 Jan 2004 18:07:07 -0400 (AST) Date: Thu, 29 Jan 2004 18:07:07 -0400 (AST) From: "Marc G. Fournier" To: Sridhar Chellappa In-Reply-To: <40196875.1050307@spinnakernet.com> Message-ID: <20040129180518.P6922@ganymede.hub.org> References: <40196875.1050307@spinnakernet.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: Kernel Virtual Address Space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2004 22:11:34 -0000 On Thu, 29 Jan 2004, Sridhar Chellappa wrote: > As part of the Bootup sequence, I see create_pagetables allocate only 30 > Pages for Page Table entries in non-PAE mode and 120 pages in PAE mode. > Does this mean that all the kernel mode entities get only 4 * 30 * 1024 > * 1024 = 120 MB worth of Address Space ? Can I tune the kernel virtual > address space by just changing the "NKPT" define in pmap.h ? I don't believe so ... on our servers, we set the KVA_PAGES value: jupiter# grep KVA /etc/make.conf CFLAGS= -O -mpentium -pipe -g -DKVA_PAGES=512 COPTFLAGS= -O -mpentium -pipe -DKVA_PAGES=512 we do it in make.conf, since doing it into the kernel config itself doesn't propogate to various userland binaries that also need to know of the change ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664