[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 »

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
Know my way around
Posts: 115
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 »

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+ 16GB DDR3L 1600mhz CAS11
Firm: QTS 5.0.0.xxxx
HDD's: 2x 4TB HGST Deskstar NAS - RAID0
Port Trunk: 802.3ad w/ Systimax CAT6a
User avatar
schumaku
Guru
Posts: 43579
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 »

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
Know my way around
Posts: 115
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 »

Thanks for the comment it clears many things
NAS: TS-251+ 16GB DDR3L 1600mhz CAS11
Firm: QTS 5.0.0.xxxx
HDD's: 2x 4TB HGST Deskstar NAS - RAID0
Port Trunk: 802.3ad w/ Systimax CAT6a
giopas
Been there, done that
Posts: 855
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 »

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
Starting out
Posts: 11
Joined: Fri Feb 03, 2017 4:46 am

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

Post by licht77 »

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: 855
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 »

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
Starting out
Posts: 11
Joined: Fri Feb 03, 2017 4:46 am

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

Post by licht77 »

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: 855
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 »

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
Know my way around
Posts: 103
Joined: Thu Aug 24, 2017 10:13 am
Contact:

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

Post by DarfNader »

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)
User avatar
parkerc
Easy as a breeze
Posts: 314
Joined: Thu Oct 16, 2014 7:36 am
Location: Near London, England
Contact:

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

Post by parkerc »

What are people using today to do this ?

I’d liked to be able to install something on my QNAP and then go around the office/house to see what my network performance is from various locations. Over both wired and wireless connections? Does a recommenced set up exist ?
Model Name : QNAP TS-253be (16GB) & TS-453D (16GB)
Firmware Version:: QTS Latest
OS Version : Apple iOS (iPad/Safari Browser)
Number & Type of HDDs : 2 x 3TB WD Reds, Raid 1 & 4 x 4TB WD Reds, Raid 5
Website (When I have time) : http://www.nodecentral.co.uk
User avatar
parkerc
Easy as a breeze
Posts: 314
Joined: Thu Oct 16, 2014 7:36 am
Location: Near London, England
Contact:

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

Post by parkerc »

Found this elsewhere on the forum - using iPerf - adding it here as an option for others finding this thread..

viewtopic.php?t=140883
Model Name : QNAP TS-253be (16GB) & TS-453D (16GB)
Firmware Version:: QTS Latest
OS Version : Apple iOS (iPad/Safari Browser)
Number & Type of HDDs : 2 x 3TB WD Reds, Raid 1 & 4 x 4TB WD Reds, Raid 5
Website (When I have time) : http://www.nodecentral.co.uk
User avatar
dolbyman
Guru
Posts: 35024
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

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

Post by dolbyman »

install blackmagic speedtest or atto diskbench on your clients and test the network mounts
Post Reply

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