Community discussions

MikroTik App
 
lordwhiskey
newbie
Topic Author
Posts: 27
Joined: Wed Jun 26, 2013 8:33 am

High CPU with VLAN<->LAN interactions

Tue Aug 25, 2020 8:00 pm

Hello there.

I would like to ask for support for an annoying problem that I'm facing since a while.

I have a RB750UP to manage a small office. For requirements reasons, the MK was set up to have a LAN network over the set of 5 ethernet ports, and a VLAN. In particular, the VLAN network is regulated through firewall rules. More in details, the LAN and VLAN are not allowed to talk to each other, and the way I implemented this was through firewall rules.

There's however one exception; in the LAN there is a NAS that is required to be reached from the VLAN side. The scope for this access is to allow VLAN devices to perform backups over the NAS. Recently I've noticed that (when a backup is in progress) the CPU usage is almost always stuck at 100%.

By running the profiler, emerged that the firewall is partially responsible for this behavior. Therefore, I imagine that the same rules that are used to prevent the VLAN to talk with the LAN, are also responsible for this high CPU usage when an intense usage and interaction between LAN<->VLAN takes place.

Is there any specific trick that I could use to achieve the same result with less CPU load?

Thanks
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13151
Joined: Thu Mar 03, 2016 10:23 pm

Re: High CPU with VLAN<->LAN interactions

Tue Aug 25, 2020 8:07 pm

RB750UP is not really a speed monster. Which means its setup has to be really fine tuned to get decent performance.

I'd say that posting complete config (run /export hide-senditive and post all output) would allow us to see if there's something to improve.
 
lordwhiskey
newbie
Topic Author
Posts: 27
Joined: Wed Jun 26, 2013 8:33 am

Re: High CPU with VLAN<->LAN interactions

Tue Aug 25, 2020 8:48 pm

Thanks for the prompt reply. I'll dump here a config export soon.

A quick question: what could be a good upgrade from RB750UP to manage a small office?

Actually I was also considering the upgrade solution, however without a clear understanding of what could be a good replacement.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13151
Joined: Thu Mar 03, 2016 10:23 pm

Re: High CPU with VLAN<->LAN interactions

Sun Aug 30, 2020 8:38 pm

Go through ethernet routers in product page. Look at physical properties (e.g. number of ethernet ports and speed of thereof) and check Test results. Routing capacity is listed under Ethernet test results, the number which is closest to real-life performance[*] in majority of use cases is listed as Routing - 25 ip filter rules - 512 byte packet size. Mind that this number includes LAN-to-LAN routing and depending on layout of your network you may want the number near gigabit. Not many devices with SOHO-friendly price tags can do it.

[*] This statement is not "cast in stone", it reflects experience of number of users, members of this forum.