[Twisted-Python] dramatic slowdown in pbbenchclient.py / pbbenchserver.py
James Y Knight
foom at fuhm.net
Wed Jan 26 14:32:40 MST 2005
On Jan 26, 2005, at 1:48 PM, russ wrote:
> The slowdown only appears between two different computers. If I run
> it on a single computer I get 700 cps. If I run it between two
> separate computers but with one or two simultaneous deferreds, then
> there's only a very minor slowdown. I'm running on windows 2000 with
> Twisted-1.3.0.win32-py2.3.exe.
> What do you think? Is this a strange behaviour of twisted or is there
> something screwed up with my networking?
It is possible this is due to the immediate-write behavior of twisted
1.3 combined with the TCP Nagle algorithm. You could try calling
transport.setTcpNoDelay(True) on both ends (the client and the server
end) to see if that helps.
James
More information about the Twisted-Python
mailing list