• DocumentCode
    2257979
  • Title

    A practical nonblocking queue algorithm using compare-and-swap

  • Author

    Shann, Chien-Hua ; Huang, Ting-Lu ; Cheng Chen

  • Author_Institution
    Dept. of Comput. Sci. & Inf. Eng., Nat. Chiao Tung Univ., Hsinchu, Taiwan
  • fYear
    2000
  • fDate
    2000
  • Firstpage
    470
  • Lastpage
    475
  • Abstract
    Many nonblocking algorithms have been proposed for shared queues. Previous studies indicate that link-based algorithms perform best. However, these algorithms have a memory management problem: a dequeued node cannot be freed or reused without proper handling. The problem is usually overlooked; one just assumes the existence of a lower level mechanism, which takes care of all the details of a lower level mechanism, which takes care of all the details of handling the problem. Employing such a mechanism incurs significant overheads, and consequently the link-based queues may not perform as well as claimed. A new non-blocking queue algorithm based on a finite array is proposed. Compared with the link-based algorithms, the new algorithm provides the same degree of concurrency without being subject to the memory problem, hence suggests a good performance
  • Keywords
    concurrency theory; parallel algorithms; queueing theory; compare-and-swap; concurrency; finite array; nonblocking queue algorithm; shared queues; Computer science; Concurrent computing; Costs; Councils; Data structures; Degradation; Delay; Interference; Memory management; System recovery;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Systems, 2000. Proceedings. Seventh International Conference on
  • Conference_Location
    Iwate
  • ISSN
    1521-9097
  • Print_ISBN
    0-7695-0568-6
  • Type

    conf

  • DOI
    10.1109/ICPADS.2000.857731
  • Filename
    857731