From owner-freebsd-stable Fri May 4 11:50:19 2001 Delivered-To: freebsd-stable@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E218137B422 for ; Fri, 4 May 2001 11:50:16 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id f44IoCN01818; Fri, 4 May 2001 11:50:12 -0700 (PDT) Date: Fri, 4 May 2001 11:50:12 -0700 From: Alfred Perlstein To: Matt Dillon Cc: lists@mediumgreen.com, freebsd-stable@FreeBSD.ORG Subject: Re: Should /sys/i386/conf/GENERIC's SysV shared memory settings+defaults be re-thought? Message-ID: <20010504115012.S18676@fw.wintelcom.net> References: <200105041729.f44HTjr27074@earth.backplane.com> <200105041847.f44IlMl30759@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200105041847.f44IlMl30759@earth.backplane.com>; from dillon@earth.backplane.com on Fri, May 04, 2001 at 11:47:22AM -0700 X-all-your-base: are belong to us. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Matt Dillon [010504 11:48] wrote: > :> whether I have to raise SHMMNI and SHMSEG even higher -- I'm guessing > :> that your problems were mostly due to the too-low SHMMAXPGS default. > : > :I've seen similar issues with my home machine. If I leave vmware running, > :my backups fail. I haven't yet gotten around to rebuilding the kernel with > :the shm setting changed. > : > :Here is my current ipcs output: > : > :... > > Thanks guys. As I thought.. the issue is almost certainly the shared > memory maximum. I've raised the default from 4M to 32M in -current > and I will MFC it to -stable on monday. I also raised the control > structure limits slightly. Afaik solaris has kern.ipc.shm_use_phys set to 1 automagically, meaining that shared memory is not pageable. what are your thoughts on making that the default? -- -Alfred Perlstein - [alfred@freebsd.org] Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message