Re: Socket Speed

2005-06-06 Thread Jeff Epler
The machines with the 100mbps ethernet link are slightly different---Pentium 4, 2.8GHz, Python 2.2, RedHat 9. File size: 87490278 Best of 4 runs: 7.50 MB/s reported by "wget". There was other network activity and system load at the time. Jeff pgpNVPeW3ghJL.pgp Description: PGP signature -- h

Re: Socket Speed

2005-06-05 Thread marinus van aswegen
Would you care to do that between two machines on a 100mb link ? On 6/5/05, Jeff Epler <[EMAIL PROTECTED]> wrote: > 300KB/s sounds dreadfully low. > > I simply ran "python /usr/lib/python2.3/SimpleHTTPServer.py &", then > "wget -O /dev/null http://0.0.0.0:8000/70megfile";. On the best of 4 > run

Re: Socket Speed

2005-06-05 Thread marinus van aswegen
Hi Jeff Would you care to do that between two machines on a 100mb link ? M On 6/5/05, Jeff Epler <[EMAIL PROTECTED]> wrote: > 300KB/s sounds dreadfully low. > > I simply ran "python /usr/lib/python2.3/SimpleHTTPServer.py &", then > "wget -O /dev/null http://0.0.0.0:8000/70megfile";. On the bes

Re: Socket Speed

2005-06-05 Thread Dave Brueck
[EMAIL PROTECTED] wrote: > Hi All > > I'm busy writing a python p2p program and would like some advice. > > I'm pushing about 300k/s and would like to know if there are any python > tricks I could pull to speed things up. I'm thinking about unrolling > some of the loops and recuding calls to my c

Re: Socket Speed

2005-06-05 Thread Jeff Epler
300KB/s sounds dreadfully low. I simply ran "python /usr/lib/python2.3/SimpleHTTPServer.py &", then "wget -O /dev/null http://0.0.0.0:8000/70megfile";. On the best of 4 runs (when the file was cached) wget measured 225.20MB/s. The hardware is a Pentium-M laptop with 768MB RAM runnng at 1.5GHz.