Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Manual wget vs. freevps script wget speed discrepancy
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Manual wget vs. freevps script wget speed discrepancy

DylanDylan Member
edited February 2014 in Help

I'm sure this is a dumb question, but my scripting knowledge is super limited so I'm curious- why does the FreeVPS speed test script wget give a completely different speed result than a plain wget?

For example:

wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test100.zip

--2014-02-13 02:18:02-- http://speedtest.wdc01.softlayer.com/downloads/test100.zip
Resolving speedtest.wdc01.softlayer.com... 208.43.102.250
Connecting to speedtest.wdc01.softlayer.com|208.43.102.250|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104874307 (100M) [application/zip]
Saving to: `/dev/null'

100%[=========================================================================>] 104,874,307 56.9M/s in 1.8s

2014-02-13 02:18:04 (56.9 MB/s) - `/dev/null' saved [104874307/104874307]

wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test100.zip 2>&1 | awk '/\/dev\/null/ {speed=$3 $4} END {gsub(/(|)/,"",speed); print speed}'

25.5MB/s

I know this isn't just a regular network speed variation thing, because I can run the test over and over and get slightly different results for each but the same consistently large difference between the two. Same with a different test file, different time of day, etc.

Sign In or Register to comment.