作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2023, Vol. 49 ›› Issue (10): 31-40. doi: 10.19678/j.issn.1000-3428.0065782

• 热点与综述 • 上一篇    下一篇

基于RDMA的高性能单向数据采集技术研究

梁嘉诚1, 余江2, 王洪波2, 刘渊1,*, 王晓锋1   

  1. 1. 江南大学 人工智能与计算机学院, 江苏 无锡 214122
    2. 拓尔思天行网安信息技术有限责任公司, 北京 100000
  • 收稿日期:2022-09-19 出版日期:2023-10-15 发布日期:2023-10-10
  • 通讯作者: 刘渊
  • 作者简介:

    梁嘉诚(1997-), 男, 硕士研究生, 主研方向为网络安全

    余江, 工程师

    王洪波, 工程师

    王晓锋, 教授、博士、博士生导师

  • 基金资助:
    国家自然科学基金(61972182); 国家自然科学基金(62172191)

Research on High-Performance One-Way Data Acquisition Technology Based on RDMA

Jiacheng LIANG1, Jiang YU2, Hongbo WANG2, Yuan LIU1,*, Xiaofeng WANG1   

  1. 1. School of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi 214122, Jiangsu, China
    2. TRS Topwalk Information Technology Co., Ltd., Beijing 100000, China
  • Received:2022-09-19 Online:2023-10-15 Published:2023-10-10
  • Contact: Yuan LIU

摘要:

高性能数据采集技术是提高数据分析效率的重要前提。为解决当前数据采集技术中安全性低、传输时延高、CPU开销大的问题,设计一种基于远程直接内存访问的高性能单向数据采集(ODAR)架构,提高数据采集过程中的安全性和传输性能。针对传输时数据正确性问题,基于可靠性的数据封装策略,设计动态内存优化策略解决内存分配时存在的时延问题,并提出基于优先级的数据传输调度算法解决高吞吐量数据传输中存在的带宽利用率低的问题。实验结果表明,相对于基于UDP协议实现的单向数据采集技术,ODAR架构的吞吐量平均提高了57.01%,传输时延与CPU开销平均降低了61.27%与68.01%,并且大幅提高了数据传输的准确率,内存分配时的时延平均降低了80.15%,网卡带宽利用率平均提高了33.03%。

关键词: 单向数据采集, 远程直接内存访问, 消息中间件, 动态内存优化, 数据传输调度

Abstract:

High-performance data acquisition technology is an important prerequisite to improving data analysis efficiency. In this paper, a type of high-performance one-way data acquisition architecture called the One-way Data Acquisition by RDMA(ODAR) based on Remote Direct Memory Access(RDMA) is designed to improve the security and transmission performance in the data acquisition process and solve low security, high transmission delay, and high Computer Processing Unit(CPU) overhead in current data acquisition technology. Furthermore, a data encapsulation strategy based on reliability is designed to solve the data correctness problem during transmission, and a dynamic memory optimization approach is proposed to solve the memory allocation delay. A priority-based data transmission-scheduling algorithm is proposed to solve the low bandwidth utilization in high throughput data transmission. The experiment shows that on average, compared with the one-way data acquisition technology based on the User Datagram Protocol(UDP), the throughput of the ODAR architecture increases by 57.01%, the transmission delay decreases by 61.27%, the CPU overhead decreases by 68.01%, and the data transmission accuracy is significantly improved. On average, the time delay of the memory allocation decreases by 80.15%, and the bandwidth utilization of the network card increases by 33.03%.

Key words: one-way data acquisition, Remote Direct Memory Access(RDMA), message middleware, dynamic memory optimization, data transmission scheduling