Re: [vpp-dev] vlib buffer allocate/free consumes too many CPU cycles

2022-08-23 Thread Dave Barach
+1, Ben has it exactly right... Dave On 8/23/22, 4:04 AM, "Benoit Ganne (bganne) via lists.fd.io" wrote: vlib_buffer_validate_alloc_free() should only be called with debug builds to debug buffer allocation issues. Debug builds are slow, because there is no optimizations and lots of a

Re: [vpp-dev] vlib buffer allocate/free consumes too many CPU cycles

2022-08-23 Thread Benoit Ganne (bganne) via lists.fd.io
vlib_buffer_validate_alloc_free() should only be called with debug builds to debug buffer allocation issues. Debug builds are slow, because there is no optimizations and lots of additional checks. Please make sure you are using a release build before benchmarking (eg. make build-release). Best