Hi,
I'm trying to understand the relationship between semaphores, semaphore sets 
and the relevant resource controls in solaris 10.

My current understanding is that the total number of semaphores available to a 
project is the product of 
project.max-sem-ids * process.max-sem-nsems (number of sets * number of 
semaphores per set).
Is that correct?

I also understand that when a set is full a request for an aditional semaphore 
will be allocated form another set if there is one available.
Again, is that right?

Last, if that is the case, why do we have sets to begin with? 
Why not use a single big pool of semaphores?
There must be some use to the sets or else I don't see why they would still be 
around but I can't figure out a case where a large number of small sets would 
be better than a small number of large sets.
Does anyone know?

Thank you for your advice,

Louis
-- 
This message posted from opensolaris.org
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to