• DocumentCode
    1241338
  • Title

    Time and Space Lower Bounds for Implementations Using k-CAS

  • Author

    Attiya, Hagit ; Hendler, Danny

  • Author_Institution
    Dept. of Comput. Sci., Technion - Israel Inst. of Technol., Haifa, Israel
  • Volume
    21
  • Issue
    2
  • fYear
    2010
  • Firstpage
    162
  • Lastpage
    173
  • Abstract
    This paper presents lower bounds on the time and space complexity of implementations that use k-compare&swap (k-CAS) synchronization primitives. We prove that using k-CAS primitives can improve neither the time nor the space complexity of implementations of widely used concurrent objects, such as counter, stack, queue, and collect. Surprisingly, overly restrictive use of k-CAS may even increase the space complexity required by such implementations. We prove a lower bound of ??(log2 n) on the round complexity of implementations of a collect object using read, write, and k-CAS, for any k, where n is the number of processes in the system. There is an implementation of collect with O(log2 n) round complexity that uses only reads and writes. Thus, our lower bound establishes that k-CAS is no stronger than read and write for collect implementation round complexity. For k-CAS operations that return the values of all the objects they access, we prove that the total step complexity of implementing key objects such as counters, stacks, and queues is ??(n logk n). We also prove that k-CAS cannot improve the space complexity of implementing many objects (including counter, stack, queue, and single-writer snapshot). An implementation has to use at least n base objects even if k-CAS is allowed, and if all operations (other than read) swap exactly k base objects, then it must use at least k - n base objects.
  • Keywords
    computational complexity; concurrency theory; data structures; k-CAS synchronization primitives; k-compare&swap synchronization primitives; lower bound; space complexity; time complexity; Compare&swap (CAS); collect; conditional synchronization primitives; counter; k-compare&swap (k-CAS); queue.; round complexity; stack;
  • fLanguage
    English
  • Journal_Title
    Parallel and Distributed Systems, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1045-9219
  • Type

    jour

  • DOI
    10.1109/TPDS.2009.60
  • Filename
    4815228