<commit_before>---
published: true
date: '2018-08-17 00:28 +0200'
title: NCS5500 FIB Programming Speed
author: <NAME>
excerpt: >-
  In this post, we focus on the speed the system can program routes in RP and in
  hardware
tags:
  - ncs5500
  - ncs 5500
  - FIB
  - eTCAM
  - Internet
position: hidden
---
{% include toc icon="table" title="NCS5500 FIB Programming Speed" %} 

You can find more content related to NCS5500 including routing memory management, VRF, URPF, ACLs, Netflow following this [link](https://xrdocs.io/cloud-scale-networking/tutorials/).

## Programming Speed

In this post, we will measure the time it takes to learn routes in the RIB and in the FIB.

The first one exists in the Route Processor and will be fed by a BGP process.  
The second one exists in multiple places, but to simplify the discussion, we will measure what is actually programmed in the NPU database.  

We often hear that "Merchant Silicon systems program prefixes slowers than other products" but clearly this assertion is not based on facts and we will debunk it with this post and video.

### Video demo

Let's get started with a video we recorded and published on youtube.  

[![NCS5500 Programming Speed](https://img.youtube.com/vi/o4pUTniOuRY/0.jpg)](https://www.youtube.com/watch?v=o4pUTniOuRY){: .align-center}

In this demo, we advertised 1,2000,000 IPv4 routes to our system under test:  
300K IPv4/22, 300K IPv4/23 and 600K IPv4/25

<div class="highlighter-rouge">
<pre class="highlight">
<code> 
router bgp 1000
bgp_id 192.168.100.151
neighbor 192.168.100.200 remote-as 100
neighbor 192.168.100.200 update-source 192.168.100.151
capability ipv4 unicast
network 1 172.16.31.10/23 300000
nexthop 1 192.168.22.1
network 2 172.16.31.10/25 600000
nexthop 2 192.168.22.1
network 3 172.16.31.10/22 300000<commit_msg>Update ncs5500-fib-programming-speed.md<commit_after>---
published: true
date: '2018-08-17 00:28 +0200'
title: NCS5500 FIB Programming Speed
author: <NAME>
excerpt: >-
  In this post, we focus on the speed the system can program routes in RP and in
  hardware
tags:
  - ncs5500
  - ncs 5500
  - FIB
  - eTCAM
  - Internet
position: hidden
---
{% include toc icon="table" title="NCS5500 FIB Programming Speed" %} 

You can find more content related to NCS5500 including routing memory management, VRF, URPF, ACLs, Netflow following this [link](https://xrdocs.io/cloud-scale-networking/tutorials/).

## Programming Speed

In this post, we will measure the time it takes to learn routes in the RIB and in the FIB.

The first one exists in the Route Processor and will be fed by a BGP process.  
The second one exists in multiple places, but to simplify the discussion, we will measure what is actually programmed in the NPU database.  

We often hear that "Merchant Silicon systems program prefixes slowers than other products" but clearly this assertion is not based on facts and we will debunk it with this post and video.

### Video demo

Let's get started with a video we recorded and published on youtube.  

[![NCS5500 Programming Speed](https://img.youtube.com/vi/o4pUTniOuRY/0.jpg)](https://www.youtube.com/watch?v=o4pUTniOuRY){: .align-center}

In this demo, we advertised 1,2000,000 IPv4 routes to our system under test:  
- 300K IPv4/22
- 300K IPv4/23
- 600K IPv4/25

<div class="highlighter-rouge">
<pre class="highlight">
<code> 
router bgp 1000
bgp_id 192.168.100.151
neighbor 192.168.100.200 remote-as 100
neighbor 192.168.100.200 update-source 192.168.100.151
capability ipv4 unicast
network 1 172.16.31.10/23 300000
nexthop 1 192.168.22.1
network 2 172.16.31.10/25 600000
nexthop 2 192.168.22.1
network 3 172.16.31.10/22 300000
{'fraction_non_alphanumeric': 0.08919288645690834, 'fraction_numerical': 0.11053351573187414, 'mean_word_length': 3.9877216916780354, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 18, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6635744', 'n_tokens_mistral': 1529, 'n_tokens_neox': 1193, 'n_words': 475}