计算机科学 ›› 2006, Vol. 33 ›› Issue (2): 33-34.

• • 上一篇    下一篇

隧道模式下Linux路由器内存优化的研究

熊丹 钱华林   

  1. 中国科学院计算机网络信息中心,北京100080
  • 出版日期:2018-11-17 发布日期:2018-11-17

XIONG Dan ,QIAN Hua Lin (Computer Network Information Center of Chinese Academy of Sciences, Beijing 100080)   

  • Online:2018-11-17 Published:2018-11-17

摘要: 在网络通信中,为了满足应用的需要,常常在数据包中添加特定的协议头部。例如,为了实现从IPv4数据包到IPv6数据包的转换,可以在原IPv4报头前封装上相应的IPv6报头;在以太网中,为了保证应用的QoS需要,可以在数据链路层报头之后封装上MPLS标记。这种在数据报头的固定位置封装固定长度协议头的方式,称为隧道模式。传统的隧道封装方式需要重新在内存中申请skb空间,需要重新拷贝整个数据包,这样的重复内存拷贝降低了系统的性能,并不是必要的。本文在内核代码的层次,分析了数据包的网络处理流程,并修改了Linux的

关键词: 隧道模式 Linux路由器 预留内存 sk-buff

Abstract: In network communication,we often encapsulate packets with special protocol header. For example, we can use IPv4 over-IPv6 tunnels to carry IPv4 traffic within an IPv6-only network. We can also add MPLS Label after the Data link Layer header for QoS guara

Key words: Tunnel model, Linux router, Reserving memory in advance, sk--buff

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!