Date: Mon, 13 Dec 2004 07:39:15 -0800 (PST) From: John <jumperooter@yahoo.com> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-questions@freebsd.org Subject: Re: shared memory settings in 5.3 Message-ID: <20041213153915.98299.qmail@web54004.mail.yahoo.com> In-Reply-To: <20041212223045.GA57513@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041213153915.98299.qmail>