Journal of Computer Applications ›› 2020, Vol. 40 ›› Issue (2): 335-341.DOI: 10.11772/j.issn.1001-9081.2019081405

• DPCS 2019 • Previous Articles     Next Articles

Dynamic monitoring model based on DPDK parallel communication

Cui LI, Qingkui CHEN()   

  1. School of Optical-Electrical and Computer Engineering,University of Shanghai for Science and Technology,Shanghai 200093,China
  • Received:2019-07-31 Revised:2019-09-03 Accepted:2019-09-19 Online:2020-02-26 Published:2020-02-10
  • Contact: Qingkui CHEN
  • About author:LI Cui, born in 1994, M. S. candidate. Her research interests include network communication, parallel computing.
  • Supported by:
    the National Natural Science Foundation of China(61572325);the Research Fund for the Doctoral Program of Higher Education of China(20113120110008);the Key Science and Technology Research Project of Shanghai(14511107902);the Construction Project of Shanghai Engineering Center(GCZX14014);the Shanghai Top-class Discipline Construction Project(XTKX2012);the Hujiang Foundation of China(C14001┫.)

基于DPDK并行通信的动态监控模型

李翠, 陈庆奎()   

  1. 上海理工大学 光电信息与计算机工程学院,上海 200093
  • 通讯作者: 陈庆奎
  • 作者简介:李翠(1994—),女,甘肃武威人,硕士研究生,主要研究方向:网络通信、并行计算
  • 基金资助:
    国家自然科学基金资助项目(61572325);高等学校博士学科点专项科研博导基金资助项目(20113120110008);上海重点科技攻关项目(14511107902);上海市工程中心建设项目(GCZX14014);上海市一流学科建设项目(XTKX2012);沪江基金研究基地专项(C14001)

Abstract:

In order to make better use of the performance of communication system, make full use of the resources of system nodes, and improve the reliability and stability of the system, a dynamic monitoring model based on DPDK (Data Plane Development Kit) parallel communication was designed. Combined with the high speed, large traffic, strong real-time characteristics of DPDK and communication system, the model was designed for multi-node backup, data packet and control packet separation, transmitting and receiving data packets in parallel by multiple network ports, and processing data packets in parallel by multiple cores. The monitoring objects were analyzed, the data acquisition methods were researched, and a 2-layer communication protocol named DMPD was designed. The fine-grained monitoring was performed on the network ports, and the network port load information model was given. Besides, a more efficient and fair dynamic load balancing algorithm based on multi-network port was designed by combining hash function, adjustment function and dynamic load information. Experimental results show that the dynamic monitoring model can accurately detect and timely deal with the abnormality appeared in the system, and achieve the load balancing of multiple network ports.

Key words: DPDK (Data Plane Development Kit), parallel communication, dynamic monitoring, multi-network port, load balancing

摘要:

为了更好地发挥通信系统的性能,充分利用系统节点的资源,提高系统的可靠性与稳定性,设计了一种基于DPDK并行通信的动态监控模型。该模型结合DPDK和通信系统的高速率、大流量、强实时性等特点,面向多节点备份、数据包与控制包分离、多网口并行收发数据包、多核并行处理数据包进行设计,分析了监控对象,研究了数据采集方法,设计了二层通信协议DMPD,并对网口进行了细粒度监控,给出了网口负载信息模型。另外,将散列函数、调整函数与动态负载信息结合起来设计了更有效、更公平的基于多网口的动态负载均衡算法。实验结果表明,该监控模型能够准确检测和及时处理系统出现的异常,并且实现了多网口的动态负载均衡。

关键词: DPDK, 并行通信, 动态监控, 多网口, 负载均衡

CLC Number: