Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Kernel Q: How many Shared Mem segments??
@ 1996-03-14  5:00 Curt Smith
  1996-03-17  5:00 ` John Hughes
  0 siblings, 1 reply; 2+ messages in thread
From: Curt Smith @ 1996-03-14  5:00 UTC (permalink / raw)


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Kernel Q: How many Shared Mem segments??
  1996-03-14  5:00 Kernel Q: How many Shared Mem segments?? Curt Smith
@ 1996-03-17  5:00 ` John Hughes
  0 siblings, 0 replies; 2+ messages in thread
From: John Hughes @ 1996-03-17  5:00 UTC (permalink / raw)


In article <Pine.SV4.3.91.960316141231.14612A-100000-100000@mail> Dan Ellis <ellis@admin.microserve.net> writes:

Dan>   Beware... The shared memory code in Unixware 2.0x is pretty buggy.  I 
Dan>   have had a few incidents where allociating memory with the 
Dan>   "auto-memory location" on shmget would return 2 different locations 
Dan>   with the same key..

What makes you think this is a bug?  Does it say anywhere that using
the same key will get the same address?  I think not!
--
John Hughes <john@AtlanTech.COM> or <JH10@CalvaCom.FR>,
	Atlantic Technologies Inc.		Tel: +33-1-43204546
	24 rue Montbrun,			Fax: +33-1-43204579
	75014 PARIS.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-03-17  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-14  5:00 Kernel Q: How many Shared Mem segments?? Curt Smith
1996-03-17  5:00 ` John Hughes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox