[TUTORIAL] How to test the speed of your local network

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
CylonCenturion

Re: [TUTORIAL] How to test the speed of your local network

Post by CylonCenturion » Mon Dec 28, 2015 4:47 pm

gad wrote:Hi,
I just donwloaded the speedtest mini from http://www.speedtest.net/mini.php but after the installation it says "This test has expeired" Did I miss something?
Screen Shot 2015-12-28 at 00.38.16.png


Yes. :-0 :-0 :-0

User avatar
sentinelvdx
Getting the hang of things
Posts: 68
Joined: Sat Dec 19, 2015 5:28 am
Location: Buenos Aires - Argentina

Re: [TUTORIAL] How to test the speed of your local network

Post by sentinelvdx » Fri Mar 11, 2016 2:32 am

Hi,

I have tried this tutorial and downloaded the latest Speedtest Mini release from the site.
The thing is that the Upload does not seems to work, why?
Image
Also I have a doubt about why it's not giving me a faster download speed...

Also, is it possible to use it as a speedtest server from outside of my LAN?

Thanks,
NAS: TS-251+ 8GB
Firm: QTS 4.3.6.xxxx
HDD's: 2x 4TB HGST Deskstar NAS 7.2k RPM HDN724040ALE640 - Firm MJAOA5E0 - RAID1
Port Trunk: 802.3ad w/ Systimax CAT6a
PC's OS: Windows 10 Pro x64

User avatar
schumaku
Guru
Posts: 43673
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: [TUTORIAL] How to test the speed of your local network

Post by schumaku » Wed Mar 16, 2016 4:54 am

This test does merely give an idea on the Web Server ... not really of the real NAS performance, being for SMB, AFP, FTP, ...

sentinelvdx wrote:The thing is that the Upload does not seems to work, why?
Ask the makers of the test, try a different browser, no idea ...

sentinelvdx wrote:Also, is it possible to use it as a speedtest server from outside of my LAN?
The answer is in the first line already - expose the NAS Web Server, and call the mini speedtest ... on the similar URL, using the external DDNS or myQNAPcloud DDNS name. Needless to say, this requires properly configured and working port forwarding in place for port 80.

The real value of these tests is rather limited ... granted, it show about a minimum of what is possible.

When calling external test servers ... considering more and more people have symmetric GbE Internet connections, many users are calling the comparable few external servers ... the result has to be interpreted accordingly.

Same when you "call home" to the NAS Web Server - there can be many network components, providers, peering points, whatever in the data path - all with a rather variable usage at time of test.

Regards,
-Kurt.

User avatar
sentinelvdx
Getting the hang of things
Posts: 68
Joined: Sat Dec 19, 2015 5:28 am
Location: Buenos Aires - Argentina

Re: [TUTORIAL] How to test the speed of your local network

Post by sentinelvdx » Wed Mar 16, 2016 5:23 am

Thanks for the comment it clears many things
NAS: TS-251+ 8GB
Firm: QTS 4.3.6.xxxx
HDD's: 2x 4TB HGST Deskstar NAS 7.2k RPM HDN724040ALE640 - Firm MJAOA5E0 - RAID1
Port Trunk: 802.3ad w/ Systimax CAT6a
PC's OS: Windows 10 Pro x64

giopas
Been there, done that
Posts: 840
Joined: Thu Mar 26, 2015 12:36 am
Location: somewhere in EU

Re: [TUTORIAL] How to test the speed of your local network

Post by giopas » Mon Jun 06, 2016 4:16 pm

Hi all,

I have just moved home and got a new internet connection. I made with the ISP technical a quick speed test on my line, but he told me that probably the (lower) results were due to traffic congestion on the line.

I would like therefore to test it (upload/download/latency) at different time, which means running the test from remote.

To do so I would like to use my NAS (which is wired with a 0.5m CAT7 cable to the router and then another 0.5m CAT7 cable to the modem, and therefore the internal connection is not not the bottle neck).

How do you suggest I can do so?

Thanks,

giopas

EDIT here the answer:

1. open an SSH connection to your NAS

2. having installed 'pip' on Entware-ng, just type:

Code: Select all

[~] # pip install speedtest-cli

3. now locate where speedtest-cli is located (below in my case):

Code: Select all

[~] # whereis speedtest-cli
speedtest-cli: /share/CACHEDEV1_DATA/.qpkg/Entware-ng/bin/speedtest-cli

4. move to the location of the script:

Code: Select all

[~] # cd /share/CACHEDEV1_DATA/.qpkg/Entware-ng/bin/

5. run the script:

Code: Select all

[/share/CACHEDEV1_DATA/.qpkg/Entware-ng/bin] # ./speedtest-cli


credits: http://askubuntu.com/questions/104755/h ... a-terminal
Qnap TS-253Pro 16Gb RAM - Single Storage Pool: 2 WRed 4TB (RAID 1)
Qnap TS-453A 16Gb RAM - Single Storage Pool: 4 WRed 4TB (RAID 5)

licht77
New here
Posts: 8
Joined: Fri Feb 03, 2017 4:46 am

Re: [TUTORIAL] How to test the speed of your local network

Post by licht77 » Sat Feb 11, 2017 4:58 am

Strange thing: speedtest-cli shows only around 60mbit while I can measure the expected 150mbit on the router when running that test. Anyone else with those bad readings?

giopas
Been there, done that
Posts: 840
Joined: Thu Mar 26, 2015 12:36 am
Location: somewhere in EU

Re: [TUTORIAL] How to test the speed of your local network

Post by giopas » Sat Feb 11, 2017 5:03 am

if on the router you have around 150mbit and on your NAS 60mbit, the question is: how the NAS is connected to the router, and what router do you have?
Qnap TS-253Pro 16Gb RAM - Single Storage Pool: 2 WRed 4TB (RAID 1)
Qnap TS-453A 16Gb RAM - Single Storage Pool: 4 WRed 4TB (RAID 5)

licht77
New here
Posts: 8
Joined: Fri Feb 03, 2017 4:46 am

Re: [TUTORIAL] How to test the speed of your local network

Post by licht77 » Sat Feb 11, 2017 6:29 am

I found out, that the underlying code this particular speed test is very very inaccurate and influenced by Linux distribution, Python version, kernel etc.
So it looks like this huge Delta of 60mbit<>150mbit is caused by my change of hardware (thecus n5500 to a ts563) thus keeping Python and the scripts version constant.
Sounds funny - but there are a lot of Google results about exactly that behavior.

giopas
Been there, done that
Posts: 840
Joined: Thu Mar 26, 2015 12:36 am
Location: somewhere in EU

Re: [TUTORIAL] How to test the speed of your local network

Post by giopas » Sat Feb 11, 2017 6:31 am

Good to know, thanks

Sent from my A0001 using Tapatalk
Qnap TS-253Pro 16Gb RAM - Single Storage Pool: 2 WRed 4TB (RAID 1)
Qnap TS-453A 16Gb RAM - Single Storage Pool: 4 WRed 4TB (RAID 5)

User avatar
DarfNader
Getting the hang of things
Posts: 71
Joined: Thu Aug 24, 2017 10:13 am

Re: [TUTORIAL] How to test the speed of your local network

Post by DarfNader » Thu Nov 16, 2017 8:27 pm

Looks like they discontinued the program. Now if you want to run Speedtest on your web server, you need to pay $2K per year to have them host a server on your LAN. I wish I was kidding. What's more frustrating is they call it a "free upgrade"! (It's because the free version allows you to "brand" their test on their server, which is so not the same thing.

http://www.speedtest.net/mini.php
"Everything I know I've learned from eating the brains of other people." - anon.

TVS-473
• FW v 4.6.3.0883 build 20190316
• 32 GB RAM
• 4 x 6TB SATA , RAID 5
• 2 x 1 TB m2.SSD, RAID 1 (QTier)

Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”