On Fri, 29 Sep 2006, MagicalTux wrote:

Also if for some reason you have an internet connection faster than your
hard disk, parallel download will slow down your download, as the disk will
do more «random seeks» than when recording a normal stream (may be invisible

this is technically true, but in practice, you'd be hard pressed to find a
setup like this. commodity hard disks now have bandwidth ranging from 100Mb/s
(Ultra ATA) to 3Gb/s (SATA), way above any consumer connection short of fiber
to the home. they also have massive read/write buffers (upwards of 10MB) and
very smart DMA controllers, so continuous seeks won't usually thrash the disk.

the more interesting question is multiple TCP streams:

However it's true that having more than one parallel TCP stream gives a
«better speed». For example if a packet is lost on one of the parallel
stream, it'll take some time for the TCP protocol to get it again, during

again, technically true, but rare. on most modern providers, consumer and
business grade, packet loss approaches 0%. unless your connection passes
through a number of the more overloaded peering points, like PAX and MAE
East/West, you're not going to see many dropped packets.

however, the benefit of multiple TCP streams you *are* more likely to see is
better saturation. with a single TCP connection, congestion control will cause
the classic sawtooth pattern, which only uses around 75% of the link capacity.
multiple streams will even that out somewhat, so you'll spend more time closer
to full utilization.


having said all this, it's trivial to run multiple wget instances to download
multiple files at once. however, if wget could use multiple connections to
download a *single file* faster, by starting HTTP GETs at different file
offsets, that could be interesting. other download managers currently do this.

still, i wouldn't expect it to be a high priority. :P

-Ryan

--
http://snarfed.org/

Reply via email to