计算机应用 ›› 2017, Vol. 37 ›› Issue (8): 2157-2162.DOI: 10.11772/j.issn.1001-9081.2017.08.2157

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

数据中心中TCP连接建立过程的优化方法

夏羽1, 廖苹秀2, 崔雷3   

  1. 1. 四川师范大学 计算机科学学院, 成都 610101;
    2. 中国电子科技集团公司 第30研究所, 成都 610041;
    3. 华为技术有限公司, 广东 深圳 518129
  • 收稿日期:2017-02-20 修回日期:2017-03-27 出版日期:2017-08-10 发布日期:2017-08-12
  • 通讯作者: 夏羽
  • 作者简介:夏羽(1983-),男,云南昆明人,讲师,博士,主要研究方向:高性能交换、数据中心网络;廖苹秀(1983-),女,四川乐山人,工程师,硕士,主要研究方向:协议分析、网络设备测试;崔雷(1982-),男,河南郑州人,工程师,主要研究方向:高性能交换机设计与实现、网络接口。
  • 基金资助:
    四川教育厅基金资助项目(16ZB0064);四川师范大学基金项目(项目名称:数据中心网络的研究和优化)。

Optimization of the TCP connection initiating process in data centers

XIA Yu1, LIAO Pingxiu2, CUI Lei3   

  1. 1. School of Computer Science, Sichuan Normal University, Chengdu Sichuan 610101, China;
    2. The 30 th Institute, China Electronics Technology Group Corporation, Chengdu Sichuan 610041, China;
    3. Huawei Technologies Company Limited, Shenzhen Guangdong 518129, China
  • Received:2017-02-20 Revised:2017-03-27 Online:2017-08-10 Published:2017-08-12
  • Supported by:
    This work is partially supported by the Scientific Research Fund of Sichuan Provincial Education Department (16ZB0064) and Sichuan Normal University Fund (Project name:Research and Optimization of Data Center Networks).

摘要: 针对数据中心中由于SYN包丢失而引起的TCP连接被延迟从而错过任务时间限制的问题,在无需更换现有设备以及无需修改应用和TCP的前提下,提出一种基于加权随机早期检测(WRED)协议的TCP连接初始化的优化方法。该方法解决了连接优化的三个关键问题:如何识别和标记SYN包,如何在交换机上为SYN包预留空间以及需要预留多少空间。与原TCP相比,优化后TCP连接建立的时间极大地减少。实验表明TCP连接初始化优化方法可以解决任务错过规定时间限制的问题。

关键词: 数据中心, 传输控制协议, 三次握手, SYN分组

Abstract: An SYN packet might be dropped when initiating a Transmission Control Protocol (TCP) connection in data centers, causing the tasks missing the expected deadline; accordingly, without changing the existing devices, applications and the TCP itself, a viable mechanism based on Weighted Random Early Detection (WRED) was proposed to avoid the drop of SYN packets. Three related key problems were solved by the proposed method:how to mark and recognize the SYN packets; how to reserve space for the SYN packets in switches; how much space is required for reserving. Compared with the original TCP, the TCP connection establishment time was greatly reduced after optimizing. The simulation results show that the connection initialization optimization method can solve the problem of tasks missing the expected deadline.

Key words: data center, Transmission Control Protocol (TCP), three-way handshake, SYN packet

中图分类号: