bottleneck testcase based on rubbos
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / server / mpm / experimental / leader / README
1 Leader MPM:
2 This is an experimental variant of the standard worker MPM.
3 It uses a Leader/Followers design pattern to coordinate work among threads:
4 http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf
5
6 To use the leader MPM, add "--with-mpm=leader" to the configure
7 script's arguments when building the httpd.
8   
9 This MPM depends on APR's atomic compare-and-swap operations for
10 thread synchronization.  If you are compiling for an x86 target
11 and you don't need to support 386s, or you're compiling for a
12 SPARC and you don't need to run on pre-UltraSPARC chips, add
13 "--enable-nonportable-atomics=yes" to the configure script's
14 arguments.  This will cause APR to implement atomic operations
15 using efficient opcodes not available in older CPUs.