节点文献

嵌入式系统网络实时性能的优化

Real-time performance optimization of network for embedded system

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 于晓王家礼

【Author】 Yu Xiao1,2 Wang Jiali1 (1. College of Mechanism and Electronics, Xi’dian University, Xi’an 710071, China; 2. College of Computer, Xi’an Shiyou University, Xi’an 710065,China)

【机构】 西安电子科技大学机电工程学院西安石油大学计算机学院

【摘要】 嵌入式系统是资源受限的系统。在分析Linux对嵌入式系统网络实时性支持不足的基础上,提出了基于零拷贝技术的网络实时性能优化策略。采用虚拟内存操作方法消除内核空间和用户空间之间的数据拷贝,来减轻CPU的通信负担.用静态分配网络缓冲区代替原系统的动态分配。本文还提出了一种定长的分包机制,既可降低网络传输的延迟时间,同时也保证了1个数据包不会跨越2个页面的问题。实验结果表明:经过优化的网络系统的实时性能得到了明显的改善。

【Abstract】 Embedded system is usually resource limited in terms of processing power, memory and power consumption,thus embedded system should be designed to make the best of limited resources. After the lack of real-time performance in Linux network for embedded system is analyzed, real-time performance optimization methods based on zero-copy mechanism are proposed. In order to decrease the processing overhead,page remapping mechanism to eliminate the data copies between the user space and the kernel space is used.On the other hand, network buffer pre-allocated is provided to substitute the dynamic buffer allocating in original Linux. And also a fragmentation method is proposed, which can result in lower overall latencies and prevent a packet crossing the page boundary.The experimental result shows that the proposed method can improve the transmission efficiency obviously.

【关键词】 嵌入式系统零拷贝分包
【Key words】 embedded systemszero-copyfragmentation
【基金】 电子测试技术重点实验室基金(编号:51487010503DZ104)资助项目
  • 【文献出处】 电子测量与仪器学报 ,Journal of Electronic Measurement and Instrument , 编辑部邮箱 ,2009年03期
  • 【分类号】TP316.81
  • 【被引频次】33
  • 【下载频次】194
节点文献中: