计算机与现代化 ›› 2023, Vol. 0 ›› Issue (02): 24-27.

• 数据库与数据挖掘 • 上一篇    下一篇

基于RDMA的分布式键值存储系统性能优化

  

  1. (华北计算技术研究所,北京 100083)
  • 出版日期:2023-04-10 发布日期:2023-04-10
  • 作者简介:王哲(1996—),男,湖北黄冈人,硕士研究生,研究方向:分布式系统与并行计算,E-mail: scofieldwz@163.com; 王玉玫(1962—),女,河南范县人,研究员,研究方向:计算机应用,E-mail: wym_email@263.net; 吴亚非(1977—),男,河南新乡人,高级工程师,研究方向:软件工程,指挥自动化系统设计,E-mail: yfnow@sina.com; 臧义华(1980—),女,辽宁抚顺人,高级工程师,研究方向:软件工程,计算机图形应用系统,E-mail: zangyihua@126.com。

Latency Optimization of Distributed Key-value Store Based on RDMA

  1. (North China Institute of Computing Technology, Beijing 100083, China)
  • Online:2023-04-10 Published:2023-04-10

摘要: 如今分布式键值存储系统在工业界得到了广泛的应用,如何提升其性能成为分布式系统和并行计算领域的研究热点。远程直接数据存取是高性能计算中常用的通信技术,利用其低延迟高带宽的特性,可以有效提升分布式键值存储系统的性能表现。MPI单边通信是一种支持RDMA的通信方法,本文使用MPI单边通信实现分布式键值操作,并根据其特点重新设计通信模型。为了解决RMA带来的数据一致性问题,本文改变键值对的存储结构并制定存取操作的通信策略。通过将单边通信与TCP/IP进行对比,对不同长度的数据测试通信延迟,验证了RDMA给系统带来的性能提升。

关键词: 分布式键值存储系统, 远程内存直接访问, 单边通信

Abstract: Distributed key-value store is widely used in industry, and methods to improve the performance of data transfer in distributed key-value store has drawn great interests in the study of distributed systems and parallel computing. RDMA (Remote Memory Direct Access) is a popular network technology in high-performance computing. Making use of its low latency and high bandwidth features can lead to enormous improvement of the performance of distributed key-value store. MPI offers routines to perform remote memory access (RMA), also known as one-sided communication, which can benefit from RDMA technology. In this paper, we propose leverageing MPI one-sided communication refactors key-value operations and redesigns the communication model according to the features of one-sided communication. To solve the data inconsistency problem brought by RMA, we modify the storage structure of key-value pair and schedule the communication strategy. We evaluate the improvement by comparing the latency of RMA based key-value operations and TCP/IP based key-value operations when transferring key-value pairs of different lengths and get positive result.

Key words: distributed key-value store, RDMA, one-sided communication