Using Zero-Copy Ring APIs to Improve Performance of DPDK Pipeline-Mode Applications
summary
Pipeline-mode DPDK application splits packet I/O and processing into separate threads across containers and replaces traditional ring NQ/DQ copies with zero-copy ring APIs so ETH RX/TX can write/read directly to ring buffers. Measured results show throughput gains of 5.5% with scalar PMDs and 9.8% with vector PMDs, plus fewer backend/front-end stalled cycles. Vector PMDs (notably MLX5 and I40E) hit a wrap-around corner case that drops RX bursts; workaround uses a hybrid solution (fallback to temporary arrays), and zero-copy adds mbuf-free complexity and sync-mode limits.
AI-written summary · about
