Open guoguojia2021 opened 1 year ago
@choppsv1 -> Can you take a look here and help this person out?
@guoguojia2021 can you share with me your config file?
I am observing a significant performance difference when configuring route-maps in FRRouting.
Configuring 1000 route-maps with match local-preference xx takes approximately 59 seconds. Configuring 1000 route-maps with match ipv6 address prefix-len xx takes around 4 minutes and 41 seconds.
Describe the bug When I test "route-map xxx permit xx". If configure 1000 route-maps and 1000 match local-perference xx, it will take 22m 37s. while, If I configure 1000 route-maps and 1000 match ipv6 address prefix-len xx, it only takes 44s.
Versions
Additional context route-map xxx permit x and match local-preference x
route-map xxx permit x and match ipv6 address prefix-len x
Compare the difference between match local-preference x and match ipv6 address prefix-len x, The yang node definition(when condition) is different.
If I change /frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:match-condition/frr-route-map:condition as ../frr-route-map:condition, It will very quickly.
Question