Efficient Wait-Free Linearizable Implementations of Approximate Bounded Counters Using Read-Write Registers - Archive ouverte HAL Accéder directement au contenu
Rapport Année : 2024

Efficient Wait-Free Linearizable Implementations of Approximate Bounded Counters Using Read-Write Registers

Adnane Khattabi
  • Fonction : Auteur
  • PersonId : 1351345
Jennifer L. Welch
  • Fonction : Auteur
  • PersonId : 1351347

Résumé

Relaxing the sequential specification of a shared object is a way to obtain an implementation with better performance compared to implementing the original specification. We apply this approach to the Counter object, under the assumption that the number of times the Counter is incremented in any execution is at most a known bound $m$. We consider the k-multiplicative-accurate Counter object, where each read operation returns an approximate value that is within a multiplicative factor k of the accurate value. More specifically, a read is allowed to return an approximate value x of the number v of increments previously applied to the counter such that v/k <= x \<= v*k. We present three algorithms to implement this object in a wait-free linearizable manner in the shared memory model using read-write registers. All the algorithms have read operations whose worst-case step complexity improves exponentially on that for an exact m-bounded counter (which in turn improves exponentially on that for an exact unbounded counter). Two of the algorithms have read step complexity that is asymptotically optimal. The algorithms differ in their requirements on k, step complexity of the increment operation, and space complexity.
Fichier non déposé

Dates et versions

hal-04454806 , version 1 (13-02-2024)

Licence

Copyright (Tous droits réservés)

Identifiants

  • HAL Id : hal-04454806 , version 1

Citer

Colette Johnen, Adnane Khattabi, Alessia Milani, Jennifer L. Welch. Efficient Wait-Free Linearizable Implementations of Approximate Bounded Counters Using Read-Write Registers. LaBRI, Université de Bordeaux; Laboratoire d'informatique et des Systèmes - LIS (UMR 7020). 2024. ⟨hal-04454806⟩
4 Consultations
0 Téléchargements

Partager

Gmail Facebook X LinkedIn More