[Python-Dev] Re: [Psyco-devel] Re: [Zope-Coders] Psyco release 0.4.0
Petru Paler
ppetru@ppetru.net
01 Mar 2002 22:42:00 +0200
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.
--
Petru Paler, http://www.ppetru.net