From: Jeff Denham <jdenham@brighttiger.com>
Subject: Re: 3.2G to 4.0D Benchmark Comparison
Date: 1998/06/23 [thread overview]
Message-ID: <358FAAE1.B3F5AB47@brighttiger.com> (raw)
In-Reply-To: 358e8086.8128540@149.174.211.108
Ron Heiby wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Jeff Denham <jdenham@brighttiger.com> wrote:
> >Just as an experiement, try using System Contention Scope
> >threads, which area first supported in V4.0D.
>
> Jeff, Thanks much for the great tip! It looks like you were right on
> target. Although I haven't yet finished running all of the flavors and
> levels of benchmark, the ones I have run have been very close to the
> previous performance levels.
>
> Once you pointed out that this change had happened, I downloaded some of
> the 4.0D documentation and found the sections that discuss this change.
> Reading the manual, one would never suspect that this would be the cause
> of the performance drop I'm seeing. Do you know of any better description
> of the pros and cons of one scope vs. the other? I've got the
> Norton/Dipasquale "Threadtime" book and the pthreads book from O'Reilley,
> and will be diving into them, looking for such a discussion. If you know
> of anywhere else, I'd appreciate a pointer.
Personally, I think Dave Butenhof's Addison-Wesley book,
_Programming_with_POSIX_Threads_ gives you the
most bang for your buck. There's a good discussion
of contention scope in there.
The best discussions of scope has been over the last few months
in comp.programming.threads -- check back in time with
dejanews.com.
Digital threading people contend that PCS threads are the
"best" and should be used exclusivley, except for occasional exceptions,
usually involving I/O. There are ongoing efforts
to reduce the overhead of PCS threads and narrow the
performance gap for those special cases (like yours).
The next major release of Compaq's Digital UNIX (tm)
(probably called V5.0) should look a little better at least.
A rule of thumb is of thumb here is to start out with
PCS threads (as you did) and only fall back to SCS
threads when performance doesn't live up to expectations.
BTW, there's no way to make you "main" thread SCS,
so you'll always have at least on PCS thread in the mix
In the Solaris world, where I've been hanging out the last
6 months or so, SCS threads are used almost exclusively.
This came about because of implementation deficiencies in
the Solaris 2-level scheduler. Things have gotten a little
better in 2.6, but everyone still uses SCS threads. I know
I do.
__________________________________________________
Jeff Denham (jdenham@brighttiger.com)
Bright Tiger Technologies
SmartCluster� Software for Distributed Web Servers
http://www.brighttiger.com
125 Nagog Park
Acton, MA 01720
Phone: (978) 263-5455 x177
Fax: (978) 263-5547
prev parent reply other threads:[~1998-06-23 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-18 4:00 3.2G to 4.0D Benchmark Comparison Ron Heiby
1998-06-19 4:00 ` Phil Hodges
1998-06-19 4:00 ` Ron Heiby
1998-06-19 4:00 ` Jeff Denham
1998-06-22 4:00 ` Ron Heiby
1998-06-23 4:00 ` Jeff Denham [this message]
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