arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.16903cs.DC
收藏

基于读/写操作的可读写快照

Read-Modify-Writable Snapshots from Read/Write operations

Universidad Nacional Autónoma de México (UNAM)(墨西哥国立自治大学)

Armando Castañeda, Braulio Ramses Hernández Martínez

AI总结:

本文提出两种仅使用读/写操作的可读写快照算法,分别适用于有限和无限并发性模型。

摘要:

在异步并发共享内存系统中,快照算法允许可能失败的进程同时且原子地在共享数组MEM的条目上写入,并且原子地读取整个数组。最近,提出了一种称为可读写快照(RMWable snapshot)的变种,允许进程执行比单纯的读写更复杂的操作,具体来说,每个条目MEM[k]是任意可读的对象。已知的可读写快照算法严重依赖于强大的低级操作,如比较交换或加载链接/存储条件,以正确生成MEM的快照。在大量研究致力于理解使用简单读/写低级操作能解决什么问题之后,这些操作已知严格弱于比较交换和加载链接/存储条件。我们探索仅使用读/写操作是否可能实现可读写快照。我们提出了两种仅使用读/写操作的可读写快照算法,第一种在标准并发共享内存模型中,其中进程数n是有限且已知的,第二种在标准模型的变种中,具有无限并发性,其中存在无限多个进程,但任何时刻只有有限个进程参与执行。

英文摘要:

In the context of asynchronous concurrent shared-memory systems, a snapshot algorithm allows failure-prone processes to concurrently and atomically write on the entries of a shared array MEM , and also atomically read the whole array. Recently, Read-Modify-Writable (RMWable) snapshot was proposed, a variant of snapshot that allows processes to perform operations more complex than just read and write, specifically, each entry MEM[k] is an arbitrary readable object. The known RMWable snapshot algorithms heavily rely on powerful low-level operations such as compare&swap or load-link/store-conditional to correctly produce snapshots of MEM. Following the large body of research devoted to understand the limits of what can be solved using the simple read/write low-level operations, which are known to be strictly weaker than compare&swap and load-link/store-conditional, we explore if RMWable snapshots are possible using only read/write operations. We present two read/write RMWable snapshot algorithms, the first one in the standard concurrent shared-memory model where the number of processes n is finite and known in advance, and the second one in a variant of the standard model with unbounded concurrency, where there are infinitely many processes, but at any moment only finitely many processes participate in an execution.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑