Community discussions

MikroTik App
 
effndc
newbie
Topic Author
Posts: 44
Joined: Wed Jan 11, 2017 1:25 am

Very poor transfer rates on WAPac & 5GHz channel selection

Sat Feb 11, 2017 2:59 am

I am seeing really abysmal performance on my new Mikrotik WAP ac (RBwAPG-5HacT2HnD-US) units. I was using Netspot to create heat maps with active scanning to compare to my previous network (Apple AirPort Extremes) in order to finalize placement and noticed really low transfer rates using iperf3. Transfer rates were right around 100megabit speeds, on deeper inspection the ethernet ports had negotiated to 100meg-FD (even though the switch shows 1Gbps-FD). I set the WAPac ether1 to 1Gbps and tested again, but the performance isn't what I would expect of 802.11ac 80Mhz or 802.11n for that matter.

My iperf3 server is a rather powerful machine with Linux with a 3.10 kernel and an Intel I219-LM NIC and is easily capable of line rate. I have verified that if I plug my client into the Cat6 cable that services the WAPac that it can get 940megabits with iperf3 to the same iperf3 server, so I think I have ruled out cabling being an issue, the cabling is the same that was used for my AirPorts.

As a comparison, my AirPort Extremes under the same environment settings achieved peak of ~100Mbps on 802.11n and >500Mbps for 802.11ac actual download transfer rate, the highest I am seeing on my Miktrotik is 802.11n with only a single station registered is <20Mbps for 802.11n and ~200Mbps for 802.11ac. I never had only a single station registered on the AirPort Extremes during the testing. I also disabled the radios on the "other" AP to avoid conflicts but the results didn't improve, where I had both of the AirPort Extremes configured for the same channels for both 802.11n (1) and 802.11ac (149).

When looking at my clients (Apple devices with Broadcom BCM43xx 1.0) I noticed that none of them were showing 802.11ac negotiated transmit rates, it appears that the channel selection being used for the extension channels may not be compatible on these devices. I can't find anything that outlines the recommend configuration for the channel width selection options 20/40/80mhz-Ceee | 20/40/80mhz-eCee | 20/40/80mhz-eeCe | 20/40/80mhz-eeeC. I can't find any references that refer to "e" and "C" for extension and control channels, and the RouterOS documentation doesn't cover it beyond saying what the options are. I switched to using 20/40/80mhz-Ceee and the clients at least seems to negotiate a higher transfer rate but they don't actually observe better speeds. The clients report:
  Supported Channels:	1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144, 149, 153, 157, 161, 165
I have two of these units, one deployed on my 2nd floor and one in my basement. The frequency monitor for them:
[admin@UpstairsWAPac] /interface wireless> frequency-monitor
number: 0
         FREQ          USE         NF
      5180MHz         1.8%       -105
      5200MHz           0%       -105
      5220MHz         1.5%       -105
      5240MHz           0%       -103
      5745MHz           0%       -101
      5765MHz           0%       -101
      5785MHz         0.1%       -101
      5805MHz           0%       -100
      5825MHz           0%       -100
[admin@BasementWAPac] /interface wireless> frequency-monitor
number: 0
         FREQ          USE         NF
      5180MHz           0%       -106
      5200MHz           0%       -106
      5220MHz         1.4%       -106
      5240MHz           0%       -103
      5745MHz           0%       -105
      5765MHz           0%       -102
      5785MHz        19.3%       -103
      5805MHz         0.1%       -103
      5825MHz           0%       -103
Currently I am focusing on the UpstairsWAPac unit. The current radio configuration is:
set [ find default-name=wlan1 ] band=2ghz-b/g/n country="united states" disabled=no frequency=2437 frequency-mode=regulatory-domain max-station-count=100 mode=ap-bridge multicast-helper=full name="Bamboo Forest" security-profile="Bamboo Forest" \
    ssid="Bamboo Forest" wireless-protocol=802.11 wmm-support=enabled wps-mode=disabled
add disabled=no keepalive-frames=disabled mac-address=E6:8D:8C:C2:47:33 master-interface="Bamboo Forest" mode=ap-bridge multicast-buffering=disabled name="Bamboo Guest" security-profile="Bamboo Guest" ssid="Bamboo Guest" vlan-id=1003 vlan-mode=\
    use-tag wds-cost-range=0 wds-default-cost=0 wps-mode=disabled
add default-forwarding=no disabled=no keepalive-frames=disabled mac-address=E6:8D:8C:C2:47:34 master-interface="Bamboo Forest" mode=ap-bridge multicast-buffering=disabled multicast-helper=disabled name="Bamboo IoT" security-profile=IoT ssid=\
    "Bamboo IoT" vlan-id=10 vlan-mode=use-tag wds-cost-range=0 wds-default-cost=0 wps-mode=disabled
add disabled=no keepalive-frames=disabled mac-address=E6:8D:8C:C2:47:35 master-interface="Bamboo Forest" mode=ap-bridge multicast-buffering=disabled name=bamboozled security-profile="Bamboo Forest" ssid=bamboozled vlan-id=10 vlan-mode=use-tag \
    wds-cost-range=0 wds-default-cost=0 wps-mode=disabled
[admin@UpstairsWAPac] /interface wireless registration-table> print stats
 0 interface=Bamboo 5GHz mac-address=AC:BC:32:A6:3E:67 ap=no wds=no bridge=no rx-rate="6.5Mbps-20MHz/1S" tx-rate="1053Mbps-80MHz/3S" packets=35584,192170 bytes=3396299,284269235 frames=6281,98638 frame-bytes=3742920,285930098 hw-frames=13794,101720
   hw-frame-bytes=15610265,290097186 tx-frames-timed-out=0 uptime=5m59s last-activity=590ms signal-strength=-46dBm@6Mbps signal-to-noise=58dB signal-strength-ch0=-50dBm signal-strength-ch1=-48dBm signal-strength-ch2=-55dBm
   strength-at-rates=-46dBm@6Mbps 590ms tx-ccq=84% p-throughput=807408 distance=1 last-ip=192.168.1.11 802.1x-port-enabled=yes authentication-type=wpa2-psk encryption=aes-ccm group-encryption=aes-ccm management-protection=no wmm-enabled=yes
   tx-rate-set="OFDM:6-54 BW:1x-4x SGI:1x-4x HT:0-23 VHTMCS:SS1=0-9,SS2=0-9,SS3=0-9"
The station/client reports RSSI: -46dBm, Noise: -92dBm, Tx Rate: 1170Mbps, MCS Index: 9. The station is ~9' line of site with no obstructions (other than myself and my chair) from the UpstairsWAPac.

The iperf3 -c output:
Connecting to host 192.168.1.5, port 5201
[  4] local 192.168.1.11 port 58851 connected to 192.168.1.5 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  9.67 MBytes  81.0 Mbits/sec
[  4]   1.00-2.00   sec  12.1 MBytes   101 Mbits/sec
[  4]   2.00-3.00   sec  21.8 MBytes   183 Mbits/sec
[  4]   3.00-4.00   sec  59.2 MBytes   496 Mbits/sec
[  4]   4.00-5.00   sec  60.5 MBytes   508 Mbits/sec
[  4]   5.00-6.00   sec  50.2 MBytes   419 Mbits/sec
[  4]   6.00-7.00   sec   433 KBytes  3.56 Mbits/sec
[  4]   7.00-8.00   sec   191 KBytes  1.57 Mbits/sec
[  4]   8.00-9.00   sec  0.00 Bytes  0.00 bits/sec
[  4]   9.00-10.00  sec  14.2 MBytes   119 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   228 MBytes   191 Mbits/sec                  sender
[  4]   0.00-10.00  sec   228 MBytes   191 Mbits/sec                  receiver
Ping stats, client to iperf3 server:
50 packets transmitted, 50 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.886/4.315/34.362/6.582 ms
Ping status, iperf3 server to client:
50 packets transmitted, 50 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.855/62.374/214.639/53.542 ms
Is the RBwAPG-5HacT2HnD-US actually not capable of supporting 802.11ac speeds? As it seems the CPU utilization is quite high during those few >400Mbps bursts in the iperf3. The published performance test on the product page shows line rate, is that not done actually passing traffic through the radios bridged to the single ethernet port?

Would greatly appreciate any pointers on what to look for as the cause of this. As for channel selection any recommendations there or should I just use "auto"? Is Ceee going to be the most universally supported or is it more co-dependent upon the channel selected?
 
effndc
newbie
Topic Author
Posts: 44
Joined: Wed Jan 11, 2017 1:25 am

Re: Very poor transfer rates on WAPac & 5GHz channel selection

Sat Feb 11, 2017 3:57 am

Just to make sure all things are the same as the last test (which was conducted a year ago) I reconfigured my AirPort Extreme and added it back to the hard wired network. if I connect to the AirPort Extreme on 5Ghz (channel 161) the client bounces between a Tx rate of 878Mbps and 1053Mbps and 1170Mbps.

AirPort Extreme:
Connecting to host 192.168.1.105, port 5201
[  4] local 192.168.1.11 port 50464 connected to 192.168.1.105 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  73.2 MBytes   613 Mbits/sec
[  4]   1.00-2.00   sec  73.3 MBytes   615 Mbits/sec
[  4]   2.00-3.00   sec  66.3 MBytes   557 Mbits/sec
[  4]   3.00-4.00   sec  17.7 MBytes   148 Mbits/sec
[  4]   4.00-5.00   sec  16.8 MBytes   141 Mbits/sec
[  4]   5.00-6.00   sec  16.2 MBytes   136 Mbits/sec
[  4]   6.00-7.00   sec  16.8 MBytes   142 Mbits/sec
[  4]   7.00-8.00   sec  69.9 MBytes   587 Mbits/sec
[  4]   8.00-9.00   sec  79.4 MBytes   666 Mbits/sec
[  4]   9.00-10.00  sec  82.2 MBytes   689 Mbits/sec
[  4]  10.00-11.00  sec  24.3 MBytes   203 Mbits/sec
[  4]  11.00-12.00  sec  15.5 MBytes   130 Mbits/sec
[  4]  12.00-13.00  sec  15.7 MBytes   132 Mbits/sec
[  4]  13.00-14.01  sec  17.4 MBytes   146 Mbits/sec
[  4]  14.01-15.00  sec  69.6 MBytes   586 Mbits/sec
[  4]  15.00-16.00  sec  79.5 MBytes   667 Mbits/sec
[  4]  16.00-17.00  sec  81.9 MBytes   687 Mbits/sec
[  4]  17.00-18.00  sec  26.3 MBytes   219 Mbits/sec
[  4]  18.00-19.00  sec  16.5 MBytes   139 Mbits/sec
[  4]  19.00-20.01  sec  16.3 MBytes   136 Mbits/sec
[  4]  20.01-21.00  sec  16.9 MBytes   142 Mbits/sec
[  4]  21.00-22.00  sec  75.7 MBytes   634 Mbits/sec
[  4]  22.00-23.00  sec  94.6 MBytes   794 Mbits/sec
[  4]  23.00-24.00  sec  94.7 MBytes   794 Mbits/sec
[  4]  24.00-25.00  sec  35.0 MBytes   292 Mbits/sec
[  4]  25.00-26.00  sec  22.5 MBytes   189 Mbits/sec
[  4]  26.00-27.01  sec  17.4 MBytes   146 Mbits/sec
[  4]  27.01-28.01  sec  19.4 MBytes   163 Mbits/sec
[  4]  28.01-29.00  sec  47.4 MBytes   400 Mbits/sec
[  4]  29.00-30.00  sec  44.3 MBytes   372 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-30.00  sec  1.31 GBytes   375 Mbits/sec                  sender
[  4]   0.00-30.00  sec  1.31 GBytes   375 Mbits/sec                  receiver
Mikrotik (UpstairsWAPac) - you will notice that in all aspects transfer rates are lower (peaks/lows/averages/total):
Connecting to host 192.168.1.105, port 5201
[  4] local 192.168.1.11 port 50609 connected to 192.168.1.105 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  5.84 MBytes  49.0 Mbits/sec
[  4]   1.00-2.00   sec  12.7 MBytes   107 Mbits/sec
[  4]   2.00-3.00   sec  39.0 MBytes   327 Mbits/sec
[  4]   3.00-4.00   sec  39.7 MBytes   333 Mbits/sec
[  4]   4.00-5.00   sec  34.9 MBytes   293 Mbits/sec
[  4]   5.00-6.01   sec  7.03 MBytes  58.7 Mbits/sec
[  4]   6.01-7.00   sec  7.95 MBytes  66.8 Mbits/sec
[  4]   7.00-8.00   sec  7.12 MBytes  59.9 Mbits/sec
[  4]   8.00-9.00   sec  8.56 MBytes  71.8 Mbits/sec
[  4]   9.00-10.00  sec  18.0 MBytes   150 Mbits/sec
[  4]  10.00-11.00  sec  5.78 MBytes  48.5 Mbits/sec
[  4]  11.00-12.00  sec  7.19 MBytes  60.1 Mbits/sec
[  4]  12.00-13.01  sec  6.22 MBytes  52.1 Mbits/sec
[  4]  13.01-14.00  sec  4.15 MBytes  34.9 Mbits/sec
[  4]  14.00-15.00  sec  4.90 MBytes  41.2 Mbits/sec
[  4]  15.00-16.01  sec  5.36 MBytes  44.7 Mbits/sec
[  4]  16.01-17.00  sec  6.04 MBytes  50.7 Mbits/sec
[  4]  17.00-18.00  sec  18.1 MBytes   153 Mbits/sec
[  4]  18.00-19.00  sec  34.5 MBytes   290 Mbits/sec
[  4]  19.00-20.00  sec  35.0 MBytes   294 Mbits/sec
[  4]  20.00-21.00  sec  19.6 MBytes   164 Mbits/sec
[  4]  21.00-22.00  sec  10.4 MBytes  87.2 Mbits/sec
[  4]  22.00-23.01  sec  9.68 MBytes  80.8 Mbits/sec
[  4]  23.01-24.01  sec  9.79 MBytes  82.2 Mbits/sec
[  4]  24.01-25.00  sec  24.6 MBytes   207 Mbits/sec
[  4]  25.00-26.00  sec  40.2 MBytes   337 Mbits/sec
[  4]  26.00-27.00  sec  43.4 MBytes   364 Mbits/sec
[  4]  27.00-28.00  sec  22.9 MBytes   192 Mbits/sec
[  4]  28.00-29.01  sec  9.19 MBytes  76.7 Mbits/sec
[  4]  29.01-30.00  sec  9.44 MBytes  79.6 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-30.00  sec   507 MBytes   142 Mbits/sec                  sender
[  4]   0.00-30.00  sec   507 MBytes   142 Mbits/sec                  receiver
That is over 50% worse if you compare the total amount of data transferred in the 30 second interval (1.3GB vs .5GB).

Even if I redo my network topology to give the Mikrotik the upper hand (connected directly to the same switch as the iperf3 server) it loses in all comparisons, but it did improved slightly:
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-30.00  sec   742 MBytes   207 Mbits/sec                  sender
[  4]   0.00-30.00  sec   742 MBytes   207 Mbits/sec                  receiver
 
User avatar
pcunite
Forum Guru
Forum Guru
Posts: 1347
Joined: Sat May 25, 2013 5:13 am
Location: USA

Re: Very poor transfer rates on WAPac & 5GHz channel selection

Sat Feb 11, 2017 5:17 am

Hopefully someone can help you try different things.
 
effndc
newbie
Topic Author
Posts: 44
Joined: Wed Jan 11, 2017 1:25 am

Re: Very poor transfer rates on WAPac & 5GHz channel selection

Sat Feb 11, 2017 11:54 pm

Well I think I made some progress, one I didn't know that having Winbox open showing interface counters put such a massive CPU load on the boxes. That alone made a difference in bandwidth of transfers, I also stumbled onto this deck from Baltic Networks: http://www.balticnetworks.com/docs/802. ... uterOS.pdf

In there I found the settings to enable the various fast-path settings (Queues --> Interface Queues, set to "only-hardware-queue"). Perhaps its coincidence, but I am seeing night and day better performance after closing Winbox and making the queue changes for the wlan interfaces.
Connecting to host 192.168.1.105, port 5201
[  4] local 192.168.1.11 port 57209 connected to 192.168.1.105 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  46.5 MBytes   389 Mbits/sec
[  4]   1.00-2.00   sec  50.1 MBytes   420 Mbits/sec
[  4]   2.00-3.00   sec  52.6 MBytes   442 Mbits/sec
[  4]   3.00-4.00   sec  55.1 MBytes   462 Mbits/sec
[  4]   4.00-5.00   sec  49.6 MBytes   416 Mbits/sec
[  4]   5.00-6.00   sec  49.9 MBytes   418 Mbits/sec
[  4]   6.00-7.00   sec  52.9 MBytes   444 Mbits/sec
[  4]   7.00-8.00   sec  53.3 MBytes   447 Mbits/sec
[  4]   8.00-9.00   sec  54.4 MBytes   457 Mbits/sec
[  4]   9.00-10.00  sec  55.1 MBytes   463 Mbits/sec
[  4]  10.00-11.00  sec  56.2 MBytes   471 Mbits/sec
[  4]  11.00-12.01  sec  55.0 MBytes   459 Mbits/sec
[  4]  12.01-13.00  sec  54.6 MBytes   460 Mbits/sec
[  4]  13.00-14.00  sec  52.0 MBytes   436 Mbits/sec
[  4]  14.00-15.00  sec  55.1 MBytes   463 Mbits/sec
[  4]  15.00-16.00  sec  54.5 MBytes   457 Mbits/sec
[  4]  16.00-17.00  sec  54.3 MBytes   456 Mbits/sec
[  4]  17.00-18.00  sec  54.1 MBytes   454 Mbits/sec
[  4]  18.00-19.00  sec  54.9 MBytes   461 Mbits/sec
[  4]  19.00-20.00  sec  56.1 MBytes   470 Mbits/sec
[  4]  20.00-21.00  sec  54.3 MBytes   456 Mbits/sec
[  4]  21.00-22.00  sec  54.0 MBytes   452 Mbits/sec
[  4]  22.00-23.00  sec  54.4 MBytes   457 Mbits/sec
[  4]  23.00-24.00  sec  52.5 MBytes   440 Mbits/sec
[  4]  24.00-25.00  sec  55.2 MBytes   462 Mbits/sec
[  4]  25.00-26.00  sec  55.3 MBytes   465 Mbits/sec
[  4]  26.00-27.00  sec  56.0 MBytes   469 Mbits/sec
[  4]  27.00-28.00  sec  55.0 MBytes   462 Mbits/sec
[  4]  28.00-29.00  sec  53.7 MBytes   450 Mbits/sec
[  4]  29.00-30.00  sec  55.8 MBytes   468 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-30.00  sec  1.57 GBytes   451 Mbits/sec                  sender
[  4]   0.00-30.00  sec  1.57 GBytes   451 Mbits/sec                  receiver
This is now significantly improved over what I had been getting with the AirPort Extreme, which is what I was expecting. Now I can actually do my surveys and make a more fair comparison for whole house coverage of the devices.
 
User avatar
pcunite
Forum Guru
Forum Guru
Posts: 1347
Joined: Sat May 25, 2013 5:13 am
Location: USA

Re: Very poor transfer rates on WAPac & 5GHz channel selection

Tue Feb 14, 2017 12:13 am

Excellent, good to hear. One of the biggest downsides to MikroTik is you have to be an expert to use them.

:-)
 
quackyo
Member Candidate
Member Candidate
Posts: 181
Joined: Mon Nov 16, 2015 10:14 am

Re: Very poor transfer rates on WAPac & 5GHz channel selection

Tue Feb 14, 2017 4:30 pm

would be very interesting if you could compare the two different settings to pinpoint the performance difference between only bridge fastpath, only hw-queue and both.

Who is online

Users browsing this forum: No registered users and 10 guests