Trevor Warren wrote at 2004-5-21 03:39 -0700:
--- Dieter Maurer <dieter@handshake.de> wrote:
You may increase the number of instructions before Python is ready to switch threads (again to reduce the number of thread switches). This, too, will not drastically improve throughput, though. [snip]
Where is this setting???. Is this the one in zope.conf mentioned as python_check_interval as "1000".
Yes.
... BTW Dieter, the number of hits/s are on the lines of yours. Out here we are taught to not look at them but total transactional throughput as defined by some very simple e-business tests.
Sure, as service times vary highly... My numbers should just give you a feeling, how fast you can get. It is highly unlikely that you can achieve more than 80 to 160 requests per second given your machine. Adding the service times for the individual requests together will give you an upper bound on the number of transactions. You will only get more, when you do either: * serve static content either from (external) caches or directly from Apache * increase CPU speed * increase number of CPU's and (accordingly) Zope processes Of course, you can combine these various approaches. -- Dieter