From: haymanr@icefog.alaska.edu (Randy M. Hayman)
Subject: Re: Maximum size of a shared memory segement?
Date: 1996/10/18 [thread overview]
Message-ID: <546jns$edd@news.alaska.edu> (raw)
In-Reply-To: 5455vf$rah@metro.atlanta.com
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
next prev parent reply other threads:[~1996-10-18 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-10-16 4:00 Maximum size of a shared memory segement? Ken Reed
1996-10-17 4:00 ` Curt Smith
1996-10-18 4:00 ` Randy M. Hayman [this message]
1996-10-21 4:00 ` Ken Reed
1996-10-17 4:00 ` Patrick O'Rourke USG
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