在容错键值存储实现中使用MPI RMA和ULFM的用户经验
User Experiences with MPI RMA and ULFM in a Resilient Key-Value Store Implementation
AI总结:
本文探讨了在MPI基于的容错运行时系统中实现键值存储的挑战,重点在于RMA和ULFM的实现经验及优化方法。
摘要:
随着硬件故障如节点丢失变得越来越常见,MPI程序员可能希望将易损数据保存在容错存储中。虽然存在第三方存储解决方案如Redis或Hazelcast IMap,但定制化的MPI存储可能更容易集成,并可针对特定应用需求进行优化。本文考虑了此类存储的实现,旨在作为容错任务型运行时系统的一部分。存储在多个进程的主内存中以键值对形式保存冗余数据副本。由于存储访问操作如读取和写入本质上是单向的,我们使用了被动目标MPI RMA功能来实现存储。进程崩溃通过Open MPI的用户级故障缓解(ULFM)扩展进行检测。在故障后,程序在存活进程中恢复并继续使用完整的数据副本。我们的实现证明困难,因为几个提议的ULFM功能用于RMA尚未实现。即使假设它们存在,我们认为编程任务可以简化。本文描述了我们的经验,列出了我们遗漏的功能,并解释了我们在实现中采用的替代方法。
英文摘要:
As hardware failures such as node losses become increasingly common, MPI programmers may want to save vulnerable data in a resilient store. While third-party storage solutions such as Redis or the Hazelcast IMap exist, a tailored, MPI-based store may be easier to integrate and can be optimized for particular application needs. This paper considers the implementation of such a store, which is intended as a component in a resilient task-based runtime system written in MPI. The store holds redundant data copies as key-value pairs in the main memories of multiple processes. Since store access operations, such as reads and writes, are naturally one-sided, we implemented the store with passive target MPI RMA functions. Process aborts are detected with the user-level failure mitigation (ULFM) extension of Open MPI. After failures, the program recovers on the surviving processes and continues with the intact data copies. Our implementation proved difficult, since several proposed ULFM functionalities for RMA have not yet been implemented. Even assuming their existence, we think that the programming task could be simplified. This paper describes our experiences, lists functionalities that we missed, and explains a workaround that we adopted in our implementation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。