urllib2 performance on windows, usb connection

Duncan Booth duncan.booth at invalid.invalid
Fri Feb 6 10:05:25 CET 2009


dq <dq at gmail.com> wrote:

> This runs great on Ubuntu.  I get DL speeds of about 1.5 Mb/s on the 
> SATA HD or on a usb-connected iPod, but if I run the same program on 
> Windows (with a 2 GHz core 2 duo, 7200 rpm sata drive---better hardware 
> specs than the Ubuntu box), it maxes out at about 500 kb/s.  Worse, if I 
> DL directly to my iPod in disk mode, I'm lucky if I even hit 100 kb/s.
> 
> So does anyone know what the deal is with this?  Why is the same code so 
> much slower on Windows?  Hope someone can tell me before a holy war 
> erupts :-)
> 

Just a guess, but are you running any kind of virus scanning software on 
Windows? That could have a massive impact on the speed of writing to disc.

-- 
Duncan Booth http://kupuguy.blogspot.com



More information about the Python-list mailing list