Reply
Emerging Member
Posts: 81
Registered: ‎12-19-2017
Kudos: 1
Solutions: 1

Wifi speed numbers. I ran some tests!

[ Edited ]

Let me start out by saying I'm not claiming there are any problems with my UAP-AP-Pro. However, I was running some speed tests on my connection since I just made a bunch of changes and am now getting 450 Mbps according to my mac book pro. My AP is not transferring anything else at the time of my tests. If it is transferring anything else it is small. I know my NAS can transfer faster than that as I have seen 117MB per second transfers over hard wired connections. The tests I outline below were not done scientifically. Don't blame the tester.

 

A 450 Mb connection equals around 56 MB per second transfer rate. I know this is theoretical and all network traffic has some over head. I'm assuming wifi traffic has more (maybe a lot more) than wired. I test transferred one 381 MB file from my NAS to my laptop and a few times and it took anywhere from 10-13 seconds to transfer. It should have taken about 6.8 seconds. 

 

I expected the transfer times to be much faster. 

 

I'm assuming either my mac book is telling me the incorrect connection rate. The AP is not working properly. The AP is busy doing other stuff. My test methodology is bad. There is a whole heck of a lot more overhead on wifi than on wired, like 30 - 80% more.

Established Member
Posts: 1,805
Registered: ‎03-31-2017
Kudos: 617
Solutions: 196

Re: Wifi speed numbers. I ran some tests!

Sounds like you have your 5GHz only using a 40MHz wide channel.

Emerging Member
Posts: 81
Registered: ‎12-19-2017
Kudos: 1
Solutions: 1

Re: Wifi speed numbers. I ran some tests!

[ Edited ]

Yes it's on 40 Mhz. I have my 5 g set to use th 80 channel and some devices are using it but it looks like my mac book can't use the 80 channel. But none of that matters as my test is assuming the 450 Mb per second speed. The file still should have copied in 6.8 seconds at 450 Mb speed. It didn't.

Established Member
Posts: 2,253
Registered: ‎03-20-2017
Kudos: 948
Solutions: 73

Re: Wifi speed numbers. I ran some tests!

It's nice to have other testers in the forums. Hopefully, my test data will be of some use to you. Just follow the links in my signature.
Established Member
Posts: 1,805
Registered: ‎03-31-2017
Kudos: 617
Solutions: 196

Re: Wifi speed numbers. I ran some tests!

Established Member
Posts: 1,701
Registered: ‎02-01-2014
Kudos: 443
Solutions: 63

Re: Wifi speed numbers. I ran some tests!

Is that AP setup hard wired or as a wireless uplink? Is the AP being powered by a switch or PoE brick?
That is not a great test to do as it has too many overhead things to deal with. Such as your NAS working on other things that its OS is expecting to process and then it deals with your test. Your machine probably won't be using all its resources for that transfer either. It has to deal with running its own OS as well.
You need to install iPerf on a gigabit connected server or your NAS. I have mine installed on my Synology DS1817+ with the 4x1gbps ports aggregated. I am using 2 AP-AC-Pro's with a Dell 5491 laptop and a couple iphone 7's and above.

I was never able to get a reliable test until I used this program. Its a little confusing at first, for me at least, but now its really nice to use.
My AC-Pro's with VHT80 enabled are hitting 465Mbps each direction with my 5491 Dell laptop. In the controller it states they are connected at 867mbps...so thats about right. Wifi has an enormous amount of overheard and the #'s that are shown "867" or "1300mbps" are theoretical and are only matched in a perfectly empty room of signals, with client and AP about 4ft from each other. No real world would ever be like that. Hardwire will win every single time.
Emerging Member
Posts: 81
Registered: ‎12-19-2017
Kudos: 1
Solutions: 1

Re: Wifi speed numbers. I ran some tests!

Thanks for doing all of the testing. I would love to see exactly what you have learned and help out the tests. Let me know if there are any tests I can run to add to what you have already completed.
Emerging Member
Posts: 81
Registered: ‎12-19-2017
Kudos: 1
Solutions: 1

Re: Wifi speed numbers. I ran some tests!

The ap is setup hard wired to a 16-150 switch via POE.
Established Member
Posts: 2,244
Registered: ‎04-21-2015
Kudos: 306
Solutions: 98

Re: Wifi speed numbers. I ran some tests!

@verisarioc well done with the iperf tests. As someone already mentioned theoretical and real world speed (usually at least half of theoretical speed) are different. 

Thanks,
Myky
CWNA
--------------------------------------------------------------------------------------------------------------------------------------------------
Don`t blame the device as it`s always doing what you have asked it to do, this is not always the same as what you want.
Member
Posts: 217
Registered: ‎08-07-2018
Kudos: 42
Solutions: 2

Re: Wifi speed numbers. I ran some tests!


@rmilewsk wrote:

Yes it's on 40 Mhz. I have my 5 g set to use th 80 channel and some devices are using it but it looks like my mac book can't use the 80 channel. But none of that matters as my test is assuming the 450 Mb per second speed. The file still should have copied in 6.8 seconds at 450 Mb speed. It didn't.


My Macbook works fine on an VHT80 channel:

 

 

MacBook-Pro-Home:~ johnfruehe$ iperf3 -c 192.168.1.30
Connecting to host 192.168.1.30, port 5201
[  4] local 192.168.1.181 port 64419 connected to 192.168.1.30 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  53.2 MBytes   446 Mbits/sec                  
[  4]   1.00-2.00   sec  55.3 MBytes   464 Mbits/sec                  
[  4]   2.00-3.00   sec  55.3 MBytes   463 Mbits/sec                  
[  4]   3.00-4.00   sec  55.4 MBytes   466 Mbits/sec                  
[  4]   4.00-5.00   sec  53.2 MBytes   446 Mbits/sec                  
[  4]   5.00-6.00   sec  54.9 MBytes   461 Mbits/sec                  
[  4]   6.00-7.00   sec  54.1 MBytes   454 Mbits/sec                  
[  4]   7.00-8.00   sec  54.6 MBytes   458 Mbits/sec                  
[  4]   8.00-9.00   sec  54.3 MBytes   456 Mbits/sec                  
[  4]   9.00-10.00  sec  53.4 MBytes   447 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   544 MBytes   456 Mbits/sec                  sender
[  4]   0.00-10.00  sec   544 MBytes   456 Mbits/sec                  receiver

iperf Done.

I run my 5GHz on VHT40 throughout the house, but for the AP that sits in the family room, where I do 90% of my wireless work, I have it set for VHT80. This is a really typical iperf run, but I will occasionally find results in the 500-550Mb/s range. If I run iperf cold, it starts at around 350 and after 2 runs I am at 4:50 (with other traffic going on.)

 

Established Member
Posts: 1,701
Registered: ‎02-01-2014
Kudos: 443
Solutions: 63

Re: Wifi speed numbers. I ran some tests!

Hi @rmilewsk,
I'm glad you are interested in my results. There is another set of results above from @jfruehe. I recommend looking at those and his comments. He is bang on about the issues of wifi.


Also, for the best results and serious amount of testing, please consider looking at @Jardin_Espanol's testing links in his signature above. He extensively tests the APs and clients bandwidths. I DO NOT do that much testing. Man Happy

 

So I use the following commands to run my tests.
Server side: iperf3 -s -i 1
Client side: iperf3 -c IP of server -i 1 -P 8

 

I run these tests all the time and I sometimes add in "-t 120" for making it run for 2 minutes at a time. Then I walk between APs to see how the hand off works. Seems to do well between my two Pro's.

 

Here are my results:

Client side seeing both up and down speeds and at the bottom, total of all 8 parallel streams.

back and forth bandwidth.PNG

Being 15ft from AP Pro, direct hard wire to Core 24 port 250w UniFi switch, all cat 6a cabling to my NAS that runs the test.

 

This is what the server saw coming from the client:

server side bandwidth.PNG

Established Member
Posts: 1,701
Registered: ‎02-01-2014
Kudos: 443
Solutions: 63

Re: Wifi speed numbers. I ran some tests!

@Myky. Thanks!
Established Member
Posts: 1,805
Registered: ‎03-31-2017
Kudos: 617
Solutions: 196

Re: Wifi speed numbers. I ran some tests!

Just to add some more.

 

This is a 3x3 USB adapter (Asus USB-AC68) sitting behind my laptop to an IW-HD that is 16'4" behind me. The other clients on the AP are mostly idle with the exception of a Roku.

throughputs.JPG

Established Member
Posts: 1,701
Registered: ‎02-01-2014
Kudos: 443
Solutions: 63

Re: Wifi speed numbers. I ran some tests!

I should add also that the AP I did my testing above on had 9 other clients. Two Chromecast ultra's that were streaming a couple shows from my Plex Media Server. The others were idle.
Emerging Member
Posts: 81
Registered: ‎12-19-2017
Kudos: 1
Solutions: 1

Re: Wifi speed numbers. I ran some tests!

When was your mac book built?
Emerging Member
Posts: 81
Registered: ‎12-19-2017
Kudos: 1
Solutions: 1

Re: Wifi speed numbers. I ran some tests!

Does anyone know how to install iperf on a qnap tvs682 nas? 

Emerging Member
Posts: 81
Registered: ‎12-19-2017
Kudos: 1
Solutions: 1

Re: Wifi speed numbers. I ran some tests!

Thanks everyone for your help.

 

I've determined my mac book pro has the fastest wifi connection of 802.11n which will give me a theoretical maximum of 450Mbps.

 

I was able to install iperf on qnap. The instructions are here: https://forum.qnap.com/viewtopic.php?t=140883

 

I installed iperf on my mac book. The installer is here: https://iperf.fr/iperf-download.php#macos

 

I ran the iperf3 -c IP of my NAS. Output is below.

 

Connecting to host xxx.xxx.xxx.xxx, port 5201

[  4] local xxx.xxx.xxx.xxx port 58086 connected to xxx.xxx.xxx.xxx port 5201

[ ID] Interval           Transfer     Bandwidth

[  4]   0.00-1.00   sec  31.4 MBytes   263 Mbits/sec                  

[  4]   1.00-2.00   sec  32.5 MBytes   273 Mbits/sec                  

[  4]   2.00-3.00   sec  32.6 MBytes   274 Mbits/sec                  

[  4]   3.00-4.00   sec  32.4 MBytes   272 Mbits/sec                  

[  4]   4.00-5.00   sec  32.7 MBytes   274 Mbits/sec                  

[  4]   5.00-6.00   sec  32.8 MBytes   275 Mbits/sec                  

[  4]   6.00-7.00   sec  31.6 MBytes   265 Mbits/sec                  

[  4]   7.00-8.00   sec  31.6 MBytes   265 Mbits/sec                  

[  4]   8.00-9.00   sec  33.0 MBytes   277 Mbits/sec                  

[  4]   9.00-10.00  sec  33.0 MBytes   277 Mbits/sec                  

- - - - - - - - - - - - - - - - - - - - - - - - -

[ ID] Interval           Transfer     Bandwidth

[  4]   0.00-10.00  sec   324 MBytes   272 Mbits/sec                  sender

[  4]   0.00-10.00  sec   323 MBytes   271 Mbits/sec                  receiver

 

I'm sitting about 20 feet away from my AP. The AP is on the top of the second floor I am on the first floor and there is one wall between the AP and the laptop.

 

I also ran a test on my Samsung Galaxy S8 which has 802.11 ac. I saw an average transfer of 37.98 MBytes/s and an average bankdwith of 303.84 Mbits/s.

Established Member
Posts: 1,701
Registered: ‎02-01-2014
Kudos: 443
Solutions: 63

Re: Wifi speed numbers. I ran some tests!

Glad you got it all installed and running! Great job! It does seem like you are maxing out your connection with that laptops wifi adapter at this point.
Enjoy!
Emerging Member
Posts: 81
Registered: ‎12-19-2017
Kudos: 1
Solutions: 1

Re: Wifi speed numbers. I ran some tests!

What's the reason for doing 8 parallel streams? 

 

For everyone else what command arguments are you using on your client / server side and why are you using them?

 

Established Member
Posts: 1,701
Registered: ‎02-01-2014
Kudos: 443
Solutions: 63

Re: Wifi speed numbers. I ran some tests!

The reason for the Parallel streams is to try and saturate your wifi card. If you only do 1 stream, you will never hit the speeds your client should be doing.
Reply