Re: [dpdk-dev] [PATCH v2] mbuf: reduce pktmbuf init cycles

2017-07-01 Thread Thomas Monjalon
30/06/2017 14:27, Olivier Matz: > On Tue, 27 Jun 2017 17:27:51 +0530, Jerin Jacob > wrote: > > There is no need for initializing the complete > > packet buffer with zero as the packet data area will be > > overwritten by the NIC Rx HW anyway. > > > > The testpmd configures the packet mempool > >

Re: [dpdk-dev] [PATCH v2] mbuf: reduce pktmbuf init cycles

2017-06-30 Thread Olivier Matz
On Tue, 27 Jun 2017 17:27:51 +0530, Jerin Jacob wrote: > There is no need for initializing the complete > packet buffer with zero as the packet data area will be > overwritten by the NIC Rx HW anyway. > > The testpmd configures the packet mempool > with around 180k buffers with > 2176B size. In

[dpdk-dev] [PATCH v2] mbuf: reduce pktmbuf init cycles

2017-06-27 Thread Jerin Jacob
There is no need for initializing the complete packet buffer with zero as the packet data area will be overwritten by the NIC Rx HW anyway. The testpmd configures the packet mempool with around 180k buffers with 2176B size. In existing scheme, the init routine needs to memset around ~370MB vs the