Date: Tue, 18 Jul 2000 00:48:09 -0700 (PDT) From: Kelly Yancey <kbyanc@posi.net> To: Jaye Mathisen <mrcpu@internetcds.com> Cc: hackers@FreeBSD.ORG Subject: Re: -stable message... Which param Message-ID: <Pine.BSF.4.21.0007180035520.16861-100000@gateway.posi.net> In-Reply-To: <Pine.BSF.4.21.0007171016270.18895-100000@schizo.cdsnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007180035520.16861-100000>