From owner-freebsd-questions@FreeBSD.ORG Mon Dec 13 15:39:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4A7116A4CE for ; Mon, 13 Dec 2004 15:39:16 +0000 (GMT) Received: from web54004.mail.yahoo.com (web54004.mail.yahoo.com [206.190.36.228]) by mx1.FreeBSD.org (Postfix) with SMTP id 43F7643D49 for ; Mon, 13 Dec 2004 15:39:16 +0000 (GMT) (envelope-from jumperooter@yahoo.com) Received: (qmail 98301 invoked by uid 60001); 13 Dec 2004 15:39:15 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=lzj31Z04YdPUVpKXLAV1nhYI8eWIq/hBj+LewQLV+ZQSD6hxwvKH84+lube52suL7AbmCXQ643X2PEXNsz+f2Uuac5g0AutpPGP4iaF5ogF+Qk8ChCB160bCVEvtQzrsz+3GRY7n0+In/tuTX8wzr9iAjyCxzy4yBXcDmyyGE00= ; Message-ID: <20041213153915.98299.qmail@web54004.mail.yahoo.com> Received: from [69.15.179.234] by web54004.mail.yahoo.com via HTTP; Mon, 13 Dec 2004 07:39:15 PST Date: Mon, 13 Dec 2004 07:39:15 -0800 (PST) From: John To: Kris Kennaway In-Reply-To: <20041212223045.GA57513@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: shared memory settings in 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Dec 2004 15:39:16 -0000 Thank you for the quick reply. That was very helpful. I thought I'd post what I found out for the next poor knob setting up sybase; The default setting of SHMMAXPGS appears to be 8192. Default page size is 4K, which gives you the 33554432 kern.ipc.shmmax value from sysctl. This means (if my math is right) you have 32mg of shared memory to allow sybase to grab. This is fine for the default sybase install (7500 2k pgs). I set 'options SHMMAXPGS=40960' in my recompiled kernel, which gives me a kern.ipc.shmmax 160 megs. This allowd me to set sybase's 'total memory' at 80,000 (2k pages) giving me just under 160 megs of memory available for data caches, which sybase is able to use at great advantage when the circumstances are right... J > > I have seen references to setting SHMMAXPGS, but am > > not quite > > sure how to set this or what units it is currently > > set in now. > This is set in your kernel configuration file. > Check GENERIC and > NOTES for the default settings. See the handbook > for more help on > building a kernel. __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail