CFP last date
20 January 2025
Reseach Article

Implementing Lock Free Data Structure for Shared-Memory Systems using Linked List

by Nuku Atta Kordzo Abiew, Dominic Asamoah
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 178 - Number 4
Year of Publication: 2017
Authors: Nuku Atta Kordzo Abiew, Dominic Asamoah
10.5120/ijca2017915806

Nuku Atta Kordzo Abiew, Dominic Asamoah . Implementing Lock Free Data Structure for Shared-Memory Systems using Linked List. International Journal of Computer Applications. 178, 4 ( Nov 2017), 9-14. DOI=10.5120/ijca2017915806

@article{ 10.5120/ijca2017915806,
author = { Nuku Atta Kordzo Abiew, Dominic Asamoah },
title = { Implementing Lock Free Data Structure for Shared-Memory Systems using Linked List },
journal = { International Journal of Computer Applications },
issue_date = { Nov 2017 },
volume = { 178 },
number = { 4 },
month = { Nov },
year = { 2017 },
issn = { 0975-8887 },
pages = { 9-14 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume178/number4/28660-2017915806/ },
doi = { 10.5120/ijca2017915806 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2024-02-07T00:49:28.092131+05:30
%A Nuku Atta Kordzo Abiew
%A Dominic Asamoah
%T Implementing Lock Free Data Structure for Shared-Memory Systems using Linked List
%J International Journal of Computer Applications
%@ 0975-8887
%V 178
%N 4
%P 9-14
%D 2017
%I Foundation of Computer Science (FCS), NY, USA
Abstract

It is becoming evident that non-blocking algorithms can deliver significant benefits to parallel system. Such algorithms use low-level atomic primitives such as compare-and-swap through careful design and by eschewing the use of locks, it is possible to build system which scale to highly-parallel environments and which are resilient to scheduling decisions. Lock-free data structures implement concurrent objects without the use of mutual exclusion. This approach can avoid performance problems due to unpredictable delays while processes are within critical sections. Although universal methods are known that give lock-free data structures for any abstract data type, the overhead of these methods makes them inefficient when compared to conventional techniques using mutual exclusion, such as spin locks. In using lock-free data structures and algorithms for implementing a shared linked list and skip list, it allows concurrent traversal, insertion, and deletion by any number of processes.

References
  1. Greenwald, M. 1999. Non-Blocking synchronization and system design. PhD Thesis. Stanford University, Technical Report STAN-CS-TR-99
  2. Lamport L. 1974 A new solution of Djikstra concurrent programming problem. Communication of the ACM,
  3. Herlihy, M.1991, Wait-free synchronization. ACM Transactions on Programming Languages and Systems, 124-149.
  4. Fischer, M.J, Lynch, N.A and Paterson M.S. 1985, Impossibility of distributed consensus with one faulty process. ACM Journal 32, 2 , 374 – 382.
  5. Herlihy, M.1993, A methodology for implementing highly concurrent data object. ACM Transactions on Programming Language and Systems Vol 15, 745-770.
  6. Massalin H and Pu, C. 1991, A lock-free multiprocessor OS Kernel. Technical Report CUCS-005-91, Columbia University.
  7. Harris, T.L. 2001, A pragmatic implementation of non-blocking list. Proceedings of the 15th International Symposium on Distributed Computing, 300 -314.
  8. Michael M. 2002, Safe Memory Reclamation for Dynamic lock-free objects using atomic reads and writes. Proceedings of the 21st Annual Symposium on Principles of Distributed Computing, 21 – 30.
  9. Treiber R.K.1986, Systems programming: Coping with Parallelism, Research report RJ 5118, IBM Almaden Research Center, 123.
  10. Valois John D.1995, Lock-free linked lists using compare-and-swap. Proceedings of the 14th ACM Symposium on Principles of Distributed Computing, 214-222.
  11. Shalev O and Shavit N, 2003, Split-Ordered Lists: Lock-Free Extensible Hash Tables, ACM Press.
Index Terms

Computer Science
Information Sciences

Keywords

Exclusion Linked List Lock-free Non-blocking Spin-Lock.