Subject: Re: Increasing SHMMAXPGS
To: David Brownlee <abs@netbsd.org>
From: Perry E. Metzger <perry@wasabisystems.com>
List: tech-kern
Date: 05/19/2002 12:31:55
David Brownlee <abs@netbsd.org> writes:
> 	We default to SHMMAXPGS=1024, which seems rather small given this
> 	is the maximum limit and changes to it shouldn't affect the amount
> 	of memory in use unless an application takes advantage of a higher
> 	limit.
> 
> 	Ogle (to give an example) likes a SHMMAXPGS of 16384.
> 
> 	Would anyone object to increasing the default to 16384 for all
> 	platforms?

Yes. SHMMAXPGS should be nuked from orbit -- it should dynamically
size itself. (We should also somehow garbage collect segments that are
no longer associated with running processes.)


--
Perry E. Metzger		perry@wasabisystems.com
--
NetBSD: The right OS for your embedded design. http://www.wasabisystems.com/