Off-Topic > Off-Topic - Tiny Core Lounge
upload speed
vinnie:
--- Quote from: gutmensch on April 01, 2012, 06:10:30 PM ---We definitely need a "like button" functionality here, I liked some comments a bit although they were not very helpful. Shame on you :P
--- End quote ---
+1, i'd like karma feature :)
Rich:
Hi cast-fish
--- Quote ---What i was thinking is that my remote machine at Amazon has 100mbps web connection....so if i zip my desktop files and upload them at 1mbps to my Amazon machine and unzip them there....then upload them from the amazon machine to where-ever at 100mbps
--- End quote ---
If there is some reason sending a compressed file to the final destination is not acceptable, then you might pick up
some speed sending it to an intermediate machine first. How much depends on what type of files you are sending.
If the files can't be compressed very much, you won't get much improvement. If you are sending a lot of files you
will probably reduce your transfer time by tarring them into one big file before compressing and uploading. How
much time this will save I can't say. If your goal is to free up you machine as quickly as possible, this is probably
the best you will do.
Now, if your goal is to get those files to their final destination as quickly as possible, and the site limits your upload
speed, that's a different issue. If the site allows you to make multiple connections and you are transferring more
than one file, you can start more than one transfer at a time. Here are some simple examples that address only
the transfer time, and don't take into account any other overhead.
You have 8 files that take 1 second each to transfer at 1Mb/Sec. The destination site limits you to 500Kb/Sec.
Sending the files one at a time would take 16 seconds.
Sending 2 files at a time would take 8 seconds.
Sending 4 files at a time would still take 8 seconds because you are limited by your machines 1Mb/Sec connection.
You have 8 files that take one second each to transfer at 1Mb/Sec. The destination site limits transfers to 500Kb/Sec.
Your files get compressed to half their original size.
Sending the files to the intermediate machine takes 4 seconds.
The intermediate machine sending 8 files at a time would take 2 seconds for a total of 6 seconds, 2 seconds less.
As I said, these are simplified examples which don't take into account compression/decompression time, tar/untar
time, and any other overhead that may come into play.
hiro:
Nowadays you can send over 100 GB per day if you put a few micro sd cards in a plain old letter. Latency is about a day if both sides live in the same country, but multiple times faster than with your slow upload bandwidth.
cast-fish:
Hello
well yes....Hiro...that is funny dude ;D
some friends and myself have a lot of uploading to do....regularly...he is in Tunisia and is'nt the best phone lines there...
yes because the other tools work well under "wine"
well thanks very much for the "numbers" example here...it really makes sense. The situation with me is that it's large amounts of say 10 meg to 20 meg files going UP....it's a speed increase that is required....a raw speed increase.
V
Rich:
Hi cast-fish
--- Quote ---...it's a speed increase that is required....a raw speed increase.
--- End quote ---
I don't know what that means.
If the destination machine allows you to upload at 1Mb/Sec, that's the best you are going to do.
If the destination machine can also accept a compressed file, your transfer time will be reduced by the same ratio
your file size was reduced.
If the destination machine is capable of receiving date faster than 1Mb/Sec, but limits your connection speed,
see the examples above and do the math. Only multiple files will decrease the time to send the files to the
destination machine, and only if you can compress them enough AND there are enough files to offset the initial
upload time to the intermediate machine. Watch what happens with the second example if you try to send the
same amount of data, but it consists of only 4 files:
You have 4 files that take two seconds each to transfer at 1Mb/Sec. The destination site limits transfers to 500Kb/Sec.
Your files get compressed to half their original size.
Sending the files to the intermediate machine takes 4 seconds.
The intermediate machine sending 4 files at a time would take 4 seconds for a total of 8 seconds, no time is saved.
There's no magic here, it's all in the numbers. The bottom line is you will never be able to transfer data any faster
1Mb/Sec * (1 + (percentage your data is compressed by / 100)), that is your maximum effective transfer speed.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version