Relaxing the sequential specification of shared objects has been proposed as a promising approach to obtain implementations with better complexity. In this paper, we study the step complexity of relaxed variants of two common shared objects: max registers and counters. In particular, we consider the $k$-multiplicative-accurate max register and the $k$-multiplicative-accurate counter, where read operations are allowed to err by a multiplicative factor of $k$ (for some $k \in \mathbb{N}$). More accurately, reads are allowed to return an approximate value $x$ of the maximum value $v$ previously written to the max register, or of the number $v$ of increments previously applied to the counter, respectively, such that $v/k \leq x \leq v \cdot k$. We provide upper and lower bounds on the complexity of implementing these objects in a wait-free manner in the shared memory model.
翻译:放松对共享天体的顺序规格被认为是一个很有希望的方法,以获得更复杂的执行。在本文件中,我们研究了两个共同天体的放松变体的步数复杂性:最大登记和计数。特别是,我们考虑了美元-倍复制-准确最大登记簿和美元-倍复制-准确计数柜,读写操作被一个倍复制因子(美元-in\mathbb{N}$)允许误差。更准确地说,允许读取返回以前写给最高登记簿的最大值的大约x美元,或以前分别用于计数的递增额的美元,例如,以美元/k\leq x\leq v\cdot k$。我们在共享记忆模型中以无等待的方式提供执行这些天体物体复杂性的上限和下限。