wget saving to usb under cygwin

Special K

Diamond Member
Jun 18, 2000
7,098
0
76
I'm using wget under cygwin to download files to a USB flash drive, and the transfers are going extremely slow relative to the speeds I see when I perform the same download under windows. Does anyone know why this could be?

I even tried using wget for windows and the same transfer still runs at about 10x the transfer rate compared to wget under cygwin. Is there something I'm missing here? I don't have a speed limit set for wget.

To summarize:

wget for cygwin, saving ~20MB file to USB flash drive: 186 KB/s
wget for cygwin, saving same ~20MB file to HD : 1.53 MB/s

wget for windows, saving same ~20MB file to USB flash drive: 340 KB/s
wget for windows, saving same ~20MB file to HD : 2.2 MB/s

downloading same ~20MB file to USB flash drive using "save as" link from IE9: 2.5 MB/s

Why does wget take such a huge hit when saving files to USB? Even wget for windows seems to be affected.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Cygwin has always been incredibly slow for some reason. At this point it's probably better to just use a full blown Linux VM if you want those tools.
 

Special K

Diamond Member
Jun 18, 2000
7,098
0
76
Interestingly curl under cygwin gives speed more in line with what I see under windows, so it seems to be a wget-specific issue. Also wget under windows (not using cygwin) also shows slow performace.
 
Last edited:

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Interestingly curl under cygwin gives more in line with what I see under windows, so it seems to be a wget-specific issue. Also wget under windows (not using cygwin) also shows slow performace.

Lots of ports to Windows use the Cygwin libraries even if you don't run them within Cygwin, are you sure wget isn't one of those?
 

Charles Kozierok

Elite Member
May 14, 2012
6,762
1
0
It may not be cygwin. Flash drives are very slow when writing and I often find even with other applications that it is much faster to save to a hard drive and then copy them. Save operations can be more I/O-intensive than copies.
 

Special K

Diamond Member
Jun 18, 2000
7,098
0
76
It may not be cygwin. Flash drives are very slow when writing and I often find even with other applications that it is much faster to save to a hard drive and then copy them. Save operations can be more I/O-intensive than copies.

True, but did you see my number above for saving from IE directly to the flash drive? It goes much faster than wget.