From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c1109a7110d1df53 X-Google-Attributes: gidfee84,public From: curts@compgen.com (Curt Smith) Subject: Re: Maximum size of a shared memory segement? Date: 1996/10/17 Message-ID: <5455vf$rah@metro.atlanta.com>#1/1 X-Deja-AN: 190044686 references: organization: Internet Atlanta cc: kenr@sed.stel.com newsgroups: comp.unix.osf.osf1 Ken Reed (kenr@sed.stel.com) wrote: : : Anyone know what the maximum size of a shared memory segment is under : DEC UNIX and the maximum number of system-wide segements you can have? : : A pointer to where this information is documented would be a great : help. sysconfig -q vm displays the kernel tunables you may change in /etc/sysconfigtab The following is what I've done for shared memory: vm: # Number of shared memory segments in the system vm-mapentries=1000 # Max task virtual size vm-maxvas = 1099511627776 # Allows task image to grow larger than physical RAM, as long # as you have enough swap/virtual memory. vm-nowait-memalloc=1 # # Pre-allocating RAM for shared mem use, to avoid a bug in # tasks attaching >> 512Mb. # gh-chunks=NNN Where NNN is 4Mb chunks that is reserved # for shared memory attaches. # # gh-fail-if-no-mem=0 If gh-chunks is too small, then use std UBC RAM # which is the normal scenario... Curt Smith curts@compgen.com