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

广义唤醒:可线性化数据结构的分摊共享内存下限

Generalized Wake-Up: Amortized Shared Memory Lower Bounds for Linearizable Data Structures

Siddhartha Visveswara Jayanti

摘要:

在这项工作中,我们定义了广义唤醒问题,$GWU(s)$,一个共享内存的异步系统与$n$进程。非正式地,由递增序列$s = s_1,\ldots,s_p$参数化的问题要求至少$n - i + 1$进程识别至少$s_i$其他进程已经“唤醒”并且对于每个$1 \le i \le n$采取至少一个步骤。我们证明,任何解决方案$GWU(s)$,使用读/写/比较和交换变量至少需要$Ω\left(\sum_{i = 1}^n \log s_i \right)$步骤来解决。广义唤醒下限作为一种技术,用于证明许多线性化并发数据类型上的操作的摊销复杂性的下限,通过减少。我们用几个例子来说明这一点:(1)我们展示了一个$Ω(\log n)$摊销下限的复杂性实现计数器和{ \em获取和增量}对象匹配的复杂性算法给出的Jayanti和Ellen&Woelfel;下限甚至扩展到一个显着放松版本的对象。(2)我们显示了一个$Ω(\log n)$摊销的下限的并发堆栈,队列和优先级队列的弹出,出队,deleteMin操作的复杂性分别举行,即使数据类型定义显着放宽;(3)在另一篇文章中,我们已经显示了一个$Ω(\log\log(n \ell/m))$摊销的下限的操作的复杂性上的一个union查找对象的大小$\ell$(当$m$操作执行)。

英文摘要:

In this work, we define the generalized wake-up problem, $GWU(s)$, for a shared memory asynchronous system with $n$ processes. Informally, the problem, which is parametrized by an increasing sequence $s = s_1,\ldots,s_p$, asks that at least $n - i + 1$ processes identify that at least $s_i$ other processes have "woken up" and taken at least one step for each $1 \le i \le n$. We prove that any solution to $GWU(s)$ that uses read/write/compare-and-swap variables requires at least $Ω\left(\sum_{i = 1}^n \log s_i \right)$ steps to solve. The generalized wake-up lower bound serves as a technique for proving lower bounds on the amortized complexities of operations on many linearizable concurrent data types through reductions. We illustrate this with several examples: (1) We show an $Ω(\log n)$ amortized lower bound on the complexity of implementing counters and {\em fetch-and-increment} objects which match the complexities of the algorithms given by Jayanti and Ellen & Woelfel; the lower bound even extends to a significantly relaxed version of the object. (2) We show an $Ω(\log n)$ amortized lower bound on the complexity of the pop, dequeue, and deleteMin operations of a concurrent stack, queue, and priority queue respectively that hold even if the data type definitions are significantly relaxed; (3) In another paper, we have shown an $Ω(\log\log(n \ell/m))$ amortized lower bound on the complexity of operations on a union-find object of size $\ell$ (when $m$ operations are performed).

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

↑