From owner-freebsd-questions Tue Sep 5 15: 5: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from luna.oit.unc.edu (luna.oit.unc.edu [152.2.22.4]) by hub.freebsd.org (Postfix) with ESMTP id 8057737B422 for ; Tue, 5 Sep 2000 15:04:57 -0700 (PDT) Received: from titan.oit.unc.edu (titan.metalab.unc.edu [152.2.210.14]) by luna.oit.unc.edu (8.9.3/8.9.3) with ESMTP id SAA29567; Tue, 5 Sep 2000 18:03:23 -0400 (EDT) Received: from localhost (pdolan@localhost) by titan.oit.unc.edu (8.8.6/8.8.6/rchk1.19) with ESMTP id SAA15398; Tue, 5 Sep 2000 18:04:55 -0400 (EDT) X-Authentication-Warning: titan.oit.unc.edu: pdolan owned process doing -bs Date: Tue, 5 Sep 2000 18:04:54 -0400 (EDT) From: "Paul J. Dolan" X-Sender: pdolan@titan.oit.unc.edu To: Guy Helmer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Increasing Shared Memory in 4.1 kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Guy, Thanks for the quick response. Unfortunately, I don't see kern.ipc.shmmax kern.ipc.shmall as valid parameters in `man sysctl` If they do not show up as available in my sysctl manual are they actually available? Setting these parameters and rebooting produced no positive results. FreeBSD 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Tue Sep 5 15:26:22 EDT 2000 i386 Do you have any further advice? Thanks, Paul J. Dolan On Tue, 5 Sep 2000, Guy Helmer wrote: > On Tue, 5 Sep 2000, Paul J. Dolan wrote: > > > Hi, > > > > I'm trying to increase the default Shared Memory > > Max Segment Size in the 4.1 kernel. > > > > Right now the limit seems to be 4 MB. > > Does anyone have notes on how to rebuild > > the kernel to allow for up to 64 MB segments? > > I've made similar changes without having to rebuild the kernel by changing > the sysctl parameters via /etc/sysctl.conf: > > kern.ipc.shmmax=67108864 > kern.ipc.shmall=32768 > > These particular values for these parameters allow for about 50 megabytes, > according to a program that searches for the largest block of shared > memory that it can allocate. Try increasing these values a bit so you can > obtain 64MB segments... > > Hope this helps, > Guy > > Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science > Research Assistant, Dept. of Computer Science --- ghelmer@cs.iastate.edu > http://www.cs.iastate.edu/~ghelmer > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message