Combination of PFRING with NAPI packet capture performance optimization and simulation

Ya Wang, Yu Gan, Jun Zhang, Hao Wang · Computer Engineering and Applications Journal · 2013

Frequent interrupt response, redundant data copying and context switching are major factors of impacting network packet capture performance. In order to reduce the impact of these factors, this paper proposes the combination of PF_RING with NAPI. And it is applied to the packet capture process, to overall optimizing the performance. It compares the differences between PF_RING and traditional packet capture mechanism. It analyses the advantages of combination of PF_RING with NAPI. It builds the experimental platform, sending packet in kernel and experimental simulation. In the simulation, it compares with traditional method from the packet capture ratio and processing efficiency. The experiment data shows that the combination of PF_RING with NAPI can effectively improve network packet capture performance.

Read the paper · More papers on PaperTik