Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: edo@cis.ohio-state.edu (Eric Osborne)
Subject: Re: Size of Shared Memory?
Date: 15 Mar 1995 11:42:45 -0500	[thread overview]
Message-ID: <3k75e5INN2lf@umble.cis.ohio-state.edu> (raw)
In-Reply-To: 3j78ra$j1g@larch.cc.swarthmore.edu




>Can I change the "size of shared memory"?
>If so, what are the kernal parameters that control it and where do I enter them
>in the configuration file?

If you're using the latest (3.0 or 3.2) versions of OSF/1, try checking out
sysconfig and sysconfigdb.  You can modify many kernel parameters, including
the shared memory segment sizes, without having to rebuild the kernel.

sysconfig -q ipc should show you the current settings.  You can redirect those
into a file, edit it to taste, and then use sysconfigdb to put them into the
database.  The change will take effect on reboot.  It appears that ultimately,
it will be possible to modify many parameters on the fly using this 
mechanism.

By the way, the current size of a single shared memory segment is restricted
to about 2GB.  The kernel object that keeps track of the shared memory segment
size maximum is a signed integer.  So, if you set the shared memory segment
maximum size to >2GB, weird stuff happens.

Hope that helps.
Eric Osborne



  reply	other threads:[~1995-03-15 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-03 13:14 Size of Shared Memory? John Boccio
1995-03-03 14:24 ` John P. Speno
1995-03-15 16:42   ` Eric Osborne [this message]
1995-03-10 15:05 ` Torbj|rn Lindgren
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox