Community discussions

MikroTik App
 
Googler
just joined
Topic Author
Posts: 11
Joined: Thu Jun 24, 2010 1:53 am

HAP AC performance issues

Sat Mar 31, 2018 9:51 pm

Hi all,

I'm having performance issues with HAP AC (IPTV stuttering when downloading / high CPU load).
setup info:
FTTH 200/100
ONT <-> ether1 (with 2 VLANs, one for pppoe and another for IPTV)
Bridge1: ether3 - ether5 & wifi
bridge2: iptv vlan & ether2

There are just basic firewall rules (default setup with fasttrack and masquerade)

when I use ISPs router (set up in bridge mode) there is no stuttering

When downloading CPU usage jumps to 50 - 70%, depending if test is being performed via WiFi or cable

Config:
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf:  drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN

/interface bridge
add admin-mac=AA:AA:AA:AA:AA:AA auto-mac=no comment=defconf name=IPTV
add admin-mac=AA:AA:AA:AA:AA:AA auto-mac=no comment=defconf name=Local
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-onlyn channel-width=20/40mhz-Ce disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=wifi wireless-protocol=802.11
set [ find default-name=wlan2 ] band=5ghz-onlyac channel-width=20/40/80mhz-Ceee disabled=no distance=indoors frequency=auto mode=ap-bridge ssid=wifi-AC wireless-protocol=802.11
/interface vlan
add interface=ether1 name=ether1.100 vlan-id=100
add interface=ether1 name=ether1.101 vlan-id=101
/interface pppoe-client
add add-default-route=yes disabled=no interface=ether1.100 name=pppoe-out1 password=password user=user
/interface list
add comment=defconf name=WAN
add comment=defconf name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=password wpa2-pre-shared-key=password
/interface bridge port
add bridge=IPTV comment=defconf interface=ether1.101
add bridge=Local comment=defconf interface=ether3
add bridge=Local comment=defconf interface=ether4
add bridge=Local comment=defconf interface=ether5
add bridge=Local comment=defconf interface=sfp1
add bridge=Local comment=defconf interface=wlan1
add bridge=Local comment=defconf interface=wlan2
add bridge=IPTV comment=defconf interface=ether2
/interface list member
add comment=defconf interface=Local list=LAN
add comment=defconf interface=ether1 list=WAN
add interface=pppoe-out1 list=WAN
is HAP ACs cpu too slow to handle this? should I change something in config? Could HAP AC2 handle this?
 
mistry7
Forum Guru
Forum Guru
Posts: 1480
Joined: Tue Oct 13, 2009 11:57 am
Location: Germany

Re: HAP AC performance issues

Sat Mar 31, 2018 11:07 pm

 
Googler
just joined
Topic Author
Posts: 11
Joined: Thu Jun 24, 2010 1:53 am

Re: HAP AC performance issues

Sat Mar 31, 2018 11:13 pm

Hi mistry7,
As mentioned in opening post, fasttrack is enabled
 
squeeze
Member Candidate
Member Candidate
Posts: 145
Joined: Thu Mar 22, 2018 7:53 pm

Re: HAP AC performance issues

Sun Apr 01, 2018 1:16 am

Out of interest, can you determine the make and model of the ISP's router?
 
Googler
just joined
Topic Author
Posts: 11
Joined: Thu Jun 24, 2010 1:53 am

Re: HAP AC performance issues

Sun Apr 01, 2018 1:28 am

 
Googler
just joined
Topic Author
Posts: 11
Joined: Thu Jun 24, 2010 1:53 am

Re: HAP AC performance issues

Fri Apr 06, 2018 2:21 pm

anything?
i've tried using switch vlan option, but can't make pppoe with it (managed to get IPTV to work), and when using two bridges interfaces in second don't have HW offload

can this be resolved with HAP AC, or do i need something faster?
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: HAP AC performance issues

Fri Apr 06, 2018 7:39 pm

Hi,

Same problem here.
I have FTTH 100/100 and similar setup (bridged ethernet and wireless, one simple queue, NAT) with FastTrack enabled.
During download/upload CPU is ~95%. Disabling queues reduces CPU usage to ~70%.
I've tried almost everything in configuration but without success.
Funniest part is that hAP AC was bought as replacement for 8 years old RB433AH, where CPU load was also ~95%.
I'm really disappointed with performance results of hAP AC.

Regards,
 
Googler
just joined
Topic Author
Posts: 11
Joined: Thu Jun 24, 2010 1:53 am

Re: HAP AC performance issues

Fri Apr 06, 2018 9:50 pm

ok, so i'm not only one with problems here :)
bought HAP AC year and half ago, thinking it would be a good investment for the future with gigabit ethernet and ac wifi, but looks that i was wrong.

HAP AC2 has some nice benchmark numbers, but i'm skeptical now, it's WiFi is weaker and with current HAP AC i'm having low signal at some parts of home.

Leaning toward edge router and PoE powered AC wifi :/
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: HAP AC performance issues

Fri Apr 06, 2018 10:49 pm

Yes, benchmarks provided by MikroTik looks very promising. but real-life results are completely different.
In my case WiFi is OK, no complaints about it.

Regards,
 
ditonet
Forum Veteran
Forum Veteran
Posts: 835
Joined: Mon Oct 19, 2009 12:52 am
Location: Europe/Poland/Konstancin-Jeziorna
Contact:

Re: HAP AC performance issues

Mon May 21, 2018 3:32 pm

Hi,

Some additional info. There is a Janis' presentation from MUM in USA (https://mum.mikrotik.com/presentations/ ... 556394.pdf).
I made optimization according to advices from this presentation and now max. CPU usage is ~55% :D
It's definitely worth reading.

Regards,

Who is online

Users browsing this forum: No registered users and 31 guests