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: haymanr@icefog.alaska.edu (Randy M. Hayman) Subject: Re: Maximum size of a shared memory segement? Date: 1996/10/18 Message-ID: <546jns$edd@news.alaska.edu>#1/1 X-Deja-AN: 190471833 distribution: world references: <5455vf$rah@metro.atlanta.com> organization: University of Alaska reply-to: haymanr@icefog.alaska.edu 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. from a portion of my /etc/sysconfigtab (on a v3.2d-1 system): ipc: shm-max = 0x7f800000 shm-seg = 64 shm-mni = 128 #shm-max = 8192 * 1024 == maximum shared memory segment size (maxval = 2GB) # = 4194304 default # = 16777216 960312 rmhayman ( 16MB) # = 134217728 960702 rmhayman (128MB) # = 0x7f800000 960709 rmhayman (2GB - 8MB) # Digital Recommended Optimal Size # Reference: Page 5-18, Digital UNIX v4.0 Release Notes # # #shm-seg == maximum number of attached shared memory segments/ # process (max is 2^32 - 1, sizeof(int)?) # = 32 default # = 64 960312 rmhayman # #shm-mni == number of shared memory identifiers # (max is 2^32 - 1, sizeof(int)?) # = 100 default rounds to next higher # power of 2 # = 128 960312 rmhayman # I can't say where I came up with the max for shm-seg and shm-mni, other than looking at what `(dbx) whatis shminfo` returns. -- Randy M. Hayman haymanr@icefog.alaska.edu "Ethernet works in practice but not in theory" -- Bob Metcalfe