ISSN 1000-1239 CN 11-1777/TP

计算机研究与发展 ›› 2018, Vol. 55 ›› Issue (4): 689-703.doi: 10.7544/issn1000-1239.2018.20170923

所属专题: 2018网络功能虚拟化专题

• 网络技术 • 上一篇    下一篇

面向网络功能虚拟化的高性能负载均衡机制

王煜炜1,2,刘敏1,马诚1,2,李鹏飞1,2   

  1. 1(中国科学院计算技术研究所 北京 100190); 2(中国科学院大学 北京 100049) (wangyuwei@ict.ac.cn)
  • 出版日期: 2018-04-01
  • 基金资助: 
    国家自然科学基金项目(61472404,61732017,61472402,61501125,61502457)

High Performance Load Balancing Mechanism for Network Function Virtualization

Wang Yuwei1,2, Liu Min1, Ma Cheng1,2, Li Pengfei1,2   

  1. 1(Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100190); 2(University of Chinese Academy of Sciences, Beijing 100049)
  • Online: 2018-04-01

摘要: 网络负载均衡器是实现网络功能虚拟化(network function virtualization, NFV)的重要功能组件,通过其准确的业务负载分担,运营商可以灵活、高效地实现业务能力增强和容量扩展.基于DPDK技术框架设计实现了面向NFV的高性能4层网络负载均衡机制及系统HVLB,能够灵活部署运行于主流虚拟化平台.HVLB整体采用软件定义网络(software defined networking, SDN)思想设计,实现调度策略制订和数据转发的有效分离.在转发端基于用户空间实现多核多队列高效数据处理架构,同时保证各处理队列间的数据访问隔离和任务处理均衡;在控制端基于网络链路和计算相结合的综合能力作为NF选择和转发策略的制订依据,在实施业务数据准确分发的基础上保障了网络性能.基于KVM的原型系统实验结果表明:与现有LVS系统相比,HVLB极大地提升了数据包处理与转发性能,并实现了64字节UDP数据包的线速转发.

关键词: 负载均衡, 网络功能虚拟化, 软件定义网络, 高效数据包处理, 综合能力

Abstract: Network load balancer is an important middle box component for NFV(network function virtualization) which can realize load distribution accurately, through which telecom operators can improve the business ability and extend capacity flexibly and efficiently. In this paper, we design and implement a high performance NFV-oriented network load balancing mechanism and system based on DPDK framework which is capable of running on common virtualization platforms. HVLB is designed based on the SDN (software defined networking) principle which splits the data forwarding and scheduling strategy effectively. It realizes the multi-cores and multi-queues based data processing architecture in user space, and ensures the data access isolation and task handling balance meanwhile. It uses the comprehensive abilities including network transmitting and computing ability to select the objective NF and forward the packet, which can guarantee the network performance and deliver the data packet accurately at the same time. Evaluations based on a prototype of KVM platform show that our mechanism significantly improves the performance of packet processing and forwarding compared with the LVS, and it also obtains the line speed processing with 64 byte UDP packet.

Key words: load balance, network function virtualization (NFV), software defined networking (SDN), high performance packet processing, comprehensive abilities

中图分类号: