高性能分布式RMA锁
High-Performance Distributed RMA Locks
摘要:
我们提出了一种拓扑感知的分布式读写器锁,可以加速超级计算机和数据中心的不规则工作负载。锁背后的核心思想是一个模块化设计,它是三个分布式数据结构的相互作用:临界区中读取器/写入器的计数器,用于排序等待锁的写入器的一组队列,以及将所有队列和写入器与读取器绑定的树。每个结构都与有利于读取器或写入器的参数相关联,从而实现可调节的性能,该性能可以被视为三维参数空间中的点。我们还开发了一个分布式的拓扑感知MCS锁,这是上述设计的一个构建块,并提高了最先进的MPI实现。这两种方案都使用非阻塞远程内存访问(RMA)技术,以获得最高的性能和可扩展性。我们评估我们的计划在Cray XC 30上,并说明它们分别比最先进的MPI-3 RMA锁定协议高出81%和73%。最后,我们使用它们来加速分布式哈希表,该哈希表表示不规则的工作负载,例如键值存储或图形处理。
英文摘要:
We propose a topology-aware distributed Reader-Writer lock that accelerates irregular workloads for supercomputers and data centers. The core idea behind the lock is a modular design that is an interplay of three distributed data structures: a counter of readers/writers in the critical section, a set of queues for ordering writers waiting for the lock, and a tree that binds all the queues and synchronizes writers with readers. Each structure is associated with a parameter for favoring either readers or writers, enabling adjustable performance that can be viewed as a point in a three dimensional parameter space. We also develop a distributed topology-aware MCS lock that is a building block of the above design and improves state-of-the-art MPI implementations. Both schemes use non-blocking Remote Memory Access (RMA) techniques for highest performance and scalability. We evaluate our schemes on a Cray XC30 and illustrate that they outperform state-of-the-art MPI-3 RMA locking protocols by 81% and 73%, respectively. Finally, we use them to accelerate a distributed hashtable that represents irregular workloads such as key-value stores or graph processing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。