Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 18:07:07 -0400 (AST)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Sridhar Chellappa <schellap@spinnakernet.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Kernel Virtual Address Space
Message-ID:  <20040129180518.P6922@ganymede.hub.org>
In-Reply-To: <40196875.1050307@spinnakernet.com>
References:  <40196875.1050307@spinnakernet.com>

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



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