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

2017-06-23 Thread Jerin Jacob
-Original Message- > Date: Fri, 23 Jun 2017 11:42:30 +0200 > From: Olivier Matz > To: Jerin Jacob > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mbuf: reduce pktmbuf init cycles > X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) > > On M

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

2017-06-23 Thread Olivier Matz
On Mon, 5 Jun 2017 22:08:07 +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] mbuf: reduce pktmbuf init cycles

2017-06-05 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