From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,de8eee5ef5a6e551,start X-Google-Attributes: gidfee84,public X-Google-Thread: 10c665,de8eee5ef5a6e551,start X-Google-Attributes: gid10c665,public X-Google-Thread: 10663e,de8eee5ef5a6e551,start X-Google-Attributes: gid10663e,public From: curts@compgen.com (Curt Smith) Subject: Kernel Q: How many Shared Mem segments?? Date: 1996/03/14 Message-ID: <4i9c2d$cf4@nntp.atlanta.com>#1/1 X-Deja-AN: 142718869 organization: Internet Atlanta newsgroups: comp.unix.osf.osf1,comp.unix.sys5.r4,comp.unix.unixware.misc I have a few basic questions about DEC Unix / SVR4 kernels regarding management of shared memory segments? Back ground: I'm designing an IPC library that will use groupings of SYSV shared memory segments. The dynamics of this IPC concept would deliver a boundless, extendability feature to shared memory that is not normally present, but is a part of a disk file... The bottom line is that this design would create a lot of shared memory segments that would have variable life times. 10 to 100 segments attached to each task, and 100's in the system. Question: What impacts does 10-100 segments attached to one task have on the O.S.? In SVR4 the kernel tunable SHMSEG limits the max number that can be attached to a task. What if SHMSEG was raised to 100? What kernel internal limits or performance issues come into play if there are 1000 in the system? Any insights, info or advice is welcome. Thanks. Curt. Curt Smith curts@compgen.com