Advanced Search
    Ling Ruilin, Li Junfeng, Li Dan. Realtime Capture of High-Speed Traffic on Multi-Core Platform[J]. Journal of Computer Research and Development, 2017, 54(6): 1300-1313. DOI: 10.7544/issn1000-1239.2017.20160823
    Citation: Ling Ruilin, Li Junfeng, Li Dan. Realtime Capture of High-Speed Traffic on Multi-Core Platform[J]. Journal of Computer Research and Development, 2017, 54(6): 1300-1313. DOI: 10.7544/issn1000-1239.2017.20160823

    Realtime Capture of High-Speed Traffic on Multi-Core Platform

    • With the development of Internet application and the increase of network bandwidth, security issues become increasingly serious. In addition to the spread of the virus, spams and DDoS attacks, there have been lots of strongly hidden attack methods. Network probe tools which are deployed as a bypass device at the gateway of the intranet, can collect all the traffic of the current network and analyze them. The most important module of the network probe is packet capture. In Linux network protocol stack, there are many performance bottlenecks in the procedure of packets processing which cannot meet the demand of high speed network environment. In this paper, we introduce several new packet capture engines based on zero-copy and multi-core technology. Further, we design and implement a scalable high performance packet capture framework based on Intel DPDK, which uses RSS (receiver-side scaling) to make packet capture parallelization and customize the packet processing. Additionally, this paper also discusses more effective and fair Hash function by which data packet can be deliveried to different receiving queues. In evaluation, we can see that the system can capture and process the packets in nearly line-speed and balance the load between CPU cores.
    • loading

    Catalog

      Turn off MathJax
      Article Contents

      /

      DownLoad:  Full-Size Img  PowerPoint
      Return
      Return