计算机工程与应用 ›› 2013, Vol. 49 ›› Issue (8): 81-84.
王 亚1,于 干2,张 军2,王 浩1
WANG Ya1, YU Gan2, ZHANG Jun2, WANG Hao1
摘要: 频繁中断响应、冗余的数据拷贝和上下文切换等是影响网络数据包捕获性能的主要因素。为了减少这些因素的影响,提出将PF_RING与NAPI结合应用到捕包过程,以对性能进行整体优化。比较了PF_RING与传统数据包捕获机制的差异,分析了两者结合的优势,搭建实验平台,采用内核发包形式,进行实验仿真。在仿真实验中,从捕包率和处理效率与传统方式进行比较,分析实验数据得出该方法可以有效地提高捕包性能。