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

Design and implementation of adaptive buffer for embedded protocol stack

在线阅读下载全文

作  者:王培东[1] 吴显伟[1] 

机构地区:[1]哈尔滨理工大学计算机科学与技术学院,哈尔滨150080

出  处:《计算机应用研究》2009年第6期2254-2256,2262,共4页Application Research of Computers

摘  要:为避免创建缓冲区过程中必须指定大小和多次释放而导致可能的内存泄露和代码崩溃的弊端,提出一种自适应的嵌入式协议栈的缓冲区管理机制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.

关 键 词:嵌入式协议栈 抽象缓冲区 零拷贝 内存分配 

分 类 号:TP316[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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