home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!auspex-gw!guy
- From: guy@Auspex.COM (Guy Harris)
- Newsgroups: comp.unix.internals
- Subject: Re: SunOS 4.1: can you find out if EMOREIPCS is on?
- Message-ID: <14271@auspex-gw.auspex.com>
- Date: 25 Aug 92 19:41:38 GMT
- References: <geaCp5y00hNSMCml0F@cs.cmu.edu> <14235@auspex-gw.auspex.com> <geaY=QS00hNSAFZVAH@cs.cmu.edu>
- Sender: news@auspex-gw.auspex.com
- Organization: Auspex Systems, Santa Clara
- Lines: 41
- Nntp-Posting-Host: bootme.auspex.com
-
- >EMOREIPCS increases the amount of memory allocated to SysV shared memory
- >stuff. I'm 100% positive it is NOT a CMU hack because it is in the
- >instructions for the postgres installation.
-
- Then maybe it's a Postgres hack, or something, 'cuz I rooted through the
- SunOS 4.1 source *and* the SunOS 4.1.1 source, and there ain't no such
- option in it....
-
- >You have to make sure you have a kernel with extra-big shm stuff
- >allocated in it.
-
- *Definitely* sounds like *somebody's* local hack. If all you're trying
- to do is crank up the number of various SV IPC items, the standard SunOS
- way of doing that is to put "options <name>=<value>" lines into the
- "config" file, such as
-
- options MSGPOOL=N # message pool size in kilobytes
- options MSGMNB=N # default max # of bytes on a queue
- options MSGMNI=N # # of message queue identifiers
- options MSGTQL=N # # of system message headers
-
- options SEMMNI=N # # of semaphore identifers
- options SEMMNS=N # # of semaphores in system
- options SEMUME=N # max # of undo entries per process
- options SEMMNU=N # # of undo structures in system
-
- options SHMSIZE=N # maximum shared memory seg size in kilobytes
- options SHMMNI=N # # of shared memory identifiers
-
- That should be documented somewhere in the SunOS manual set.
-
- It sounds as if somebody hacked up the <sys/{msg,sem,shm}.h> header
- files, or "conf.common/param.c", to have one Big Magic Switch to crank
- many of those numbers up from their default values; if so, that somebody
- doesn't appear to have been Sun....
-
- If you want to know how big any of those *individual* items are, you can
- "adb" your "/vmunix" and look at the "msginfo", "seminfo", and
- "shminfo" structures to see what the values were set to. See
- "conf.common/param.c", and the aforementioned header files, to see where
- you should be looking.
-