In a message dated 8/28/02 11:48:47 PM, [EMAIL PROTECTED] writes:

> Subject: ns_param SystemScope obsolete?
> 
> Is the ns_param SystemScope obsolete?
> 
> Grepping through both the 3.3+ad13 and 4.x (cvs head) sources, I don't
> see it anywhere.  It looks to me as if the thread scope is determined
> solely by -DUSE_PTHREAD_SYSSCOPE=1 in Makefile.global at compile time.
> Is this true?  Is SystemScope just an old leftover from AOLserver
> 2.3.3?
> 
> From the code, I'm pretty sure the answer is "thread system scope is
> determined solely at compile time, ns_param SystemScope is ignored",
> but on a 2 processor Sun box, it looked to me as if I was getting
> higher CPU utilization (as reported by top) with SystemScope set to on
> than with it off.  Which I suspect was just my imagination, but...
> 


Correct - SystemScope setting is now ignored.   The latest thinking is system 
scope is always better.   Linux has always been system scope only.   Sun did 
a lot of work on this in Solaris 8 and decided to remove process scope 
altogether starting in version 9 - details here:

http://soldc.sun.com/articles/alt_thread_lib.html

-Jim

Reply via email to