+---------- On Sep 21, Jim Wilcoxson said:
> Rob - if we look at a simple case of all requests being CPU bound,
> 2 CPUs, and service time varies from .5 seconds to 3 minutes, then
> maxthreads should be set a 2 to maximize jobs per second. But if 2
> 3-minute jobs come in, everyone suffers. If maxthread were set higher,
> jobs per second may be lower because of a decrease in efficiency
> (context switches increase), but I have happier customers. :)

Yes.  If you can classify your requests according to resource usage,
then you can improve the site by having separate servers dedicated to
different request types.

At ArsDigita, I suggested this configuration (but I don't know if we
every fully deployed it): one server (or set of servers) for completely
static entities like images and style sheets; one for "lightweight"
pages - bboard messages/indexes, classified ads, etc.; and one for
"heavyweight" pages - various types of searches.

Reply via email to