I have two computers on a LAN. The first computer with a speed of 128Mbs and a second computer with Internet connection speed is 256Mbs. I tried downloading a 250MB file. If the first computer to download about 48 000 seconds long and the second computer if you think it takes about 24 000 seconds. Is there a way that first computer downloaded a part of the file and second computer downloaded other part?
|
|
This solution assumes that the two computers are networked on a LAN:
As you can see in the lower right pane 'Logs' of screenshot,
|
|||||||||||
|
|
If you have two computers, each with it's own independent connection to the internet (i.e. two ISP connections) not one shared connection then, in theory, by using something like FTP servers that support resumption of interrupted downloads, each computer could simultaneously download half of the file. However I don't know of any software that does this (though perhaps wget or curl can be made to perform the appropriate offset fetch) If the bottleneck is the ftp-server (or equivalent protocol server) then having two connection won't help. Update: The sort of thing I had in mind was Computer 1
Computer 2 (concurrently via separate Internet connection)
Stop this when it reaches the size of the chunk skipped on Computer 1. I did think you could get wget to stop by piping output to a dd statement that breaks the pipe but this turns out to not work
Wget does stop when dd breaks the pipe but the resulting file isn't the right size. So maybe just let it run, manually stop it and cut the part you need (e.g. using dd) Finally you can chop the non-zero part of the file on computer 1 (e.g. using dd) copy to computer 2 and cat the pieces together. This seems messy to me, I'd rather find or write a distributed HTTP client :-) |
|||||
|
|
|
The term for what you're trying to do is called "Bonding Connections". There are a couple of companies, such as Mushroom Networks, that create routers with multiple WAN ports that automatically load balance the connections. A cheaper option would be to plug both connections into one machine and run your own proxy/load balancing software on it for your network. |
|||||
|
