基于PF_DMA的易移植零拷贝捕包方法研究  

A portable design of zero-copy packet capture technique based on PF_DMA

在线阅读下载全文

作  者:贾之豪[1] 魏江[1] 呼婧[1] 

机构地区:[1]西北工业大学电子信息学院,陕西西安710072

出  处:《电子设计工程》2013年第13期135-137,共3页Electronic Design Engineering

摘  要:零拷贝技术是提高通用计算机报文采集性能的重要技术手段,可以增强网络数据包捕获能力,并降低系统的资源消耗。提出了一种基于PF_DMA的零拷贝报文捕获改进方法,对相关Linux内核函数进行扩展和替换,在不改变原有内核和网卡驱动代码的基础上,实现报文的零拷贝,实验结果表明,该方法保持了PF_DMA捕包的高效率,同时具有更好的通用性和可移植性。Zero-Copy technique has been widely used in packed-capture, it can increase network packet capture performance and decrease the consumption of system resource. This paper proposes an improved Zero-Copy method based on PF_DMA which is implemented by hook Linux kernel functions. This method avoids the modifications of the code of Linux kernel and NIC drivers. Experimental results show that this method keeps high efficient in packet capture and can be ported easily compared to PF_DMA.

关 键 词:报文捕获 零拷贝 linux HOOK PF_DMA 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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