Reseach and Implementation of Packet Capture Based on Multi-Core Binding Technology in Linux Environment
According to zero-copy idea and the application of multi-core binding to realize a high-performance packet capture platform based on multi-core binding(MCPCP).By modifying the memory management mode about sk_buff in kernel,realize the user space program to directly access the data packet, which is a kind of universal significance of the zero-copy scheme. And then through the multi-core binding technique, for each CPU core scheduling and control, with multi-threaded user programs can minimize the cache jitter to improve the efficiency of packet capture. Experiments show that in the case of low-end configuration, the throughputs of MCPCP for 64Byte and 1500Byte messages are 620 ,000pps (about 320Mbps) and 78,000pps (about 941Mbps) respectively. In the high-end configuration, can reach 1.46 million pps (748Mbps) and 81,000 pps (979Mbps).MCPCP surpasses the traditional ones' in performance.
J. Sun et al., "Reseach and Implementation of Packet Capture Based on Multi-Core Binding Technology in Linux Environment", Applied Mechanics and Materials, Vols. 48-49, pp. 902-905, 2011