首页 | 本学科首页   官方微博 | 高级检索  
     

Linux系统中基于PF_RING套接字的高性能包捕获技术
引用本文:顾瑞春,谭跃生,贾元春,王静宇.Linux系统中基于PF_RING套接字的高性能包捕获技术[J].包头钢铁学院学报,2007,26(2):152-156.
作者姓名:顾瑞春  谭跃生  贾元春  王静宇
作者单位:内蒙古科技大学网络中心,内蒙古包头014010
基金项目:内蒙古高等学校科研项目
摘    要:介绍一种新型的数据包捕获方式--基于PF_RING套接字的数据包捕获技术.旨在提高高速复杂网络传输环境中的数据包捕获率.使用环形缓冲区,用来实现内核空间和用户空间的内存共享,用户空间可以直接对其进行读写操作,而且可以对该缓冲区的大小进行调整配置.经过实验,在100 M甚至Gbit网络环境中,结合设备轮询机制,在普通的PC机上便可以显示出其突出的数据包捕效率.

关 键 词:数据包捕获  设备轮询  环形缓冲区  PF_RING套接字  Linux  系统  套接字  高性能  包捕获技术  socket  based  packet  capture  效率  显示  轮询机制  设备  结合  网络环境  实验  配置  调整  大小  环形缓冲区  读写操作
文章编号:1004-9762(2007)02-0152-05
收稿时间:2007-03-09
修稿时间:2007年3月9日

The high performance packet capture based on the PF_RING socket in Linux
GU Rui-chun,TAN Yue-sheng,JIA Yuan-chun,WANG Jing-yu.The high performance packet capture based on the PF_RING socket in Linux[J].Journal of Baotou University of Iron and Steel Technology,2007,26(2):152-156.
Authors:GU Rui-chun  TAN Yue-sheng  JIA Yuan-chun  WANG Jing-yu
Abstract:Many network monitoring tools are based on packet capture,but the performance of these popular tools is not satisfactory. Herein,a new method based on PF _ RING Socket was used to improve the performance of the packet capture under the heavy computer traffics. The ring buffer in the kernel can be accessed and configured freely by the applications of the user space.The experimental result shows that,combined with the dev _ polling, the PF _ RING socket can improve the performance of the packet capture significantly, even in the 100M or the Gbit network.
Keywords:packet capture  dev _ polling  ring buffer  PF _ RING socket
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号