On Wednesday 19 September 2001 01:21 pm, Greg Ames wrote: > Aaron Bannert wrote: > > 2) How long should the queue be? Should we just set some arbitrary > > constant, defined in mpm_default.h, or should we come up with some > > heuristic? > > Ideally, you would have 0 connections on the queue most of the time. > Then, just before some worker gets done with its last connection, 1 new > connection briefly appears in the queue. That gives you the minimum > latency without a lot of blocking & unblocking overhead. Of course you > can't control the incoming connection rate in the real world, but you > can control the number of threads which are actively trying to consume > from the queue. > > For now, ThreadsPerChild might be fine. I'd feel a little better about > some small constant, like 5 or 10. But the code does need to learn to > deal with "queue full" more gracefully. Guys, please take a look at the archives. Manoj did these tests over a year ago. ThreadsPerChild is the optimal value. We have run the numbers once already. Ryan ______________________________________________________________ Ryan Bloom [EMAIL PROTECTED] Covalent Technologies [EMAIL PROTECTED] --------------------------------------------------------------
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Greg Stein
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Bill Stoddard
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Rodent of Unusual Size
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Bill Stoddard
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Cliff Woolley
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Aaron Bannert
- Re: cvs commit: httpd-2.0/server/mpm/worker wo... Jeff Trawick
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Ryan Bloom
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Jeff Trawick
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Greg Ames
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Ryan Bloom
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Aaron Bannert
- Re: cvs commit: httpd-2.0/server/mpm/worker wo... Jeff Trawick
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Jeff Trawick
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Ryan Bloom
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Ryan Bloom
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Ryan Bloom
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Aaron Bannert
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Ryan Bloom
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Aaron Bannert
- Re: cvs commit: httpd-2.0/server/mpm/worker worker.... Alex Stewart