From owner-freebsd-current Fri Jun 23 12:56:26 2000 Delivered-To: freebsd-current@freebsd.org Received: from kronos.networkrichmond.com (kronos.networkrichmond.com [64.240.180.22]) by hub.freebsd.org (Postfix) with ESMTP id 12E5837B89C; Fri, 23 Jun 2000 12:56:22 -0700 (PDT) (envelope-from kbyanc@kronos.networkrichmond.com) X-Provider: Network Richmond, LLC. http://www.networkrichmond.com/ Received: (from root@localhost) by kronos.networkrichmond.com (8.9.3/8.9.3/antispam) id PAA89634; Fri, 23 Jun 2000 15:56:20 -0400 (EDT) Newsgroups: Date: Fri, 23 Jun 2000 15:55:20 -0400 (EDT) From: Kelly Yancey X-Sender: kbyanc@kronos.networkrichmond.com To: Christopher Masto Cc: Maxim Sobolev , gnome-list@gnome.org, current@FreeBSD.ORG Subject: Re: Gnome INSANE shared memory usage Fcc: sent-mail In-Reply-To: <20000623135528.A13894@netmonger.net> Message-ID: X-Reply-UID: (2 > )(1 961787772 121)/var/mail/kbyanc MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 23 Jun 2000, Christopher Masto wrote: > Unfortunately, these are my current settings: > > options SHMALL=1025 > options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)" > options SHMMAXPGS=1025 > options SHMMIN=2 > options SHMMNI=256 > options SHMSEG=128 > > I can increase it more, but I think this is quite a ridiculous amount > of shared memory to be using. Something must be wrong. > I have recently seen the same thing with 4.0-STABLE and XF86-4.0. I found that I had to up both SHMSEG and SHMMAXPGS. Specifically, on each machine setting SHMSEG to 100 and SHMMAXPGS to 2048 did the trick. I think that besides using many separate shared memory segments, the segments themselves are somewhat large. Seeing as how XF86-4 is in everyone's future, is there any reason not to nip these sort of problems now and up increase the default values for SHMSEG and SHMMAXPGS? The amount of additional kernel memory required is negligable for modern systems. 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-current" in the body of the message