Thread (6 messages) read the whole thread 6 messages, 3 authors, 2017-07-01

Re: [PATCH v2] mbuf: reduce pktmbuf init cycles

From: Olivier Matz <hidden>
Date: 2017-06-30 12:27:54

On Tue, 27 Jun 2017 17:27:51 +0530, Jerin Jacob [off-list ref] 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 existing scheme, the init routine
needs to memset around ~370MB vs the proposed scheme
requires only around ~22MB on 128B cache aligned system.

Useful in running DPDK in HW simulators/emulators,
where millions of cycles have an impact on boot time.

Signed-off-by: Jerin Jacob <redacted>
Acked-by: Olivier Matz <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help