Python / Socket speed

casevh at gmail.com casevh at gmail.com
Mon Feb 26 11:33:02 EST 2007


On Feb 26, 7:05 am, "Paul Boddie" <p... at boddie.org.uk> wrote:
> On 26 Feb, 15:54, "m... at infoserv.dk" <m... at infoserv.dk> wrote:
>
> > Seems like sockets are about 6 times faster on OpenSUSE than on
> > Windows XP in Python.
>
> >http://pyfanatic.blogspot.com/2007/02/socket-performance.html
>
> > Is this related to Python or the OS?
> >From the output:
> > TCP window size: 8.00 KByte (default)
> > TCP window size: 49.4 KByte (default)
>
> I don't pretend to be an expert on TCP/IP, but might the window size
> have something to do with it?
>
> Paul

Tuning the TCP window size will make a big difference with Windows XP
performance. I'm more curious about the original script. Either the
test was against the loopback address, or he has a very impressive
netork to sustain 1.8Gbit/s.

casevh




More information about the Python-list mailing list