[issue3766] socket.socket.recv broken (unbearably slow)

2008-09-10 Thread Thorben Krueger
Thorben Krueger <[EMAIL PROTECTED]> added the comment: As promised, here is the profiler output for a Mac (thanks Stefan). The problem does NOT occur here, which should help greatly in tracking down the cause in the socket library. Anyone into this? $ python runme.py 500 packets @ 2 token

[issue3766] socket.socket.recv broken (unbearably slow)

2008-09-03 Thread Thorben Krueger
New submission from Thorben Krueger <[EMAIL PROTECTED]>: Under Linux 2.6.24-1-amd64 as well as 2.6.26 (x86-32), Python versions 2.5.2 and 2.4.4 (on both machines), there is a huge discrepancy between socket read latencies, depending on "code context". Some detail: For a unive