From owner-freebsd-hackers Tue Jul 18 0:46:25 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gateway.posi.net (c1096725-a.smateo1.sfba.home.com [24.20.139.104]) by hub.freebsd.org (Postfix) with ESMTP id 0588637BC39 for ; Tue, 18 Jul 2000 00:46:17 -0700 (PDT) (envelope-from kbyanc@posi.net) Received: from localhost (kbyanc@localhost) by gateway.posi.net (8.9.3/8.9.3) with ESMTP id AAA16972; Tue, 18 Jul 2000 00:48:10 -0700 (PDT) (envelope-from kbyanc@posi.net) Date: Tue, 18 Jul 2000 00:48:09 -0700 (PDT) From: Kelly Yancey To: Jaye Mathisen Cc: hackers@FreeBSD.ORG Subject: Re: -stable message... Which param In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 17 Jul 2000, Jaye Mathisen wrote: > newsfeed-inn2# Jul 17 10:14:07 newsfeed-inn2 > /kernel: pmap_collect: collecting pv entries -- suggest increasing > PMAP_SHPGPERPROC > > Don't see this one in LINT. > > Anybody have any wild guesses as to good values? > > newsfeed-inn2# sysctl -a | grep shm > kern.ipc.shmmax: 4194304 > kern.ipc.shmmin: 1 > kern.ipc.shmmni: 96 > kern.ipc.shmseg: 64 > kern.ipc.shmall: 1024 > There was quite some discussion about this about a month ago, you should be able to find in the archives by searching for SHMMAXPGS. The relavent LINT values are: options SHMALL=1025 options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" options SHMMAXPGS=1025 options SHMMIN=2 options SHMMNI=33 options SHMSEG=9 Generally, it is safe to increase SHMMAXPGS. Without knowing the specifics of your application, I would suggest increasing it to 2048 (i.e. double the default) and see if that does the trick. If not, keep increasing it by 1024 until it does. Kelly -- Kelly Yancey - kbyanc@posi.net - Belmont, CA System Administrator, eGroups.com http://www.egroups.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message