Community discussions

MikroTik App
 
Jochen
just joined
Topic Author
Posts: 6
Joined: Thu Jun 04, 2020 3:03 pm

CCR1072 wt Queues -> High CPU load

Thu Jun 04, 2020 4:16 pm

Hi all,

we run into some trouble with our PPPoE Access Concentrator (CCR1072 with ROSv6.46.4 stable). We have >~1k sessions. and around 2Gbit/s peak traffic. The bandwith of our DSL customers is shaped at the DSLAMs (in the most cases, not all) but our FTTH and radio customers are shaped by Queue on the CCR1072. At the moment that are ~300 Queues. Most Queues are dynamic via PPPoE but some are static simple queues with standard settings (besides Upload/Download Limit).

Here is the problem: When a customer with FTTH 500Mbit/s uses his bandwith, the CPU load increases to nearly 100% with all resulting consequences!

Please, take a look on the pix:
Queues on the Access Concentrator, sorted by Max Limit.
CCR_Queues.jpg
Last 12h statistics. You can see the massive CPU load + very high latency in the hole network
CCR_Cacti.jpg
Last 7 days statistics. You can see that there is no problem with traffic/performance aslong as the "big" queues aren't fully used.
CCR_Cacti_1week.jpg
Does anyone have an idea how to manage that problem? The customers are connected to the network with CRS317/CRS328-4C-20S-4S+. We used to shape costomers by "Switch -> Port -> Ingress/Egress Rate" but our customers complained about packet loss. So we changed to "open" Ports and Queues...
If you need more Infos pleas ask! Thanks in advance.

Jochen
You do not have the required permissions to view the files attached to this post.
 
thx
just joined
Posts: 2
Joined: Wed Jun 10, 2020 4:49 am

Re: CCR1072 wt Queues -> High CPU load

Wed Jun 10, 2020 5:05 am

Hi Jochen,

just wondering, apart from cpu spike .. is there router ever rebooted?
do u enable nat and fw as well in the same ccr1072?
 
Jochen
just joined
Topic Author
Posts: 6
Joined: Thu Jun 04, 2020 3:03 pm

Re: CCR1072 wt Queues -> High CPU load

Wed Jun 10, 2020 4:02 pm

Hi thx,

no the router did not reboot. We do have firewall and nat on the router but no masquerading, only src nat and only for IPs that we use for our servers etc. Our customers get IPv4 adresses out of a dedicated pool. For all IPs in that pool we have RAW rules which disable connection tracking.

About the trouble queues: Those queues are set on bridges.

For customers without PPPoE, we add a bridge (1 for each customer). In this bridge we add a VLAN interface (interface -> vlan). The bridges are needed for L2 filters. Then we configure an /30 IP address on the bridge and put the queue for bandwith control on the bridge.

Is it possible that the problem is the bridge as queue target? Should we put the queue on the VLAN interface itself? Or wrong queue type?

Regards
Jochen
 
Jochen
just joined
Topic Author
Posts: 6
Joined: Thu Jun 04, 2020 3:03 pm

Re: CCR1072 wt Queues -> High CPU load

Mon Jun 15, 2020 12:17 pm

Just now it happened again... CPU 100% until I disabled the queue... Please anyone?

Regards
Jochen
 
joarc
just joined
Posts: 16
Joined: Wed May 08, 2019 1:52 pm

Re: CCR1072 wt Queues -> High CPU load

Mon Jun 15, 2020 1:55 pm

The CCr1072 isnt made for queues or firewall/nat, it was made to route packets. While it can handle some queues and firewall/natting, it doesnt have the clockspeed to handle it well.
 
Jochen
just joined
Topic Author
Posts: 6
Joined: Thu Jun 04, 2020 3:03 pm

Re: CCR1072 wt Queues -> High CPU load

Mon Jun 15, 2020 5:01 pm

Ok than maybe the queues on the CCR aren't the most efficient way but it's the only way to shape customers' traffic. ...and why 100% CPU?? we have queues with 250MBit/s => no problem, but 500Mbit/s tear down the hole device??
 
Jochen
just joined
Topic Author
Posts: 6
Joined: Thu Jun 04, 2020 3:03 pm

Re: CCR1072 wt Queues -> High CPU load

Mon Jun 22, 2020 4:45 pm

I did now a lab test with 3 CCR1072. I connected the 3 CCRs to each other like that:

CCR1 sfp+1 <--> sfp+1 CCR2 sfp+2 <--> sfp+1 CCR3 all connections with 10G DAC

Than I put IP adresses onto the interfaces and start Bandwithtest from CCR3 to CCR1 through CCR2

=> ~10Gbit/s throughput

Then I add on CCR2 a simple queue with 200Mbit/s Max Limit => CPU 100% on CCR2 for a while, than 0% for a while and after a minute 100% again......... :shock:

There is no other config on the CCRs, just what I've written. So ONE queue with 200Mbit/s knocks out the CCR1072. Maybe the 1072 is not the right device for traffic shaping but since the MT switches for customers access can't handle the shaping I'm forced to do it on the 1072. :(
 
User avatar
machack
Frequent Visitor
Frequent Visitor
Posts: 65
Joined: Fri Jun 01, 2007 9:35 pm
Location: San Luis Argentina
Contact:

Re: CCR1072 wt Queues -> High CPU load

Wed Jul 01, 2020 4:27 pm

+1

Sam Problem.
 
Jochen
just joined
Topic Author
Posts: 6
Joined: Thu Jun 04, 2020 3:03 pm

Re: CCR1072 wt Queues -> High CPU load

Thu Jul 02, 2020 11:15 am

Hi machack,

do you have a workaround?
 
sunshuvo
just joined
Posts: 4
Joined: Wed Aug 09, 2017 7:34 am

Re: CCR1072 wt Queues -> High CPU load

Wed Dec 23, 2020 8:38 am

Hi machack and jochen,

Same problem here. Did you get any solution?

I'm planning to purchase a server and RouterOS but didn't get any information about server specifications. My traffic will be 10Gbps with 10000 IPs.

Thank you
 
Gerlach76
Member Candidate
Member Candidate
Posts: 111
Joined: Fri Nov 03, 2006 3:24 pm

Re: CCR1072 wt Queues -> High CPU load

Sat Jan 23, 2021 9:02 am

any news about the Problem?
 
Yoncu
just joined
Posts: 11
Joined: Sat Mar 06, 2021 2:59 pm

Re: CCR1072 wt Queues -> High CPU load

Sat Mar 06, 2021 3:04 pm

+1
I have the same problem. Active 1 Gbit / s usage is available. When I try to add queues, the cpu becomes 100%. The device freezes and reboot itself auto after 2 minutes. There is a very serious problem.
We want a solution. Mikrotik, what is the solution?
 
mobilexpi
Member Candidate
Member Candidate
Posts: 115
Joined: Thu May 26, 2005 5:24 am
Location: Santiago

Re: CCR1072 wt Queues -> High CPU load

Sun Apr 04, 2021 2:39 am

We also noticed the same issue, a serious one
 
mada3k
Long time Member
Long time Member
Posts: 682
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Re: CCR1072 wt Queues -> High CPU load

Sun Apr 04, 2021 11:07 am

Well, 500Mbit/s is quite a bandwidth to queue, shape or police. PPPoE also adds a lot of overhead as well. I'm not surprised.

You probably should split that up to several boxes. A single 1072 isn't that great of a device.
 
mobilexpi
Member Candidate
Member Candidate
Posts: 115
Joined: Thu May 26, 2005 5:24 am
Location: Santiago

Re: CCR1072 wt Queues -> High CPU load

Mon Apr 05, 2021 4:09 am

Hi,
The strange thing is that with a CCR1036 I can apply up to 3 Gbps queues without issues and with less than 50% cpu usage, so the ccr1036 probably supports 6 Gbps queues without issues, but the CCR1072 can't handle 1 Gbps queues
Well, 500Mbit/s is quite a bandwidth to queue, shape or police. PPPoE also adds a lot of overhead as well. I'm not surprised.

You probably should split that up to several boxes. A single 1072 isn't that great of a device.
 
fabchia
just joined
Posts: 2
Joined: Sun Aug 22, 2010 6:39 pm

Re: CCR1072 wt Queues -> High CPU load

Thu Apr 22, 2021 5:23 am

El mismo problema 🥺... alguna solución?
 
vili11
just joined
Posts: 11
Joined: Thu Mar 28, 2019 7:41 pm

Re: CCR1072 wt Queues -> High CPU load

Fri May 14, 2021 8:14 pm

Try changing your packet queue to 1. I found that info here:
https://mum.mikrotik.com/presentations/ ... 933623.pdf

Who is online

Users browsing this forum: Ahrefs [Bot], dmitris, Google [Bot], karlisi, loloski, onnyloh, sadjoe and 82 guests