电信科学 ›› 2012, Vol. 28 ›› Issue (6): 54-62.doi: 10.3969/j.issn.1000-0801.2012.06.015

• 研究与开发 • 上一篇    下一篇

IPv6高速网络环境下数据分组捕获技术的研究 *

王相林,沈清姿,朱晨,刘立朋   

  1. 杭州电子科技大学计算机学院 杭州310018
  • 出版日期:2012-06-15 发布日期:2017-06-28
  • 基金资助:
    国家自然科学基金资助项目;国家自然科学基金资助项目;浙江省大学生新苗人才计划科技成果推广项目;浙江省大学生新苗人才计划创新创业孵化项目

Research of Packet Capture Technology in IPv6 High Speed Network Environment

Xianglin Wang,Qingzi Shen,Chen Zhu,Lipeng Liu   

  1. Department of Computer Science, Hangzhou Dianzi University, Hangzhou 310018, China
  • Online:2012-06-15 Published:2017-06-28

摘要:

针对传统的数据分组捕获技术在IPv6 高速网络环境下表现出的严重分组丢失问题,采用“零拷贝”的思想设计并实现了一个适用于IPv6高速网络环境的数据分组捕获平台(HSPCP)。以Intel82541GI吉比特网卡驱动程序e1000 为基础,对网络数据分组的接收流程进行改进,在内核中注册一个杂项设备,实现了其mmap和ioctl方法,并编写了与改进后零拷贝驱动相对应的用户空间报文捕获程序。通过实验将 HSPCP 与 Libpcap 进行了分组捕获效率对比测试,实验证明 HSPCP 相对于传统的Libpcap分组捕获方式在性能上有较明显的提高。

关键词: IPv6, 数据分组捕获, 零拷贝, 高速网络

Abstract:

This paper designs a high speed packets capture platform(HSPCP)for IPv6 high speed environment using the idea of zero copy. It is mainly aimed at solving the serious packets dropping problems in tradition packets capture technology. The platform is based on Intel82541GI's gigabit ethernet driver e1000 to improve the network packets reception process. Through registered a miscellaneous equipment in kernel,it achieves mmap and ioctl methods and we rewrite a user space packets capture program according to the improved zero copy driver. The experiments show that HSPCP in packet capture rate, CPU utilization, the system context switch times have significantly improved than the libpcap capture manner.

Key words: IPv6, packet capture, index terms-zero copy, high speed network

No Suggested Reading articles found!