On 28 January 2013 17:07, Wanderer <wande...@dialup4less.com> wrote:
> Yes. I noticed this variability. I've been using the Totusoft 
> Lan_Speedtest.exe to test some modules. I've tested through the wifi to our 
> intranet and saw variations I believe do to network traffic. I also tried 
> peer to peer and the write time actual got worse. I don't know if it has do 
> to with the firewall or the hard drive speed or just Windows giving this 
> process low priority. I also saw drop outs. So figuring out the metric for 
> pass/fail will be interesting. I'll check into setting an ftp for this test.

Why involve a protocol at all? I'd just create a socket
(http://docs.python.org/3.3/library/socket.html) and measure how long,
on average, it took to write a given number of arbitrary bytes (e.g.
"This is a string" repeated a million times) to it and then read a
given number of bytes back. That would be a relatively consistent
metric, whereas if you try using FTP you'll run into issues, as
already noted, where disk read/write speed and details of your FTP
server implementation like compression or multiple network connections
affect the result significantly.

--
Robert K. Day
robert....@merton.oxon.org
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to