期刊文献+

零拷贝报文捕获平台的研究与实现 被引量:67

The Study and Implementation of Zero-Copy Packet Capture Platform
在线阅读 下载PDF
导出
摘要 根据零拷贝思想 ,实现了一种高性能的报文捕获平台 (High PerformancePacketCapturePlatform ,HPPCP) .通过实现网络接口设备直接将数据报文以DMA方式存储到应用程序可以访问的地址空间 ,避免数据报文在内核态里传输时的内存操作 ,缩短了数据报文的行走路径 ;通过环策略管理数据报文缓冲区 ,实现了网卡和应用程序能够无冲突访问共享资源 .这两点有效地降低了网络通信的延迟 ,极大地节省了CPU的开销 .通过性能的分析比较表明 ,接收 6 4Byte与 15 0 0Byte的报文时吞吐量分别达到 90万pps (439Mbps)和 8.2万pps (938Mbps) ,与传统的报文传输机制相比 ,报文捕获能力有了较为显著的提高 . Based on the Zero Copy network I/O, a high performance packet capture platform (HPPCP) is proposed in this paper. By realizing DMA the packet from network card to the memory that the user program can access directly, HPPCP avoids the memory access in kernel state and shortens the path to transmit a packet; by managing the data buffer using the ring theory, HPPCP can work without collision to access the shared resource. The latency in communication is efficiently reduced for these two improvements. Experimental results indicate that the throughputs of HPPCP for 64Byte and 1500Byte messages are 900,000pps (about 439Mbps) and 82000pps (about 939Mbps) respectively, and HPPCP surpasses the traditional ones’ in performance.
出处 《计算机学报》 EI CSCD 北大核心 2005年第1期46-52,共7页 Chinese Journal of Computers
基金 国家"八六三"高技术研究发展计划项目"计算机病毒防范技术"(2 0 0 1AA14 70 10B)资助 .
关键词 零拷贝 高速网络接口 内存映射 地址翻译 无冲突访问 zero copy high-speed network interface memory map address translation access without collision
  • 相关文献

参考文献9

  • 1周桂林,张瀛,杜毅,马群生,李三立.HPNI:一种新型的机群系统网络接口[J].计算机研究与发展,2000,37(2):201-206. 被引量:2
  • 2RUBINI A.等著 魏永明 骆刚 姜君译.LINUX设备驱动程序(第2版)[M].北京,中国电力出版社,2002..
  • 3刘炜,郑纬民,申俊,鞠大鹏.底层通信协议中内存映射机制的设计与实现[J].软件学报,1999,10(1):24-28. 被引量:5
  • 4White G.B.,Pooch U..Cooperating security managers:Distributed intrusion detection systems. Computers&Security,1996,15(5);441-450.
  • 5Basu A..Buch V.,Vogels W.,yon Eicken Thorsten.U-Net:A user-level network interface for parallel and distributed computing.In:Proceedings of the 15th ACM Symposium on Operating Systems Principles,Copper Mountain,Colorado,1995.
  • 6Welsh M.,Basu A.,yon Eicken T..Incorporating memory management into user-level network interfaces.Cornell University Ithaca,NY,USA:Technical Report TR97-1620,1997.
  • 7Peter J..Denning:Virtual memory.The Computer Science and Engineering Handbook,1997,1747-1760.http://cne.edu/pjd/PUBS/vm.pdf.
  • 8Jacob B.,Mudge T..Software-managed address translation.In:Proceedings of the 3rd International Symposium on High Performance Computer Architecture,San Antonio,Texas,1997.156-167.
  • 9Welsh M.,Basu A.,yon Eicken T..ATM and fast ethernetnetwork interfaces for user-level communication.In:Proceedings of the 3rd International Symposium on High Performance Computer Architecture(HPCA),San Antonio,Texas,1997,332-342.

二级参考文献2

共引文献5

同被引文献369

引证文献67

二级引证文献216

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部