Community discussions

MikroTik App
 
hooyao
newbie
Topic Author
Posts: 37
Joined: Mon Feb 20, 2017 6:11 pm

wAP ac is slow with manager forwarding and high CPU

Sun Dec 09, 2018 6:32 am

Problem description:
wAP ac's 5G chip is QCA9880, which is suppose to deliver 70-80M/s data transfer speed with 2 chains(866M)
but with capsman's manager forwarding, wAP ac uses up CPU to deliver 42MB/s(330Mbps) to only 1 client. It's weird. The processing should be on capsman, there is no filter rules, nothing on wAP that eats CPU.
This performance is not reasonable for even a home AP. I'm wondering if there is some tricks to make the setup right.

My setup is:
x86 visualized RouterOS with L4 license as capsman on intel i3 5005(2 core 2.0G, 4 threads)
3x wAP ac with manager forwarding

testing bench:
8700k+z370+intel 9260ac

the wireless adapter can reach 866M without any problem via wAP ac, but the iperf test caps at 42M/s
capsman's CPU is like
capsman.PNG
wAP's CPU is like
capac.PNG
capsman's datapath is simple
Capture.PNG
You do not have the required permissions to view the files attached to this post.
Last edited by hooyao on Mon Dec 17, 2018 5:05 pm, edited 1 time in total.
 
User avatar
Steveocee
Forum Guru
Forum Guru
Posts: 1120
Joined: Tue Jul 21, 2015 10:09 pm
Location: UK
Contact:

Re: wAP ac is slow with manager forwarding and high CPU

Mon Dec 10, 2018 8:51 am

Do you need to run the traffic locally through manager? The traffic is being tunneled back to the manager hence where the CPU usage is coming from, without tunneling you should get full speed.
 
hooyao
newbie
Topic Author
Posts: 37
Joined: Mon Feb 20, 2017 6:11 pm

Re: wAP ac is slow with manager forwarding and high CPU

Mon Dec 10, 2018 5:02 pm

Do you need to run the traffic locally through manager? The traffic is being tunneled back to the manager hence where the CPU usage is coming from, without tunneling you should get full speed.
Thank you for the info, but I tried local forwarding, the speed improves 2M/s, wifi and networking still eat up all the CPU.I notice there's no switch chip in wAP ac, the data forwarding between the Ethernet and WLAN has to go through CPU.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11616
Joined: Thu Mar 03, 2016 10:23 pm

Re: wAP ac is slow with manager forwarding and high CPU

Mon Dec 10, 2018 11:28 pm

Do you need to run the traffic locally through manager? The traffic is being tunneled back to the manager hence where the CPU usage is coming from, without tunneling you should get full speed.
Thank you for the info, but I tried local forwarding, the speed improves 2M/s, wifi and networking still eat up all the CPU.I notice there's no switch chip in wAP ac, the data forwarding between the Ethernet and WLAN has to go through CPU.
Data between ethernet and wifi will always go through CPU. And it seems that wifi drivers in ROS consume quite some CPU cycles, this seems to be the bottleneck in most situations. DL seems to be hit noticably worse than UL.
 
anuser
Long time Member
Long time Member
Posts: 601
Joined: Sat Nov 29, 2014 7:27 pm

Re: wAP ac is slow with manager forwarding and high CPU

Sun Dec 16, 2018 11:16 pm

~200Mbit/s on CAPSMAN forwarding enabled wAP ac with my old Sony Compact 802.11n smartphone connecting with 300Mbit/s.
Did you enable those:
/interface wireless set adaptive-noise-immunity=ap-and-client-mode wlan2
/interface wireless set adaptive-noise-immunity=ap-and-client-mode wlan1
Afterwards reenable Capsman Controller configuration

I see you have a current Intel AC wifi card in your laptop...
 
User avatar
JohnTRIVOLTA
Member
Member
Posts: 345
Joined: Sun Dec 25, 2016 2:05 pm
Location: BG/Sofia

Re: wAP ac is slow with manager forwarding and high CPU

Mon Dec 17, 2018 12:25 am

I have same issue ! With netbox 5 , 1 client /my laptop/ achieved max only 46 mbit/s when i transfer some file/s/ via ftp from my local nas. The laptop wireless adapter AR5BWB222 300/300 connectivity .
Image
Last edited by JohnTRIVOLTA on Mon Dec 17, 2018 12:31 am, edited 1 time in total.
 
mistry7
Forum Guru
Forum Guru
Posts: 1480
Joined: Tue Oct 13, 2009 11:57 am
Location: Germany

Re: wAP ac is slow with manager forwarding and high CPU

Mon Dec 17, 2018 12:29 am

With Local forwarding and Fastpath active on bridge?
Only Hardware queue on WiFi Interfaces?
 
hooyao
newbie
Topic Author
Posts: 37
Joined: Mon Feb 20, 2017 6:11 pm

Re: wAP ac is slow with manager forwarding and high CPU

Mon Dec 17, 2018 4:57 pm

~200Mbit/s on CAPSMAN forwarding enabled wAP ac with my old Sony Compact 802.11n smartphone connecting with 300Mbit/s.
Did you enable those:
/interface wireless set adaptive-noise-immunity=ap-and-client-mode wlan2
/interface wireless set adaptive-noise-immunity=ap-and-client-mode wlan1
Afterwards reenable Capsman Controller configuration

I see you have a current Intel AC wifi card in your laptop...
I tried to set adaptive-noise-immunity=ap-and-client-mode, but it doesn't help, I'm afraid wap ac's problem is not noise interference, its cpu is bottlenecked.
 
hooyao
newbie
Topic Author
Posts: 37
Joined: Mon Feb 20, 2017 6:11 pm

Re: wAP ac is slow with manager forwarding and high CPU

Mon Dec 17, 2018 5:05 pm

With Local forwarding and Fastpath active on bridge?
Only Hardware queue on WiFi Interfaces?
localforwarding will increase 2M/s, with fast forward on, i give up, it should be the limit of wap ac.

and actually i mean 42MB/s, 330Mbps :)
 
hooyao
newbie
Topic Author
Posts: 37
Joined: Mon Feb 20, 2017 6:11 pm

Re: wAP ac is slow with manager forwarding and high CPU

Mon Dec 17, 2018 5:07 pm

I have same issue ! With netbox 5 , 1 client /my laptop/ achieved max only 46 mbit/s when i transfer some file/s/ via ftp from my local nas. The laptop wireless adapter AR5BWB222 300/300 connectivity .
Image
my wap ac can actually reach 330Mbps, it annoys me it's cpu bottlenecks it's speed. probably not the same issue :lol:

Who is online

Users browsing this forum: Amazon [Bot], bias89 and 44 guests