arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2006.06048cs.DCcs.DS
收藏

高效的Partial快照实施

Efficient Partial Snapshot Implementations

Nikolaos D. Kallimanis, Eleni Kanellou, Charidimos Kiosterakis

摘要:

在这项工作中,我们提出了$λ$ -扫描仪快照,快照对象的变化,它支持任何固定数量的$0 < λ\leq n$不同的$SCAN$操作活跃在任何给定的时间。只要$λ$等于系统中的进程数$n$,$λ$ -扫描器对象就实现多扫描器对象,而在$λ$等于$1$的情况下,$λ$ -扫描器对象就实现单扫描器对象。我们提出了$λ-Snap$快照对象,一个无等待的$λ$ -扫描器快照实现,具有用于$UPDATE$操作的$O(λ)$和用于$SCAN$操作的$O(λm)$的步骤复杂度。$λ-Snap$的空间复杂度为$O(λm)$。$λ-Snap$提供了步骤/空间复杂度与系统能够在任何给定时间点上有效的$SCAN$操作的最大数量之间的折衷。我们的实现提供的低空间复杂度使它们在实际系统应用中更具吸引力。此外,我们提供了一个稍微修改的版本的$λ-Snap$实现,这是所谓的部分$λ-Snap$,这是能够支持动态部分扫描操作。在这样的对象中,进程可以执行称为$PARTIAL\_SCAN$的修改的$SCAN$操作,该操作可以获得快照对象的一部分,从而避免读取整个组件集。在这项工作中,我们首先提供了一个简单的单扫描仪版本的$λ-Snap$,这是所谓的$1-Snap$。我们提供$1-Snap$只是为了演示目的,因为它比$λ-Snap$简单。$1-Snap$中的$UPDATE$的步骤复杂度为$O(1)$,而$SCAN$的步骤复杂度为$O(m)$。此实现使用$O(m)$ $CAS$寄存器。

英文摘要:

In this work, we propose the $λ$-scanner snapshot, a variation of the snapshot object, which supports any fixed amount of $0 < λ\leq n$ different $SCAN$ operations being active at any given time. Whenever $λ$ is equal to the number of processes $n$ in the system, the $λ$-scanner object implements a multi-scanner object, while in case that $λ$ is equal to $1$, the $λ$-scanner object implements a single-scanner object. We present the $λ-Snap$ snapshot object, a wait-free $λ$-scanner snapshot implementation that has a step complexity of $O(λ)$ for $UPDATE$ operations and $O(λm)$ for $SCAN$ operations. The space complexity of $λ-Snap$ is $O(λm)$. $λ-Snap$ provides a trade-off between the step/space complexity and the maximum number of $SCAN$ operations that the system can afford to be active on any given point in time. The low space complexity that our implementations provide makes them more appealing in real system applications. Moreover, we provide a slightly modified version of the $λ-Snap$ implementation, which is called partial $λ-Snap$, that is able to support dynamic partial scan operations. In such an object, processes can execute modified $SCAN$ operations called $PARTIAL\_SCAN$ that could obtain a part of the snapshot object avoiding to read the whole set of components. In this work, we first provide a simple single-scanner version of $λ-Snap$, which is called $1-Snap$. We provide $1-Snap$ just for presentation purposes, since it is simpler than $λ-Snap$. The $UPDATE$ in $1-Snap$ has a step complexity of $O(1)$, while the $SCAN$ has a step complexity of $O(m)$. This implementation uses $O(m)$ $CAS$ registers.

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

↑