From owner-freebsd-questions Tue Sep 5 14: 6:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from css-1.cs.iastate.edu (css-1.cs.iastate.edu [129.186.3.24]) by hub.freebsd.org (Postfix) with ESMTP id E9B1637B422 for ; Tue, 5 Sep 2000 14:06:54 -0700 (PDT) Received: from popeye.cs.iastate.edu (ghelmer@popeye.cs.iastate.edu [129.186.3.4]) by css-1.cs.iastate.edu (8.9.0/8.9.0) with ESMTP id QAA09423; Tue, 5 Sep 2000 16:06:54 -0500 (CDT) Received: from localhost (ghelmer@localhost) by popeye.cs.iastate.edu (8.9.0/8.9.0) with ESMTP id QAA19454; Tue, 5 Sep 2000 16:06:49 -0500 (CDT) X-Authentication-Warning: popeye.cs.iastate.edu: ghelmer owned process doing -bs Date: Tue, 5 Sep 2000 16:06:48 -0500 (CDT) From: Guy Helmer To: "Paul J. Dolan" 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 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