[Zope-dev] Medusa Request Queue/profiling

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 10 Oct 2002 18:07:50 +0100


On Thursday 10 Oct 2002 5:06 pm, Brian R Brinegar wrote:

> And my first
> intuition is to increase the number of threads.

If your system is already cpu bound then your intuition may be wrong. mor=
e=20
threads means more context switching overhead reducing overall throughput=
,=20
each request takes longer because they get a smaller share of the cpu, an=
d a=20
larger memory overhead (memory usage is proportional to the number of=20
threads)