> On 1 Feb 2019, at 11:32, Abeeha Aqeel <[email protected]> wrote: > > Dear All, > > I am trying to create 64k PPPoE sessions with VPP but VPP crashes after > creating 216 sessions each time. From the system logs it seems that it > crashes while trying to register a node and that node’s index is greater than > the limit (1024). (attached screenshot of the trace) > > From the “show vlib graph”, I can see that two new nodes are registered for > each session i.e. pppoe_session0-tx and pppoe_session0-output. > > Can someone guide me to how to increase the upper limit on the number of > nodes?
Currently number of nodes is limited by buffer metadata space, and the way how we calculate node errors (vlib_error_t). Currently vlib_error_t is u16, and 10 bits are used for node. That gives you 1 << 10 of node indices, so roughly 300-400 interfaces (2 nodes per interface + other registered nodes < 1024). This is something we can improve, but the real question is, do you really want to go that way. Have you considered using some more lighter way to deal with large number of sessions... -- Damjan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12119): https://lists.fd.io/g/vpp-dev/message/12119 Mute This Topic: https://lists.fd.io/mt/29616586/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
