期刊文献+

一种高效网络数据捕包平台的设计与实现 被引量:2

A High Performance User Level Packet Capture System
下载PDF
导出
摘要 提出了一种基于用户空间的捕包平台设计――ULPF(User Level Packet Filter)。系统完全在用户空间实现;通过修改网卡驱动将数据绕过操作系统内核直接提交给用户空间避免了耗时的数据拷贝操作;利用网络数据包长度的局部性实现了一个高效的内存分配算法避免了多线程带来的内存分配开销。实验证明,该平台基本可以实现将网络数据流线速还原到TCP层。 This paper designs a packet capture system ULPF(User Level Packet Filter), which is completely implemented in user level. With optimizing network driver, people bypass kernel and put packets to user level directly so that they can avoid data copying which is time consuming. Advantage of the locality of packets length is taken to design an efficient memory allocator instead of malloc which will show its inefficiency in multithread environment. The test result indicates that this system can process TCP packets almost at line speed.
出处 《计算机工程》 EI CAS CSCD 北大核心 2005年第20期212-213,共2页 Computer Engineering
关键词 捕包 网络协议栈 内核 内存分配 Packet capture Network protocol stack Kernel Memory allocator
  • 相关文献

参考文献4

  • 1Clark D D, Jacobson V, Romkey J, et al.An Analysis of TCP Processing Overhead.IEEE Communications Magazine, 1989, (6)
  • 2Peter P, Peterson L L.Fbufs: A High-bandwidth Cross-domain Transfer Facility.In: Proceedings of the Fourteenth ACM Symposium on Operating Systems Principles, North Carolina, USA, 1994: 1893
  • 3Wilson P, Johnstone M, Neely M, et al.Dynamic Storage Allocation: A Survey and Critical Review.In: Proceedings of the 1995 International Workshop on Memory Management, Springer LNCS, 1995
  • 4Lever C, Boreham D.Malloc() Performance in a Multithreaded Linux Environment.Center for Information Technology Integrity of University of Michigan, Tech Rep:00-5, 2000

同被引文献25

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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