PDA

View Full Version : Wget Question


delegate
07-01-2007, 05:41 AM
We are downloading files using wget. At the end we want to calculate throughput for each file. So below is the output given by wget.
ftp://xxx.xxx.xxx.xxx/15MB--20:56:52
Connecting to xxx.xxx.xxx.xxx:xx... connected.
Logging in as xxxxx ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD not needed.
==> PASV ... done. ==> RETR 15MB ... done.
Length: 15,769,600 (15M)

100%[======================================>] 15,769,600 10.91M/s

20:56:53 (10.90 MB/s)- `15MB' saved [15769600]

real 0m1.486s
user 0m0.044s
sys 0m0.188s


what is 10.90 MB/s----what can we call it----can we call it throughput---what term best describes 10.90 MB/s---when we calculate throughput say eg 15 MB(file size)/time(0m1.486s) we are getting a figure different from 10.90MB/s

So what can we call 10.90MB/s---coz we want also to graph it.

If 10.90 MB/s is throughput how can we separate it from---throughput we are calculating using the formula(15 MB(file size)/time(0m1.486s) )

Your help is greatly appreciated we are newbies

acme.mail.order
07-01-2007, 07:57 AM
My first thought would be don't bother. The connection you have is pretty good, so unless there is a very substantial slowdown don't worry about it.

Also, if the files you are downloading are of substantially different sizes you won't get meaningful data. Small files have a much higher overhead:data ratio than megabyte-class files. Network connections are never 100% consistent so unless it is consistently (and repeatedly) well out of spec I ignore it. Almost every time I reply to a mail/website/file transfer slow/ not working I ask "when" followed by "try it now". In almost all cases I'm done after the second question.