摘要
针对传统报文捕获机制中内存拷贝冗余、中断处理及上下文切换频繁等弊端,提出在用户空间控制报文传输的思想,采用实时Linux内核及零拷贝思想对网卡驱动进行改造。捕包平台在捕获64 Byte及1500 Byte的报文时,吞吐量分别达到了473Mb/s和943Mb/s,实验结果证明,与传统报文捕获平台相比,新平台的性能有显著提高。
Aiming at the drawbacks of traditional packet capture mechanism such as redundantly memory copy,frequently interrupt handle and context switch,this paper proposes the idea that control the packet transmission in user space,uses real-time Linux kernel and zero-copy to reform the NIC device driver.The throughputs of new packet platform result for 64 Byte and 1 500 Byte are 473 Mb/s and 947 Mb/s.Experimental result proves that compared with the traditional platform,the new platform gets a remarkable enhancement on performance.
出处
《计算机工程》
CAS
CSCD
北大核心
2009年第20期160-162,共3页
Computer Engineering
基金
国家自然科学基金资助项目(90718037)