PF_RING与NAPI结合的捕包性能优化和仿真  被引量:7

Combination of PF_RING with NAPI packet capture performance optimization and simulation

在线阅读下载全文

作  者:王亚[1] 于干[2] 张军[2] 王浩[1] 

机构地区:[1]阜阳师范学院计算机与信息学院,安徽阜阳236037 [2]阜阳师范学院信息工程学院,安徽阜阳236041

出  处:《计算机工程与应用》2013年第8期81-84,共4页Computer Engineering and Applications

基  金:安徽省优秀青年人才基金项目(No.2011SQRL173);安徽省质量工程项目(No.20101987);安徽省高校省级科学研究项目(No.KJ2013Z253)

摘  要:频繁中断响应、冗余的数据拷贝和上下文切换等是影响网络数据包捕获性能的主要因素。为了减少这些因素的影响,提出将PF_RING与NAPI结合应用到捕包过程,以对性能进行整体优化。比较了PF_RING与传统数据包捕获机制的差异,分析了两者结合的优势,搭建实验平台,采用内核发包形式,进行实验仿真。在仿真实验中,从捕包率和处理效率与传统方式进行比较,分析实验数据得出该方法可以有效地提高捕包性能。Frequent interrupt response, redundant data copying and context switching are major factors of impacting network packet capture performance. In order to reduce the impact of these factors, this paper proposes the combination of PF_RING with NAPI. And it is applied to the packet capture process, to overall optimizing the performance. It compares the differences between PF RING and traditional packet capture mechanism. It analyses the advantages of combination of PF RING with NAPI. It builds the experimental platform, sending packet in kernel and experimental simulation, In the simulation, it compares with tra- ditional method from the packet capture ratio and processing efficiency. The experiment data shows that the combination of PF RING with NAPI can effectively improve network packet capture performance.

关 键 词:零拷贝 数据包捕获 内存映射 环状缓冲区 设备轮询 PF_RING 

分 类 号:TP393.08[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象