Hello, can you give me a hand with WiFi settings? I’m trying to achieve maximum performance but I achieve only 120Mbps?
This is the whole question : https://serverfault.com/questions/927459/mikrotik-5ghz-ac-only-110mbps
Hello, can you give me a hand with WiFi settings? I’m trying to achieve maximum performance but I achieve only 120Mbps?
This is the whole question : https://serverfault.com/questions/927459/mikrotik-5ghz-ac-only-110mbps
I am not sure how the others feel, but I am not going to scratch on other forums for the details, if you require assistance from Mikrotik forum, please provide details here so we can look at it
JFYI: It’s not a forum. It’s just 1 click away, it’s not hard to click.
I just bought Mikrotik hAP AC^2 and I configured it’s WiFi to be controlled by CAPsMAN. The problem I have is that when I connect to it with my laptop (MacBook Pro 2016 Touchbar) I cannot achieve more than 110Mbps. On cable I can achieve 560Mbps.
Provision:
0 radio-mac=00:00:00:00:00:00 hw-supported-modes=gn identity-regexp="" common-name-regexp="" ip-address-ranges="" action=create-dynamic-enabled master-configuration=cfg1 slave-configurations="" name-format=prefix-identity
name-prefix="2GHz"
1 radio-mac=00:00:00:00:00:00 hw-supported-modes=ac identity-regexp="" common-name-regexp="" ip-address-ranges="" action=create-dynamic-enabled master-configuration=cfg2 slave-configurations="" name-format=prefix-identity
name-prefix="5GHz"
Configuration:
0 name="cfg1" ssid="SSID" security=security1 datapath=datapath1 channel=channel1
1 name="cfg2" ssid="SSID" security=security1 datapath=datapath1 channel=channel2
Channel:
0 name="channel1" control-channel-width=20mhz band=2ghz-onlyn
1 name="channel2" control-channel-width=20mhz band=5ghz-onlyac
Datapath:
0 name="datapath1" bridge=bridge
Security:
0 name="security1" authentication-types=wpa2-psk encryption=aes-ccm passphrase="*****"
In registration table I see 866Mbps and it’s using both antennas, but when I test I get only 120Mbps. The device is 1M away from router, ALMOST clear. (there is a wired PC between them):
Registration table:
This is interface:
This is diagnostics from device:
PHY Mode: 802.11ac
Channel: 36
Country Code: BG
Network Type: Infrastructure
Security: WPA2 Personal
Signal / Noise: -50 dBm / -93 dBm
Transmit Rate: 527
MCS Index: 6
and this:
last seen: 120375.262s [boottime]
TSF: 75830078452 usec (0d, 21:03:50)
freq: 5180
beacon interval: 100 TUs
capability: ESS Privacy ShortSlotTime (0x0411)
signal: -61.00 dBm
last seen: 120 ms ago
Information elements from Probe Response frame:
SSID: SSID
Supported rates: 6.0* 9.0 12.0 18.0 24.0 36.0 48.0 54.0
HT capabilities:
Capabilities: 0x6e
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
No DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: No restriction (0x00)
HT RX MCS rate indexes supported: 0-15
HT TX MCS rate indexes are undefined
RSN: * Version: 1
* Group cipher: CCMP
* Pairwise ciphers: CCMP
* Authentication suites: PSK
* Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
HT operation:
* primary channel: 36
* secondary channel offset: above
* STA channel width: any
* RIFS: 0
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
VHT capabilities:
VHT Capabilities (0x01800020):
Max MPDU length: 3895
Supported Channel Width: neither 160 nor 80+80
short GI (80 MHz)
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 0 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 0 Mbps
VHT operation:
* channel width: 1 (80 MHz)
* center freq segment 1: 42
* center freq segment 2: 0
* VHT basic MCS set: 0xfffc
WMM: * Parameter version 1
* u-APSD
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
What am I missing?
Check CPU load on routerboard while transfering data - command is /system resource monitor. Recently I did some tests over WiFi and noticed that I was getting low throughput while CPU was at 100%. DL direction was much worse than UL direction.
Hm…
cpu-used: 26%
cpu-used-per-cpu: 0%,1%,4%,100%
It possible to be that? It’s using one core only?
otherwise i have only 6 rules except default ones.
I’m just in the process of testing my own hAP ac2 … I observed the 100% CPU on a RB951G, which has only single core and I don’t know (yet) how WiFi scales over multi-core CPU. I guess behaviour might depend on number of parallel streams. E.g. during my tests, if I used 12 parallel (UDP) streams, cumulative WiFi DL throughput was around 20Mbps (while laptop claimed it had 170Mbps connection to AP) and CPU load hit the ceiling. When I only used 2 or 3 parallel streams, cumulative DL throughput raised to around 60 Mbps while CPU load was 60-70%.
What I simulated by several parallel streams can be in real life number of concurrent WiFi users … more concurrent users degrade overall AP throughput.
A few things in RB scale well to many CPU cores. SW-based VLAN is one such thing, when I did 12-stream UDP test over ethernet, CPU cores had quite even load (around 5% each). I guess FW filtering would be one of well-scalable tasks as well.
Here is profile.
I resetted router and tried with default setting:
Accepted connection from 192.168.88.250, port 59733
[ 5] local 192.168.88.253 port 5201 connected to 192.168.88.250 port 59734
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 47.7 MBytes 400 Mbits/sec
[ 5] 1.00-2.00 sec 43.9 MBytes 369 Mbits/sec
[ 5] 2.00-3.00 sec 46.4 MBytes 389 Mbits/sec
[ 5] 3.00-4.00 sec 48.3 MBytes 405 Mbits/sec
[ 5] 4.00-5.00 sec 45.8 MBytes 384 Mbits/sec
[ 5] 5.00-6.00 sec 46.5 MBytes 390 Mbits/sec
[ 5] 6.00-7.00 sec 40.9 MBytes 343 Mbits/sec
[ 5] 7.00-8.00 sec 41.8 MBytes 350 Mbits/sec
[ 5] 8.00-9.00 sec 49.8 MBytes 417 Mbits/sec
[ 5] 9.00-10.00 sec 46.8 MBytes 392 Mbits/sec
[ 5] 10.00-10.03 sec 1.23 MBytes 365 Mbits/sec
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.03 sec 459 MBytes 384 Mbits/sec receiver
So I guess it’s something with CAPsMAN settings?
EDIT: This is screenshot of CPU with 5GHz radio detached from CAPsMAN with test speed 300-400Mbps.
No “Networking” and “Firewall” process consume CPU now.
Your channel width in capsman is set to 20MHz, try 40 or 80?
SOLVED. I turned on Local forwarding in Datapath and bridged wlan interfaces and now I achieve 400 mbps with CAPsMAN controlled APs.