Feature Explorer AI AI

×

Subscribe now to get the Latest Updates

Watch a 2-minute overview video

BGP RIB Sharding

More Information:

BGP RIB Sharding

The BGP process is split into different threads so that they can run concurrently on a multicore routing engine through RIB sharding which results in reduced convergance time and faster performance. BGP RIB sharding splits a BGP RIB into several sub RIBs and each sub RIB handles a subset of BGP routes. Each sub RIB is served by a separate RPD thread to achieve parallel processing. BGP RIB sharding is disabled by default. This feature is supported only on 64-bit routing protocol process (rpd) where the Routing Engine has at least 4 CPU cores and 16 GB of memory. If you configure rib-sharding on a routing engine, RPD will create sharding threads. By default the number of sharding threads created is same as the number of CPU cores on the routing engine. Optionally, you can specify the number-of-shards you want to create. The range is currently 1 through 31. The show route command shows the aggregate data from main and all shards to provide the unified view of the RIBs. To enable this feature, you can configure rib-sharding at the [edit system processes routing bgp] hierarchy level. Sharding is dependent on the update I/O thread feature. Therefore, update I/O thread feature is essential and mandatory when you configure sharding. To enable update I/O, you need to configure update-threading at the [edit system processes routing bgp] hierarchy level for rib-sharding configuration to pass commit check.
Product / Application Software Introduced Release
MX5 Junos OS 19.4R1
MX10 Junos OS 19.4R1
MX40 Junos OS 19.4R1
MX80 Junos OS 19.4R1
MX104 Junos OS 19.4R1
MX204 Junos OS 19.4R1
MX240 Junos OS 19.4R1
MX301 Junos OS 25.4R1
MX304 Junos OS 22.2R3
MX480 Junos OS 19.4R1
MX960 Junos OS 19.4R1
MX2008 Junos OS 19.4R1
MX2010 Junos OS 19.4R1
MX2020 Junos OS 19.4R1
MX10003 Junos OS 19.4R1
MX10004 Junos OS 22.3R1
MX10008 Junos OS 19.4R1
MX10016 Junos OS 19.4R1
PTX10003 Junos OS Evolved 20.1R2
PTX10004 Junos OS Evolved 20.3R1
PTX10008 Junos OS Evolved 20.3R1
PTX10008 Junos OS Evolved 20.1R1
PTX10016 Junos OS Evolved 21.2R2
PTX10002-36QDD Junos OS Evolved 24.2R2