> On 14.04.2021., at 17:15, David Gohberg <[email protected]> wrote: > > When testing Damjan's version under traffic (using trex with a few thousand > pps) > after about 5 minutes into the test vlib_buffer_clone fails to create 2 > copies and vpp crashes due to double-free error. > looks like the buffer pool leaks.
Are you using DPDK. What kind of NIC? > 1. Is it the node function responsibility to vlib_buffer_free the cloned > buffer? no, driver should do that…. > 2. How can I inspect the buffer pool memory usage? show buffers > I used the 'show memory' cli commands and didn't notice any thread memory > increase. buffer memory is pre-alllocated on startup and it not taken from the main heap so “show memory” will not give you any releveant data. — Damjan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19199): https://lists.fd.io/g/vpp-dev/message/19199 Mute This Topic: https://lists.fd.io/mt/81938105/21656 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
