一种简化mbuf的设计与实现  

The Design and Implementation of a Simplified Mbuf

在线阅读下载全文

作  者:张雪锋 ZHANG Xuefeng(Patent Examination Cooperation Sichuan Center of Patent Offce,Chengdu 610011,China)

机构地区:[1]国家知识产权局专利局专利审查协作四川中心,四川成都610011

出  处:《软件工程》2018年第8期33-35,29,共4页Software Engineering

摘  要:mbuf全称为"memory buffer",主要用于保存进程和网络接口间互相传递的用户数据,也用于保存源与目标地址,套接字选项等。本文基于TCP/IP协议栈中mbuf的设计思想,设计了一种简化的mbuf,提供给应用软件能方便的操作可变长缓存、在缓存的头部和尾部添加协议头数据、从缓存中移除数据,同时通过内存的零拷贝技术,有效地提高CPU的利用率、节省存储空间的占用,并且可移植性强,具有较高的实用价值。A Memory Buffer(mbuf) is mainly used for saving the user data transmitting between the process and the network interface,as well as for storing sources and target addresses,and socket options.This article,based on the concept of mbuf in the TCN/IP protocol stack,proposes a simplified mbuf,providing an easily operated variable length buffer,adding protocol data at front and back of the buffer,and removing data from the buffer.By implementing the technology of memory zero-copy,the MBUF efficiently promotes CPU utilization,saves memory capacity,and increases portability and the practical value.

关 键 词:TCP/IP mbuf 零拷贝 嵌入式 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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