并行文件系统一致性模型的形式化定义与性能比较
Formal Definitions and Performance Comparison of Consistency Models for Parallel File Systems
AI总结:
本文提出形式化统一框架定义存储一致性模型,并通过分层实现比较两种宽松模型在并行I/O负载下的性能,证明较弱一致性可显著提升I/O性能。
摘要:
HPC存储系统的语义由其所遵循的一致性模型定义。与内存系统中的一致性模型相比,存储一致性模型的研究较少,POSIX标准及其严格一致性模型是一个例外。使用POSIX一致性会带来性能损失,随着并行文件系统规模的增大以及对存储设备(如节点本地固态存储设备)访问时间的缩短,这种性能损失变得更加显著。虽然已经有一些采用宽松存储一致性模型的努力,但这些模型通常作为特定实现的副产品而被非正式且含糊地定义。在本工作中,我们建立了内存一致性模型与存储一致性模型之间的联系,并从高层视角重新审视存储一致性模型的关键设计选择。此外,我们提出了一个形式化且统一的框架来定义存储一致性模型,以及一个分层实现,可用于在不同I/O工作负载下轻松评估它们的相对性能。最后,我们在一系列常见的并行I/O工作负载上对两种宽松一致性模型进行了全面的性能比较,例如科学应用的检查点/重启以及深度学习应用的随机读取。我们证明,对于某些I/O场景,较弱的一致性模型可以显著提高I/O性能。例如,在深度学习应用中常见的小型随机读取中,即使在较小规模下,会话一致性相比提交一致性实现了5倍的I/O带宽提升。
英文摘要:
The semantics of HPC storage systems are defined by the consistency models to which they abide. Storage consistency models have been less studied than their counterparts in memory systems, with the exception of the POSIX standard and its strict consistency model. The use of POSIX consistency imposes a performance penalty that becomes more significant as the scale of parallel file systems increases and the access time to storage devices, such as node-local solid storage devices, decreases. While some efforts have been made to adopt relaxed storage consistency models, these models are often defined informally and ambiguously as by-products of a particular implementation. In this work, we establish a connection between memory consistency models and storage consistency models and revisit the key design choices of storage consistency models from a high-level perspective. Further, we propose a formal and unified framework for defining storage consistency models and a layered implementation that can be used to easily evaluate their relative performance for different I/O workloads. Finally, we conduct a comprehensive performance comparison of two relaxed consistency models on a range of commonly-seen parallel I/O workloads, such as checkpoint/restart of scientific applications and random reads of deep learning applications. We demonstrate that for certain I/O scenarios, a weaker consistency model can significantly improve the I/O performance. For instance, in small random reads that typically found in deep learning applications, session consistency achieved an 5x improvement in I/O bandwidth compared to commit consistency, even at small scales.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。