期刊文献+

一种自适应的嵌入式协议栈缓冲区管理机制 被引量:2

Design and implementation of adaptive buffer for embedded protocol stack
下载PDF
导出
摘要 为避免创建缓冲区过程中必须指定大小和多次释放而导致可能的内存泄露和代码崩溃的弊端,提出一种自适应的嵌入式协议栈的缓冲区管理机制AutoBuf。它是基于抽象缓冲区接口而设计的,具有自适应性,支持动态内存的自动分配与回收,同时实现了嵌入式TCP/IP协议栈各层之间的零拷贝通信。在基于研究平台S3C44B0X的Web server网络数据监控系统上的测试结果表明,该缓冲区的设计满足嵌入式系统网络通信的应用需求,是一种高效、可靠的缓冲区管理机制。 To avoid traditional method of creating buffer, which must have the size of buffer and free memory for many times, which will result in memory leaks and codes crash. This paper proposed a flexible buffer management mechanism AutoBuf for embedded network protocol stack. It was adaptive and scalable and based on an abstract buffer interface, supported dynamic memory allocation and backup. By using the AutoBuf buffer management mechanism with data zero copy technology, it implemented to transfer data through the embedded network protocol stack. The management mechanism had been applied to the Web server system base on S3C44b0X platform successfully. The results in real network condition show that the system provides a good performance and meets the necessary of embedded network system.
出处 《计算机应用研究》 CSCD 北大核心 2009年第6期2254-2256,2262,共4页 Application Research of Computers
关键词 嵌入式协议栈 抽象缓冲区 零拷贝 内存分配 embedded stack abstract buffer zero-copy memory allocation
  • 相关文献

参考文献8

  • 1WRIGHT G R, STEVENS W R. TCP/IP illustrated vol2 : the implementation[ M ]. 1995.
  • 2HANGINO J I. Mbuf issues in 4.4BSD IPv6/IPSec support[C]// Proc of USENIX Annual Technical Conference. 2000.
  • 3付晓军,夏应清,何轩.基于LWIP协议栈的内存管理[D].武汉:华中师范大学,2005:10-11.
  • 4荣苏娟,王沁,张晓彤.一种用于嵌入式系统的可变长缓冲区设计及其实现[J].微计算机信息,2005,21(08Z):10-12. 被引量:1
  • 5宋丽华.一种高效嵌入式协议栈缓冲区管理机制[D].北京:北京科技大学,2008:35-37.
  • 6JERRY CHU H K. Zero-copy TCP in solaris[ C]//Proc of USENIX Annual Technical Conference. 1996:253- 264.
  • 7LLIKKAL R, IYER R, NEWELL D. Microarchitectural anatomy of a commercal TCP/IP stack[ J ]. Communication Technology Laboratory,2004,5(10) :38-43.
  • 8GUO Chuan-xiong, ZHENG Shao-ren, Analysis and and evalution of the TCP/IP protocol stack of Linux[ C]//Proc of International Conference on Communication Technology Proceedings. 2000:444- 453.

二级参考文献5

  • 1Gary R Wright, W Richard Stevens, TCP/IP Illustrated Vol 2: The Implementation, 1995.
  • 2Adam Dunkels, Desigln and Implementation of the lwIP TCPIP Stack,htt p://www.sics.se/-adam/lwip/documentation.html.
  • 3BillB1unden 杨涛译.虚拟机的设计与实现-C/C++[M].机械工业出版社,2003..
  • 4Thomas Herbert, Embedding TCP/IP,http://www.embedded.com/intemet/0001/0001ial.htm.
  • 5W Richard Stevens, TCP/IP Illustrated Vol 1:The Protocols,1995.

同被引文献16

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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