Hi Konrad,

As of 18.01 the amount of memory available for IP routes is controlled in the 
startup config with:
  ip {heap-size <value>}

/neale

-----Original Message-----
From: <[email protected]> on behalf of Konrad Gutkowski 
<[email protected]>
Date: Thursday, 1 February 2018 at 03:01
To: vpp-dev <[email protected]>
Subject: [vpp-dev] adding large number of route prefixes

    Hi,
    
    While testing ipv4 routing I found that vpp crashes when supplied with  
    large sets of prefixes, the exact point when vpp goes down changes  
    depending on prefix set and vpp version tested.
    
    Tried 17.10 and 18.01, first consistently crashes at around 1m (though  
    tested only with sequential /24 and /32 prefixes), for the latter it  
    depends on the set, for sequential it's around 390k, while public bgp  
    table does crash pretty randomly around 100-300k, (my file has around 750k  
    routes).
    
    For 17.10, adding less than 1m prefixes works for both scenarios and  
    continues working - adding and deleting it multiple times does not cause  
    any stability issues.
    It doesn't seem dependent on heap-size parameter value.
    
    I used both cli "ip route add count" as well as modified router plugin to  
    pull the table from netlink.
    Any suggestions are welcome.
    
    --
    Konrad Gutkowski
    _______________________________________________
    vpp-dev mailing list
    [email protected]
    https://lists.fd.io/mailman/listinfo/vpp-dev
    

_______________________________________________
vpp-dev mailing list
[email protected]
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to