ISSN 1000-1239 CN 11-1777/TP

计算机研究与发展 ›› 2018, Vol. 55 ›› Issue (2): 346-357.doi: 10.7544/issn1000-1239.2018.20160743

• 综述 • 上一篇    下一篇

基于流量特征的OpenFlow南向接口开销优化技术

郑鹏, 胡成臣, 李昊   

  1. (西安交通大学计算机科学与技术系 西安 710049) (智能网络与网络安全教育部重点实验室(西安交通大学) 西安 710049) (zeepean@gmail.com)
  • 出版日期: 2018-02-01
  • 基金资助: 
    国家自然科学基金项目(61672425,61702407);国家重点研发计划项目(2016YFB0800101,2017YFB0801703);微软亚洲研究院合作研究项目(2016JM6066);国家电网研究项目(DZ71-16-030)

Reducing the Southbound Interface Overhead for OpenFlow Based on the Flow Volume Characteristics

Zheng Peng, Hu Chengchen, Li Hao   

  1. (Department of Computer Science and Technology, Xi’an Jiaotong University, Xi’an 710049) (Key Laboratory of Intelligent Networks and Network Security (Xi’an Jiaotong University), Ministry of Education, Xi’an 710049)
  • Online: 2018-02-01

摘要: 软件定义网络(software defined networking, SDN)分离的数据平面和控制平面,给网络管理带来了开放性和灵活性.但同时控制器与交换机之间的接口(控制器南向接口)需要更频繁的交互各种消息以实现对网络的控制.一方面,数据平面触发Table-Miss的数据包需要通过Packet-In消息往返于交换机与控制器之间,时延增大的同时也给控制器南向接口带来繁重的通信开销,数据平面和控制平面之间的交互容易成为网络性能的瓶颈.另一方面,控制器在下发新的流表项时,由于缺乏新表项对应的数据流特征信息,易出现已有的大流表项被下发的小流表项替换的情况,造成冗余的Flow-Mod消息(流表更新消息)和Packet-In消息,进一步加重了南向接口的通信开销,降低了网络的整体性能.提出一种基于流量特征的OpenFlow南向接口开销优化技术uFlow,在控制器上通过对Packet-In消息中数据流量特征的识别以及对小流的直接转发,达到消除南向接口冗余开销的目的.对uFlow的原型系统进行了实现,并通过真实网络中的流量对uFlow优化效果进行了验证.实验结果显示:与传统的OpenFlow网络处理方式相比,uFlow消除了冗余的交换机流表项更新,显著地降低了OpenFlow南向接口的交互开销:在不同的网络负载和流表容量的情况下,uFlow平均能减少70%以上的Flow-Mod消息.

关键词: 软件定义网络, 南向接口, 交互开销, 流量优化, OpenFlow, 流表失配

Abstract: Software defined networking (SDN) decouples the control plane from the switch in the data plane, which forms the SDN controller. This paradigm introduces many benefits, e.g., openness, management simplicity, etc. Nevertheless, the separation of the SDN switch and the controller also leads to great communication overhead between them due to controlling the network (the number of the control message and Table-Miss packets), and the overhead becomes the major bottleneck of SDN. On the one hand, each Table-Miss event can produce multiple Flow-Mod messages which add extra bandwidth overhead as well as delay to the southbound interface. On the other hand, controller has no awareness of flow characteristic information behind the Flow-Mod messages which make the overhead worse. This paper proposes a new architecture uFlow (split up Flow) to mitigate the overhead at the controller side based on the flow volume characteristics. We implemented the prototype of uFlow system both in software-based platform mininet and hardware-based platform ONetSwitch. Experimental results driven by the real traffic show that uFlow can significantly reduce the communication overhead between control plane and data plane, the number of the control message has a decrease of 70% off on average, eliminate redundant update of flow entries in switch and reduce the transmission delay of packets.

Key words: software defined networking (SDN), southbound interface, communication overhead, flow optimization, OpenFlow, Table-Miss

中图分类号: