介绍了基于Libpcap、Libpcap-mmap、PF_RING+NAPI、PF_RING+TNAPI、PF_RING+DNA等数据包捕获方法的结构和特性。在多核平台上通过实验评估和分析了上述捕包方法的捕获数据包能力、CPU使用率、CPU负载均衡等性能指标,并研究分析了现有捕包方法对多核并行特性的利用情况。
This paper introduced the structures and characteristics of the packet capture methods based on Libpcap、Libpcap-mmap、PF_RING + NAPI、PF_RING + TNAPI、PF_RING + DNA.Through precise and abundant experiments,evaluated and analyzed the ability of packet capture,CPU utilization,CPU load balancing of the packet capture methods on multi-core platform.Also researched and analyzed the existing packet capture methods on the utilization of multi-core parallelism.