Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Feb 1998 02:57:22 -0700
From:      Dave Andersen <angio@angio.net>
To:        Damon Permezel <dap@damon.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: SHMMAXPGS 
Message-ID:  <199802130957.CAA28357@meowy.angio.net>
In-Reply-To: Your message of "Wed, 11 Feb 1998 01:53:26 CST." <199802110753.BAA01085@damon.com> 

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


> This appears to be due to:
> i386/include/vmparam.h:#ifndef  SHMMAXPGS
> i386/include/vmparam.h:#define  SHMMAXPGS       1024            /* XXX until we have more kmap space */
> 
> It has said this ever since 2.1.6 (as far back as I looked)
> 
> When will we have more kmap space?
> Where did it go?
> When did they come from?
> 
> Is this limitation still relevant?
> Can I just up this?  What is the max?  XX% of swap?

In your kernel config file:

options		"SHMMAXPGS=XXXX"

(At 4k per page, pick a value of XXXX that works for you.  I use
powers of two, but it may simply be a religious thing. :-)

I'm not sure why it's not in LINT for earlier versions, but it works
like a charm under modern FreeBSDs.

	Dave

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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