Community discussions

MikroTik App
 
Brad
newbie
Topic Author
Posts: 39
Joined: Sat May 29, 2004 8:58 am

CPU Load - RB750Gr3 vs RB5009 vs RB4011

Mon Jan 24, 2022 1:57 am

We had a RB750Gr3 that was starting to max out on CPU load on a router that was being used as a PPPoE server with about 180 PPPoE clients and also running some queues, filters, etc with about 400Mbps of data flowing through during peak times. We decided to try a RB5009 and a RB4011 to see how they would handle the CPU load. You can see on the chart where the RB750Gr3 was being used from 12/25 through 1/12 and then the RB5009 from 1/13 through 1/16 and then the RB4011 from 1/17 through 1/23. It seems the RB4011 is handling the load about the same but for some reason something is spiking the Processor 1 much more than when using the RB5009. Does anyone have any ideas what might be causing this?
Capture.JPG
You do not have the required permissions to view the files attached to this post.
 
elbob2002
Member Candidate
Member Candidate
Posts: 252
Joined: Tue May 15, 2018 8:15 pm
Location: Ireland

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Mon Jan 24, 2022 3:05 pm

Looks like a simple matter of the 5009 having a more powerful CPU than the 4011.
 
Brad
newbie
Topic Author
Posts: 39
Joined: Sat May 29, 2004 8:58 am

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Mon Jan 24, 2022 4:42 pm

Looks like a simple matter of the 5009 having a more powerful CPU than the 4011.
But if you look at Processor 2, 3 and 4, they are under almost the exact same load on the 4011 as they were on the 5009. It is only Processor 1 that is spiking now on the 4011 that wasn't on the 5009. What does Processor 1 handle that the other processors do not?
 
pe1chl
Forum Guru
Forum Guru
Posts: 10195
Joined: Mon Jun 08, 2015 12:09 pm

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Mon Jan 24, 2022 4:46 pm

Some tasks in RouterOS are not multi-threaded and will be handled only by a single CPU.
That is why in some cases you need a router where 1 CPU is fast (e.g. RB5009) and other solutions (like the CCR which has many slower CPUs) are not going to cut it.

On the other hand, I never cease to be amazed that a user (I presume a company) handles 180 PPPoE clients and buys a RB750Gr3 to do it... unbelievable!
 
Brad
newbie
Topic Author
Posts: 39
Joined: Sat May 29, 2004 8:58 am

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Mon Jan 24, 2022 6:49 pm

On the other hand, I never cease to be amazed that a user (I presume a company) handles 180 PPPoE clients and buys a RB750Gr3 to do it... unbelievable!
The intention wasn't to put that many connections on this RB750Gr3 but we had a second unit that failed and we were planning to upgrade to either the RB4011 or RB5009 but had trouble getting them because of the supply chain issues so they were all temporarily put on this one router. Also, as you can see, the RB750Gr3 actually handled the load fairly well and just recently started hitting 100% during peak load.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Mon Jan 24, 2022 8:10 pm

We had a RB750Gr3 that was starting to max out on CPU load on a router that was being used as a PPPoE server with about 180 PPPoE clients and also running some queues, filters, etc with about 400Mbps of data flowing through during peak times. We decided to try a RB5009 and a RB4011 to see how they would handle the CPU load. You can see on the chart where the RB750Gr3 was being used from 12/25 through 1/12 and then the RB5009 from 1/13 through 1/16 and then the RB4011 from 1/17 through 1/23. It seems the RB4011 is handling the load about the same but for some reason something is spiking the Processor 1 much more than when using the RB5009. Does anyone have any ideas what might be causing this?

Capture.JPG
try using tools -- profile on the rb4011 to see which topic causes the spike in cpu usage
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Mon Jan 24, 2022 8:12 pm

Some tasks in RouterOS are not multi-threaded and will be handled only by a single CPU.
That is why in some cases you need a router where 1 CPU is fast (e.g. RB5009) and other solutions (like the CCR which has many slower CPUs) are not going to cut it.

On the other hand, I never cease to be amazed that a user (I presume a company) handles 180 PPPoE clients and buys a RB750Gr3 to do it... unbelievable!
yes thats milking the bussines to absurd levels

with the aggravating circumstance that in many cases a consumption greater than 50-60% in a rb750gr3/rb760 implies a degradation of the service
 
Brad
newbie
Topic Author
Posts: 39
Joined: Sat May 29, 2004 8:58 am

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Tue Jan 25, 2022 3:19 am

We had a RB750Gr3 that was starting to max out on CPU load on a router that was being used as a PPPoE server with about 180 PPPoE clients and also running some queues, filters, etc with about 400Mbps of data flowing through during peak times. We decided to try a RB5009 and a RB4011 to see how they would handle the CPU load. You can see on the chart where the RB750Gr3 was being used from 12/25 through 1/12 and then the RB5009 from 1/13 through 1/16 and then the RB4011 from 1/17 through 1/23. It seems the RB4011 is handling the load about the same but for some reason something is spiking the Processor 1 much more than when using the RB5009. Does anyone have any ideas what might be causing this?

Capture.JPG
try using tools -- profile on the rb4011 to see which topic causes the spike in cpu usage
Under a pretty good load but while the other processors are only showing 10-20% usage, CPU0 "referenced as Processor 1 in PRTG?" is showing 62% with the following details in Profile.

NAME CPU USAGE
ethernet 0 6%
console 0 0%
firewall 0 15.5%
networking 0 20%
management 0 0%
routing 0 2.5%
queuing 0 12.5%
bridging 0 3%
unclassified 0 2.5%
cpu0 62%
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Tue Jan 25, 2022 4:07 am



try using tools -- profile on the rb4011 to see which topic causes the spike in cpu usage
Under a pretty good load but while the other processors are only showing 10-20% usage, CPU0 "referenced as Processor 1 in PRTG?" is showing 62% with the following details in Profile.

NAME CPU USAGE
ethernet 0 6%
console 0 0%
firewall 0 15.5%
networking 0 20%
management 0 0%
routing 0 2.5%
queuing 0 12.5%
bridging 0 3%
unclassified 0 2.5%
cpu0 62%


looking profiling we can see it, the problem is related to balancing of load between cores, but cheking the rb750Gr3 graph we see similar behavior charging one thread/core most than the 3 remaining, exasperated by the especial fact in rb750Gr3 (mediatek soc with 2 cores 4 threads) 2 threads share resources of one core, because this we have the impresion of more balanced load but at the end the behavior is very simmilar

The novelty here is rb5009 doing a better job balancing the load between cores

Which version of routeros were running this 3 devices ?

footnote: normally some configurations end up creating this situation when load mostly a single thread/core, for example when most traffic goes across a single tunnel this leads to a single thread/core uneven load
 
Brad
newbie
Topic Author
Posts: 39
Joined: Sat May 29, 2004 8:58 am

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Tue Jan 25, 2022 4:28 am

Which version of routeros were running this 3 devices ?
All were running 7.1.1.

This router does have a bridge for 5 of the ports which a lot of the traffic and PPPoE connections are going through, I was just thinking that one thing about the RB5009 that I read was a better switching processor, could this be the difference?
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 2990
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: CPU Load - RB750Gr3 vs RB5009 vs RB4011

Tue Jan 25, 2022 5:31 am

Which version of routeros were running this 3 devices ?
All were running 7.1.1.

This router does have a bridge for 5 of the ports which a lot of the traffic and PPPoE connections are going through, I was just thinking that one thing about the RB5009 that I read was a better switching processor, could this be the difference?
using rb4011 on varied scenarios with routeros 6.xx most the time i can see a very balanced CPU usage between cores, maybe is a 7.1.1 issue

this transition from 6 to 7 can be bumpy and tricky, we must be patient and report the issues

Who is online

Users browsing this forum: Ahrefs [Bot] and 81 guests