[Psyco-devel] Re: [Zope-Coders] Psyco release 0.4.0

Paul Everitt paul@zope.com
Fri, 01 Mar 2002 16:26:56 -0500


If that's true, then the command-line speed test should show a speedup 
(rather than running ab against the server).  Another useful test: the 
zodb load test.

--Paul

Petru Paler wrote:
> On Fri, 2002-03-01 at 18:56, Andreas Jung wrote:
> 
>>Just run ab against a Zope 2.5.0 instance and tested
>>the performance against a stupid PythonScript.
>>
>>Results:
>>
>>without psyco:   116 requests/second
>>with    psyco:    33 requests/second
>>
>>Jup, Zope is about 3.5 times slower *with* psyco.
>>Any explanations for this worse behaviour ?
>>
> 
> Just a wild, wild guess: this could be related to Psyco not doing the
> regular interval polling, so PyThreadState_Swap() doesn't get called as
> often as it should, ZServer piles up requests, the worker threads get
> starved, and so on.
> 
>