Community discussions

MikroTik App
 
chubbs596
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 90
Joined: Fri Dec 06, 2013 6:07 pm

ROS V7 BGP high cpu load on advertising routes

Mon Jun 26, 2023 9:05 am

Hi,

has anyone noticed that ROS7 takes allot of CPU resources to advertise routes? Im have now finnally migrated 2 of my peering routers to 7.10 now that BFD has been added, done a few test on ccr1016 this is not usable at the moment due to a bug that causes a kernel failure that has been confirmed by Mikrotik and waiting for a fix, the CCR2004-1G-12S+2XS still not usable to me when there is a full table or 2 , 780k ip6 routes and 1.4mil ip4 routes, and about 70 bgp peer, I have tried with multiple settings in input and output affinity, cant get it to work properly, the most stable was using main for input output, but this comes with its own issues, and after running this on CHR with 10 3ghz cores I can see why, on the ccr2004 1 cpu core just sits at 100% and even after 20min no routes are advertised, on the CHR i have set input and output to alone, here if I enable my advertises filters it pegs all 10 cpu cores to about 80% and it is there for about 20-30sec, this is to advertise routes to about 70peers, routes advertised is about 38 ip4 and 17 ip6 routes on average per peer, this is not allot to advertise, so not sure why the heavy cpu load, not sure if my route filters are done wrong to cause this high load, below is example of outbound route filter per peer,

chain=T_GOOGLE rule="set bgp-communities 15169:13010; jump T_GEN_S_ZONE;"
chain=T_GEN_S_ZONE rule="if (dst in xxx.xxx.252.0/22 && dst-len in 22-24) { set bgp-out-med 20; accept; }"
chain=T_GEN_S_ZONE rule="if (dst in xxx.xxx.224.0/19 && dst-len in 19-24) { set bgp-out-med 20; accept; }"
chain=T_GEN_S_ZONE rule="if (dst in xxxx::/32 && dst-len in 32-36) { set bgp-out-med 20; accept; }"
chain=T_GEN_S_ZONE rule="return;"

Who is online

Users browsing this forum: No registered users and 3 guests