CAPsMAN performance issues

Hello,

my first post and hopefully I do it well. First, many thanks to MikroTik for the hard- and software. I really enjoy it!

Regarding my topic. I use a RB3011 with two access points, hAP ac and hAP ac lite. The use of CAPsMAN is attractive, but I identified some issues and would ask the community to their experience.

Before the questions raises up, I use the latest stable RouterOS Release 6.34.2 and the wireless-cm2 package. All bandwidth tests are done with iperf3 with standard setting and a running time of 60 seconds. For the final result I have choose the best of five runs. As Radio I uses the 5 GHz range, because I have no other usage in this band in this environment. My system was a MacBook Pro early 2013 with N-standard and three chains.

For the results: “CAPsMAN connected via layer-2” means the discovered CAPsMAN service over layer 2 and no IP configuration. “CAPsMAN connected via layer-3” means configured IP addresses on both parts. The CPU usage on all components was always ok and not a limiting factor. Also the system was close to the access point for an excellent connection and high “Tx Rate”.

Here are my performance results in different setups:

  • hAP ac lite - configured with forwarding to CAPsMAN connected via layer-3
  • Tx Rate 135 Mbit
  • 26 Mbit/s throughput


  • hAP ac lite - configured with forwarding to CAPsMAN connected via layer-2
  • Tx Rate 135 Mbit
  • 65 Mbit/s throughput


  • hAP ac lite - configured without CAPsMAN connected via layer-2 bridge
  • Tx Rate 150 Mbit
  • 84 Mbit/s throughput


  • hAP ac - configured with forwarding to CAPsMAN connected via layer-3
  • Tx Rate 450 Mbit
  • 34,5 Mbit/s throughput


  • hAP ac - configured with forwarding to CAPsMAN connected via layer-2
  • Tx Rate 450 Mbit
  • 76 Mbit/s throughput


  • hAP ac - configured with local forwarding connected via layer-2 bridge
  • Tx Rate 450 Mbit
  • 73,9 Mbit/s throughput


  • hAP ac - configured without CAPsMAN connected via layer-2 bridge
  • Tx Rate 450 Mbit
  • 149 Mbit/s throughput

The values tell it own tale.

If you have a closer look to the iperf3 output, then it’s clear why CAPsMAN configuration has a lower throughput.

CAPsMAN enabled and some drop downs. Looks not like stable connection.

iperf3 -c 192.168.11.11 -t 60
Connecting to host 192.168.11.11, port 5201
[  4] local 192.168.11.10 port 60126 connected to 192.168.11.11 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  19.7 MBytes   165 Mbits/sec                  
[  4]   1.00-2.00   sec  22.9 MBytes   192 Mbits/sec                  
[  4]   2.00-3.00   sec  26.4 MBytes   222 Mbits/sec                  
[  4]   3.00-4.00   sec  23.7 MBytes   199 Mbits/sec                  
[  4]   4.00-5.00   sec  26.3 MBytes   221 Mbits/sec                  
[  4]   5.00-6.01   sec  11.3 MBytes  94.2 Mbits/sec                  
[  4]   6.01-7.00   sec   460 KBytes  3.78 Mbits/sec                  
[  4]   7.00-8.00   sec  1.46 MBytes  12.2 Mbits/sec                  
[  4]   8.00-9.00   sec  1.20 MBytes  9.99 Mbits/sec                  
[  4]   9.00-10.00  sec  1.07 MBytes  9.01 Mbits/sec                  
[  4]  10.00-11.00  sec  1.09 MBytes  9.20 Mbits/sec                  
[  4]  11.00-12.01  sec   660 KBytes  5.38 Mbits/sec                  
[  4]  12.01-13.00  sec  1.19 MBytes  10.1 Mbits/sec                  
[  4]  13.00-14.00  sec  1.63 MBytes  13.6 Mbits/sec                  
[  4]  14.00-15.00  sec   619 KBytes  5.08 Mbits/sec                  
[  4]  15.00-16.00  sec   806 KBytes  6.62 Mbits/sec                  
[  4]  16.00-17.01  sec  1.18 MBytes  9.83 Mbits/sec                  
[  4]  17.01-18.00  sec   810 KBytes  6.67 Mbits/sec                  
[  4]  18.00-19.00  sec  7.82 MBytes  65.6 Mbits/sec                  
[  4]  19.00-20.00  sec  7.63 MBytes  64.0 Mbits/sec                  
[  4]  20.00-21.00  sec  5.12 MBytes  42.9 Mbits/sec                  
[  4]  21.00-22.00  sec  20.2 MBytes   170 Mbits/sec                  
[  4]  22.00-23.00  sec  14.9 MBytes   125 Mbits/sec                  
[  4]  23.00-24.00  sec  18.8 MBytes   157 Mbits/sec                  
[  4]  24.00-25.00  sec  24.6 MBytes   206 Mbits/sec                  
[  4]  25.00-26.00  sec  18.4 MBytes   154 Mbits/sec                  
[  4]  26.00-27.00  sec  22.3 MBytes   187 Mbits/sec                  
[  4]  27.00-28.00  sec  23.4 MBytes   196 Mbits/sec                  
[  4]  28.00-29.00  sec  20.4 MBytes   171 Mbits/sec                  
[  4]  29.00-30.00  sec  17.4 MBytes   146 Mbits/sec                  
[  4]  30.00-31.00  sec  5.60 MBytes  46.9 Mbits/sec                  
[  4]  31.00-32.01  sec  1.53 MBytes  12.8 Mbits/sec                  
[  4]  32.01-33.00  sec  1.49 MBytes  12.5 Mbits/sec                  
[  4]  33.00-34.00  sec  6.54 MBytes  54.9 Mbits/sec                  
[  4]  34.00-35.01  sec  17.4 MBytes   146 Mbits/sec                  
[  4]  35.01-36.00  sec  9.13 MBytes  77.0 Mbits/sec                  
[  4]  36.00-37.00  sec  14.5 MBytes   121 Mbits/sec                  
[  4]  37.00-38.00  sec  17.4 MBytes   146 Mbits/sec                  
[  4]  38.00-39.00  sec  19.6 MBytes   164 Mbits/sec                  
[  4]  39.00-40.00  sec   808 KBytes  6.62 Mbits/sec                  
[  4]  40.00-41.00  sec   547 KBytes  4.49 Mbits/sec                  
[  4]  41.00-42.00  sec  3.65 MBytes  30.7 Mbits/sec                  
[  4]  42.00-43.00  sec  1.65 MBytes  13.8 Mbits/sec                  
[  4]  43.00-44.00  sec   908 KBytes  7.44 Mbits/sec                  
[  4]  44.00-45.00  sec  1.06 MBytes  8.93 Mbits/sec                  
[  4]  45.00-46.00  sec   304 KBytes  2.49 Mbits/sec                  
[  4]  46.00-47.00  sec  16.5 MBytes   139 Mbits/sec                  
[  4]  47.00-48.00  sec  16.4 MBytes   138 Mbits/sec                  
[  4]  48.00-49.00  sec  16.0 MBytes   134 Mbits/sec                  
[  4]  49.00-50.00  sec  16.3 MBytes   137 Mbits/sec                  
[  4]  50.00-51.00  sec  10.4 MBytes  86.9 Mbits/sec                  
[  4]  51.00-52.00  sec  2.27 MBytes  18.9 Mbits/sec                  
[  4]  52.00-53.01  sec   711 KBytes  5.82 Mbits/sec                  
[  4]  53.01-54.00  sec  1016 KBytes  8.37 Mbits/sec                  
[  4]  54.00-55.00  sec  1.21 MBytes  10.1 Mbits/sec                  
[  4]  55.00-56.00  sec  9.74 MBytes  82.0 Mbits/sec                  
[  4]  56.00-57.00  sec  5.27 MBytes  44.0 Mbits/sec                  
[  4]  57.00-58.00  sec   854 KBytes  7.00 Mbits/sec                  
[  4]  58.00-59.00  sec   667 KBytes  5.46 Mbits/sec                  
[  4]  59.00-60.00  sec   498 KBytes  4.09 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-60.00  sec   543 MBytes  75.9 Mbits/sec                  sender
[  4]   0.00-60.00  sec   543 MBytes  75.9 Mbits/sec                  receiver

iperf Done.

Without CAPsMAN and local bridging, it looks ok and stable.

perf3 -c 192.168.11.11 -t 60
Connecting to host 192.168.11.11, port 5201
[  4] local 192.168.11.10 port 59373 connected to 192.168.11.11 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  18.6 MBytes   156 Mbits/sec                  
[  4]   1.00-2.00   sec  16.3 MBytes   137 Mbits/sec                  
[  4]   2.00-3.00   sec  17.1 MBytes   143 Mbits/sec                  
[  4]   3.00-4.00   sec  15.6 MBytes   131 Mbits/sec                  
[  4]   4.00-5.00   sec  18.2 MBytes   153 Mbits/sec                  
[  4]   5.00-6.00   sec  14.5 MBytes   122 Mbits/sec                  
[  4]   6.00-7.00   sec  14.4 MBytes   121 Mbits/sec                  
[  4]   7.00-8.00   sec  16.7 MBytes   140 Mbits/sec                  
[  4]   8.00-9.00   sec  19.6 MBytes   165 Mbits/sec                  
[  4]   9.00-10.00  sec  15.0 MBytes   126 Mbits/sec                  
[  4]  10.00-11.00  sec  16.3 MBytes   136 Mbits/sec                  
[  4]  11.00-12.00  sec  16.5 MBytes   139 Mbits/sec                  
[  4]  12.00-13.00  sec  17.1 MBytes   144 Mbits/sec                  
[  4]  13.00-14.00  sec  15.9 MBytes   133 Mbits/sec                  
[  4]  14.00-15.00  sec  18.6 MBytes   156 Mbits/sec                  
[  4]  15.00-16.00  sec  17.1 MBytes   144 Mbits/sec                  
[  4]  16.00-17.00  sec  16.8 MBytes   141 Mbits/sec                  
[  4]  17.00-18.00  sec  16.7 MBytes   140 Mbits/sec                  
[  4]  18.00-19.00  sec  17.3 MBytes   145 Mbits/sec                  
[  4]  19.00-20.00  sec  15.6 MBytes   131 Mbits/sec                  
[  4]  20.00-21.00  sec  18.9 MBytes   158 Mbits/sec                  
[  4]  21.00-22.00  sec  17.4 MBytes   146 Mbits/sec                  
[  4]  22.00-23.00  sec  17.8 MBytes   149 Mbits/sec                  
[  4]  23.00-24.00  sec  17.6 MBytes   147 Mbits/sec                  
[  4]  24.00-25.00  sec  19.1 MBytes   160 Mbits/sec                  
[  4]  25.00-26.00  sec  20.4 MBytes   171 Mbits/sec                  
[  4]  26.00-27.00  sec  19.0 MBytes   159 Mbits/sec                  
[  4]  27.00-28.00  sec  18.9 MBytes   159 Mbits/sec                  
[  4]  28.00-29.00  sec  18.8 MBytes   158 Mbits/sec                  
[  4]  29.00-30.00  sec  19.2 MBytes   161 Mbits/sec                  
[  4]  30.00-31.00  sec  18.6 MBytes   156 Mbits/sec                  
[  4]  31.00-32.00  sec  18.0 MBytes   151 Mbits/sec                  
[  4]  32.00-33.00  sec  17.5 MBytes   147 Mbits/sec                  
[  4]  33.00-34.00  sec  17.4 MBytes   146 Mbits/sec                  
[  4]  34.00-35.00  sec  14.3 MBytes   120 Mbits/sec                  
[  4]  35.00-36.00  sec  18.8 MBytes   158 Mbits/sec                  
[  4]  36.00-37.00  sec  18.6 MBytes   156 Mbits/sec                  
[  4]  37.00-38.00  sec  18.5 MBytes   156 Mbits/sec                  
[  4]  38.00-39.00  sec  17.7 MBytes   148 Mbits/sec                  
[  4]  39.00-40.00  sec  18.4 MBytes   155 Mbits/sec                  
[  4]  40.00-41.00  sec  17.3 MBytes   145 Mbits/sec                  
[  4]  41.00-42.00  sec  19.3 MBytes   162 Mbits/sec                  
[  4]  42.00-43.00  sec  19.8 MBytes   166 Mbits/sec                  
[  4]  43.00-44.00  sec  18.5 MBytes   155 Mbits/sec                  
[  4]  44.00-45.00  sec  16.9 MBytes   142 Mbits/sec                  
[  4]  45.00-46.00  sec  14.6 MBytes   122 Mbits/sec                  
[  4]  46.00-47.00  sec  19.0 MBytes   160 Mbits/sec                  
[  4]  47.00-48.00  sec  15.0 MBytes   126 Mbits/sec                  
[  4]  48.00-49.00  sec  17.8 MBytes   150 Mbits/sec                  
[  4]  49.00-50.00  sec  20.8 MBytes   175 Mbits/sec                  
[  4]  50.00-51.00  sec  16.9 MBytes   142 Mbits/sec                  
[  4]  51.00-52.00  sec  20.2 MBytes   170 Mbits/sec                  
[  4]  52.00-53.00  sec  19.5 MBytes   164 Mbits/sec                  
[  4]  53.00-54.00  sec  20.1 MBytes   168 Mbits/sec                  
[  4]  54.00-55.00  sec  20.5 MBytes   172 Mbits/sec                  
[  4]  55.00-56.00  sec  18.0 MBytes   151 Mbits/sec                  
[  4]  56.00-57.00  sec  18.3 MBytes   154 Mbits/sec                  
[  4]  57.00-58.00  sec  18.4 MBytes   154 Mbits/sec                  
[  4]  58.00-59.00  sec  16.6 MBytes   139 Mbits/sec                  
[  4]  59.00-60.00  sec  17.7 MBytes   148 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-60.00  sec  1.04 GBytes   149 Mbits/sec                  sender
[  4]   0.00-60.00  sec  1.04 GBytes   149 Mbits/sec                  receiver

iperf Done.

Can anyone confirm this behavior or has similar experience? Or is there a hidden switch I have missed to configure?


Many thanks in advanced
Christian

Hi,

i have the same Problem with 3011 as Capsman and hap AC but no Solution. Hope it’s an Firmware Bug in 6.34.2 :frowning:

Greetings from Cologne
Sven

EDIT: I’ve checked again … now i’ve got about 80 Mbit/s via the ac Link with iPhone as Client. I have really NO idea why this happened.

Hi Sven,

in the mean time I have tested something. One of the options I checked was L2MTU size. On the hAP ac lite I set it to 2028 Byte (that was the max possible value on the hAP ac lite box). On the hAP ac I set it to 2304 Byte. You have to set it on both sites of course.

With this values I was able to increase the performance. Here are some figures based on the hAP ac in the 5 GHz band.

  • CAPsMAN configured with forwarding to CAPsMAN connected via layer-3
    Tx Rate 405 MBit
    124 Mbit/s throughput

CAPsMAN configured with forwarding to CAPsMAN connected via layer-2
Tx Rate 405 MBit
173 Mbit/s throughput

CAPsMAN configured with local forwarding connected via layer-2 bridge
Tx Rate 405 MBit
215 Mbit/s throughput

The lower throughput in layer-3 mode is based on additional processing within the firewall.

Would be nice if you can try it on your boxes too and provide your values here.


Many thanks
Christian