Application of Zero-Copy Technology to Network Analysis System
CSTR:
Author:
  • Article
  • | |
  • Metrics
  • |
  • Reference [8]
  • |
  • Related
  • |
  • Cited by
  • | |
  • Comments
    Abstract:

    Aiming at the performance of packet capture, this paper realizes a new protocol family dedicated to packet capture called PF_ZEROCOPY. Based on Zero-Copy and memory sharing, PF_ZEROCOPY transfers the packet from network card to the memory that user program can access directly by DMA, so that bypasses network protocols, and reduces the times of data copy. By using the descriptor ring of DMA buffer, network card and user program can work without collision to access the shared memory. PF_ZEROCOPY is easy to use and transplant by packaged into protocol family. Experimental results indicate that the throughput of PF_ZEROCOPY for random size messages is above 900Mb/s, and PF_ZEROCOPY surpasses libpcap's in performance.

    Reference
    1 Deri L. Improving Passive Packet Capture:Beyond Device Polling. Proc. of SANE. 2004.
    2 王佰玲,方滨兴,云晓春.零拷贝报文捕获平台的研究与实现.计算机学报,2005,28(1):46-52.
    3 笱程成,赵荣彩,邰铭.高负载网络下线速包捕获接口的设计与实现.计算机工程与设计,2010,31(1):2203-2205.
    4 陈莉君.深入分析Linux内核源代码.北京:人民邮电出版社, 2002.
    5 Rubini A, Corbet J. Linux Device Drivers. 3rd ed. Sebastopol: O'Reiliy, 2005.
    6 Araripe LE, Andrade JS, Costa Filho RN. Memory effects on the statistics of fragmentation. Physical Review E, 2005,71 (3):036119/1-036119/5.
    7 Lin MW, Chen SY, Chang GH, Liu LF, Gong XN. Research on PCA-based anomaly detection system in high-speed network. Journal of Computational Information Systems, 2011,7(7):2315-2321.
    8 Lawrence Berkeley National Labs, libpcap, Network Rese- arch Group. http://www.tcpdump.org/.
    Related
    Cited by
Get Citation

刘小威,陈蜀宇,卢尧,林铭炜.零拷贝技术在网络分析工具中的应用.计算机系统应用,2012,21(4):169-173

Copy
Share
Article Metrics
  • Abstract:2215
  • PDF: 4236
  • HTML: 0
  • Cited by: 0
History
  • Received:July 22,2011
  • Revised:September 05,2011
Article QR Code
You are the first990453Visitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-3
Address:4# South Fourth Street, Zhongguancun,Haidian, Beijing,Postal Code:100190
Phone:010-62661041 Fax: Email:csa (a) iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063