Reseach and Implementation of Packet Capture Based on Multi-Core Binding Technology in Linux Environment

Article Preview

Abstract:

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.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

902-905

Citation:

Online since:

February 2011

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2011 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] Luca Deri. Improving passive packet capture: beyond device polling[C]. Amsterdam: In Proceedings of SANE 2004, (2004).

Google Scholar

[2] Luca Deri. nCap: Wire-speed Packet Capture and Transmission[C]. Third IEEE International Workshop on End to End Monitoring-E2EMON. May (2005).

DOI: 10.1109/e2emon.2005.1564468

Google Scholar

[3] TIAN Zhi-Hong, FANG Bin-Xing, YUN Xiao-Chun. User-Level Message Passing Mechanism Based on Semi-Polling Driven in RTLinux[J]. Journal of Software, 2004 Vol. 15 No. 6. (in Chinese).

Google Scholar

[4] WANG Bai-Ling, FANG Bin-Xing, YUN Xiao-Chun. The Study and Implementation of Zero-Copy Packet Capture Platform[J]. Journal of Computer, 2005 Vol. 28 No. 1. (in Chinese).

Google Scholar

[5] DUAN Chen-Sheng, The research and implementation of packet capture platform based on real-time linux[D]. 2009(in Chinese).

Google Scholar

[6] LIU Feng, The Research of High-Performance Packet Capture Platform Based on Intel Gigabit Network Card in Linux Environment[D]. 2008(in Chinese).

Google Scholar

[7] Simohayha, Structural analysis of sk_buff in Linux kernel, http: /simohayha. javaeye. com/blog.

Google Scholar

[8] ZHOU Wei-Ming, Multi-core Computing and Programming[M]. HuaZhong University of Science and Technology Press. 2009(in Chinese).

Google Scholar