Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!rsi!prcrs!paul From: paul@prcrs.prc.com (Paul Hite) Newsgroups: comp.sys.hp Subject: Re: Shared memory help on 800 series needed Message-ID: <2053@prcrs.prc.com> Date: 16 Jun 91 17:17:12 GMT References: Organization: PRC Realty Systems, McLean, VA Lines: 29 In article , hearth@Unify.Com (Donald S. Hearth) writes: > > Is there a way to configure the kernel on a HP 9000/800 series computer > to define the maximum size of individual shared memory segments? Well, the following shared memory parameters are available in the configuration file: shmmni 100; shmmni is the max number of shared mem segments systemwide. shmmax 0x4000000; shmmax is the max size of a shared mem segment. Warning: interacts with dmshm...change both at the same time. shmseg 12; shmseq is the mex number of shared mem segments per process. All of these came from prcrs' configuration file. prcrs is a 9000/850. There is one issue that you will encounter with porting shared memory stuff to the 800's. Your shmat(2) call must specify NULL for shmaddr. The 800's must be free to decide where in the address space to put the segment. But it will chose an address off in hyperspace. You will never have a shared memory/malloc collision. Paul Hite PRC Realty Systems McLean,Va paul@prcrs.prc.com (703) 556-2243 "We are trying to bring up an Air Traffic Control display on an X window terminal and there seems to be some problems." -- from comp.windows.x