Message73176
> Yes, obviously. Although adding it to the client socket did make no
> difference after I had already done so for the server. Still
> communication is too slow by orders of magnitude. (Sorry for pointing
> this out again)
Well, if this precise use case is really important for you, I suggest
using Wireshark (or any other packet analyzer) to see what happens in
terms of latency between packets over the wire.
Something else: try replacing "localhost" with "127.0.0.1", perhaps your
DNS resolution eats a lot of time.
> I would greatly appreciate any help on the subject. How do *BSD
> sockets differ from Linux sockets and what do I do to make things
> faster.
I don't know, but I suspect the difference is more in the TCP stack
implementation than in the sockets layer.
In any case, I'm gonna close this bug, as this is very likely not a
Python problem. Please ask further questions on comp.lang.python, lots
of people there may help you :) |
|
Date |
User |
Action |
Args |
2008-09-13 11:31:21 | pitrou | set | recipients:
+ pitrou, ggenellina, giampaolo.rodola, Thorben, thorben |
2008-09-13 11:31:19 | pitrou | set | messageid: <1221305479.23.0.100207430016.issue3766@psf.upfronthosting.co.za> |
2008-09-13 11:31:18 | pitrou | link | issue3766 messages |
2008-09-13 11:31:17 | pitrou | create | |
|