CXL 共享内存编程:几乎分布式且几乎持久
CXL Shared Memory Programming: Barely Distributed and Almost Persistent
AI总结:
本文首次定义了基于 CXL 的共享内存故障模型,区分数据与进程故障,并提出针对性的处理方法,以应对 CXL 特有的易失性和低延迟挑战。
摘要:
虽然 Compute Express Link (CXL) 支持多节点间的缓存一致性共享内存,但它也引入了新型故障——进程可能在数据之前失败,或者数据可能在进程之前失败。缺乏基于 CXL 的共享内存的故障模型使得理解和缓解这些故障变得具有挑战性。为了解决这些挑战,本文描述了一个对基于 CXL 的共享内存故障进行分类和处理的模型:数据故障和进程故障。基于 CXL 的共享内存中的数据故障使得当前运行的应用程序无法访问数据或导致数据不一致。我们认为,这类故障不同于分布式存储系统中的数据故障,需要针对 CXL 的特殊处理。为此,我们研究了传统的数据故障缓解技术,如纠删码和复制,并提出了新的解决方案以更好地处理基于 CXL 的共享内存系统中的数据故障。接下来,我们研究进程故障,并将其故障和潜在解决方案与 PMEM 的故障模型和编程解决方案进行比较。我们认为,尽管 PMEM 具有 CXL 的一些特性,但它并未完全解决 CXL 的易失性和低访问延迟问题。最后,借鉴 PMEM 的编程解决方案,我们提出了处理这些新故障的技术。因此,本文是首个定义基于 CXL 的共享内存故障模型并提出针对 CXL 系统特有挑战的定制解决方案的工作。
英文摘要:
While Compute Express Link (CXL) enables support for cache-coherent shared memory among multiple nodes, it also introduces new types of failures--processes can fail before data does, or data might fail before a process does. The lack of a failure model for CXL-based shared memory makes it challenging to understand and mitigate these failures. To solve these challenges, in this paper, we describe a model categorizing and handling the CXL-based shared memory's failures: data and process failures. Data failures in CXL-based shared memory render data inaccessible or inconsistent for a currently running application. We argue that such failures are unlike data failures in distributed storage systems and require CXL-specific handling. To address this, we look into traditional data failure mitigation techniques like erasure coding and replication and propose new solutions to better handle data failures in CXL-based shared memory systems. Next, we look into process failures and compare the failures and potential solutions with PMEM's failure model and programming solutions. We argue that although PMEM shares some of CXL's characteristics, it does not fully address CXL's volatile nature and low access latencies. Finally, taking inspiration from PMEM programming solutions, we propose techniques to handle these new failures. Thus, this paper is the first work to define the CXL-based shared memory failure model and propose tailored solutions that address challenges specific to CXL-based systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。