Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 12:35:17 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Terry Lambert <tlambert2@mindspring.com>
Cc:        current@freebsd.org
Subject:   Re: Best way to get max KVA setting?
Message-ID:  <20030625123457.J7607@odysseus.silby.com>
In-Reply-To: <3EF95C9D.2CE63283@mindspring.com>
References:  <20030625002841.X7607@odysseus.silby.com> <3EF95C9D.2CE63283@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 25 Jun 2003, Terry Lambert wrote:

> Mike Silbersack wrote:
> > I could probably grep for this, but what's the best way to get a hold of
> > the # of pages (or MB of ram) that max KVA is set to?  I'm adding another
> > autosize option, and I want to base it on min (KVA, ram) so that it
> > doesn't balloon on boxes where ram >> KVA.
>
> I posted a patch about a month ago that did exactly this.
>
> It was for a guy who was was running with PAE enabled on an
> 8G machine, and the autotuning was shooting him in the foot
> when it tried to grab enough memory to create kmem_map entries
> for the 8G of RAM in his 2G KVA space, and its head exploded.
>
> Let me know if you can't find it in the -current archives, and
> I can dig it out for you, if you're willing to wait a day or
> two.
>
> -- Terry

I found the thread in question, but I didn't see a patch.

Mike "Silby" Silbersack



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