《计算机应用》唯一官方网站 ›› 2022, Vol. 42 ›› Issue (2): 550-556.DOI: 10.11772/j.issn.1001-9081.2021020297

• 先进计算 • 上一篇    

基于时变资源的容器化虚拟网络映射算法

邓伟健1, 陈曦1,2()   

  1. 1.西南民族大学 计算机科学与工程学院,成都 610041
    2.电子科技大学 信息与通信工程学院,成都 611731
  • 收稿日期:2021-03-01 修回日期:2021-06-08 接受日期:2021-06-10 发布日期:2021-06-29 出版日期:2022-02-10
  • 通讯作者: 陈曦
  • 作者简介:邓伟健(1994—),男,广东肇庆人,硕士研究生,主要研究方向:网络虚拟化、软件定义网络;
    陈曦(1985—),男,重庆人,副教授,博士,主要研究方向:软件定义网络、网络虚拟化、无线网络、异构网络融合。
  • 基金资助:
    中国博士后科学基金资助项目(2018M643448);西南民族大学中央高校基本科研业务费专项资金资助项目(2020NQN18)

Containerized network embedding algorithm based on time-varying resources

Weijian DENG1, Xi CHEN1,2()   

  1. 1.School of Computer Science and Engineering,Southwest Minzu University,Chengdu Sichuan 610041,China
    2.School of Information and Communication Engineering,University of Electronic Science and Technology of China,Chengdu Sichuan 611731,China
  • Received:2021-03-01 Revised:2021-06-08 Accepted:2021-06-10 Online:2021-06-29 Published:2022-02-10
  • Contact: Xi CHEN
  • About author:DENG Weijian, born in 1994, M. S. candidate. His research interests include network virtualization, software defined network.
    CHEN Xi, born in 1985, Ph. D., assistant professor. His research interests include software defined network, network virtualization, wireless network, heterogeneous network convergence.
  • Supported by:
    China Postdoctoral Science Foundation(2018M643448);Fundamental Research Funds for Central Universities, Southwest Minzu University(2020NQN18)

摘要:

为了构建大规模容器化虚拟网络,达到搭建高保真、易编程的虚拟网络环境的目的,提出一种基于时变资源的容器化虚拟网络映射算法,将OVS和Docker容器化的虚拟网络切块,并分布式地映射到若干计算、网络、存储资源受限的物理宿主机。首先,根据虚拟网络的拓扑结构,将具有密切链路关系的虚拟网元进行层次化聚合,以减小问题规模;其次,对聚合后的虚拟网络节点进行重要性评分,采用广度优先搜索算法与贪心策略对虚拟网络切块,并映射到资源匹配的物理宿主机;最后,通过虚拟网元消耗资源的定时反馈对算法中的资源评价模型作运行时动态调整,从而使物理资源得到有效利用。实验结果表明,该算法可在多台低配X86宿主机上容纳超过1 300网元的虚拟网络,且把网络抖动维持在0.1 ms以下。

关键词: 容器化虚拟网络, 时变资源, 虚拟网络映射, Docker, 聚合

Abstract:

In order to construct a large-scale containerized network, and achieve the purpose of building a high-fidelity, easy-to-program virtual network environment, a virtual network embedding algorithm based on time-varying resources was proposed to divide the OVS (Open vSwitch) and Docker based containerized network into segments and map them to several computing, network and storage resources constrained physical hosts. In the algorithm, firstly, the virtual network elements with close link relationships were aggregated hierarchically based on the topology of the virtual network to reduce the problem scale. Secondly, the importance scores of the aggregated virtual network nodes were obtained, the virtual network was segmented by the breadth first search algorithm and greedy strategy, and mapped into the physical hosts with suitable resources. Finally, the resource evaluation model in the algorithm was dynamically adjusted at runtime through the feedback at the fixed time of the resource consumption of the virtual network elements, so that the physical resources were effectively utilized. Experimental results show that the proposed algorithm can accommodate the virtual network with more than 1 300 network elements on multiple X86 hosts with low-level configuration, and can make the network jitter maintained at 0.1 ms or less.

Key words: containerized network, time-varying resource, virtual network embedding, Docker, aggregation

中图分类号: