作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (24): 99-101. doi: 10.3969/j.issn.1000-3428.2007.24.034

• 网络与通信 • 上一篇    下一篇

TCP Offload系统的设计与实现

孙小涓1,2,3,杨卫兵1,2,3,周新亮1,2,3,陈明宇1,2   

  1. 1. 中国科学院计算技术研究所国家智能计算机研究开发中心,北京 100080;2. 中国科学院计算技术研究所计算机系统结构重点实验室,北京 100080;3. 中国科学院研究生院信息科学与工程学院,北京 100080
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-12-20 发布日期:2007-12-20

Design and Implementation of TCP Offload System

SUN Xiao-juan1,2,3, YANG Wei-bing1,2,3, ZHOU Xin-liang 1,2,3, CHEN Ming-yu1,2   

  1. 1. National Research Center for Intelligent Computing Systems, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080; 2. Key Laboratory of Computer System and Architecture, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080; 3. School of Information Science and Engineering, Graduate Universtiy, Chinese Academy of Sciences, Beijing 100080
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-12-20 Published:2007-12-20

摘要: 网络带宽的迅速发展使主机协议处理开销成为系统整体性能的瓶颈。为了提高网络应用的性能、降低主机系统的资源占用,该文采用网卡子系统分担主机的网络包收发和TCP协议处理,设计实现了一个TCP offload系统,分析了一般TCP offload系统在性能和实施的困难,给出系统设计的基本原则,介绍了系统在通信接口、资源管理、事件管理和用户接口等方面的实现。系统测试结果表明,网卡能处理高速的网络应用,在一些情况下甚至达到线速。

关键词: TCP下移, 高速网络处理, 协议栈

Abstract:

With the increase of network bandwidth, protocol overheads on host have become the bottleneck of system performance. To improve the performance of network applications and reduce the consumption of host resources, this paper exploits the network subsystem to offload the receiving and transmitting of packets and the processing of transmission protocol stack. It implements the TCP offload system and analyses the difficulties of general offload system in performance and deployment. It describes the basic rules of system design, the implementation of communication interface, resource management, event management and application interface. Tests show that the NIC can process high-speed network application, and in some cases it can handle line-speed traffic.

Key words: TCP offload, high-speed network processing, protocol stack

中图分类号: