[j-nsp] Junos 20 - slow RPD

Luca Salvatore lucasalvatore at gmail.com
Tue Mar 29 12:02:58 EDT 2022


I've been down the path of very slow RPD with JTAC recently.  In our case
it was due to some mildly complex BGP community stuff that we do which was
exhausting memory limits.
A good fix for us was to bump up the memory allocation using these hidden
commands:

set policy-options as-path-match memory-limit 16m
set policy-options community-match memory-limit 16m

Default memory is 2097152 bytes, so very small.  You can see some
interesting numbers with some other hidden commands:

show policy community-match
show policy as-path-match

Also if you're running EVPN, check out this PR which is a whole world of
fun
https://prsearch.juniper.net/InfoCenter/index?page=prcontent&id=PR1616167



On Fri, Mar 25, 2022 at 6:27 AM Mark Tinka via juniper-nsp <
juniper-nsp at puck.nether.net> wrote:

>
>
> On 3/25/22 11:21, Mihai via juniper-nsp wrote:
>
> > In my case I just upgraded one MX204 in the lab to 21.2R2, enabled
> > rib-sharding and increased the JunosVM memory to 24G and things look
> > better now.
>
> Glad to hear!
>
> Mark.
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>


More information about the juniper-nsp mailing list