On Feb 26, 7:05 am, "Paul Boddie" <[EMAIL PROTECTED]> wrote: > On 26 Feb, 15:54, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> 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 -- http://mail.python.org/mailman/listinfo/python-list