摘要
传统上Linux主要在内核空间收发数据包,对于运行于用户空间的协议栈存在一次内存拷贝过程,文章提出基于数据通道加速架构(Datapath Acceleration Architecture,DPAA)的用户态收发包机制,实现内存零拷贝。介绍了DPAA各模块和USDPAA的使用方案,对USDPAA内核空间和用户空间的设计进行了分析和实现。经过测试,能够在用户态有效的收发数据包。
The traditional Linux mainly sends and receives data packet in kernel space,so it has a memory copy process to protocol stack running in user space.This paper presents a mechanism of sending and receiving packet based on Datapath Acceleration Architecture,realizing the zero memory copy.Introduces each module of DPAA and the use schemes of USDPAA,analyses and realizes the design of USDPAA user space and kernel space.After testing,it is effective to sending and receiving data packet in user state.
出处
《价值工程》
2012年第15期187-188,共2页
Value Engineering