[Twisted-Python] Twisted server is 5 times SLOWER on Solaris thanLinux?

Jean-Paul Calderone exarkun at divmod.com
Fri Jan 19 14:08:17 EST 2007


On Fri, 19 Jan 2007 11:16:20 -0500, Jarrod Roberson <jarrod at vertigrated.com> wrote:
>On 1/18/07, Jacob Gabrielson <jacob at cozi.com> wrote:
>>
>>  It would be interesting to know where the CPU time is actually going.
>
>Sorry hit return by accident.
>
>Twisted is eating up all the CPU time.
>
>What is "slow" is the latency of the entire round trip thru the Twisted
>reactor loop. It is without a doubt Twisted that is the bottleneck.
>

Can you tell if most of the time is user or system?  If system time is what
dominates, it may be worthwhile to investigate /dev/poll.  If most time is
spent in userspace, though, you may be right about Twisted being the bottle
neck.

Jean-Paul




More information about the Twisted-Python mailing list