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

2022-08-23 Thread Dave Barach
o: vpp-dev@lists.fd.io > Subject: [vpp-dev] vlib buffer allocate/free consumes too many CPU cycles > > hi team, > > recently I am doing plugin dev with VPP, I found all threads are spending > too many CPU cycles with locking/unlocking (with one numa >

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

2022-08-23 Thread Benoit Ganne (bganne) via lists.fd.io
ben > -Original Message- > From: vpp-dev@lists.fd.io On Behalf Of zheng jie > Sent: Tuesday, August 23, 2022 9:23 > To: vpp-dev@lists.fd.io > Subject: [vpp-dev] vlib buffer allocate/free consumes too many CPU cycles > > hi team, > > recently I am doing plugin

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

2022-08-23 Thread zheng jie
hi team, recently I am doing plugin dev with VPP, I found all threads are spending too many CPU cycles with locking/unlocking (with one numa node)buffer_main's buffer_known_hash_lockp, it hinders burst performance. ``` +6.00% vpp_wk_4 libvlib.so.22.02.0[.] clib_spinlock_l