Skip to main content

Design of a New OFTM Algorithm towards Abort-Free Execution

  • Conference paper
Distributed Computing and Internet Technology (ICDCIT 2013)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 7753))

Abstract

The Software Transactional Memory (STM) is a promising alternative to lock based concurrency control. Three well studied progress conditions for implementing STM are, wait-freedom, lock-freedom and obstruction-freedom. The wait-freedom is the strongest progress property. It rules out the occurrence of deadlock and starvation but impose too much implementation overhead. The obstruction freedom property is weaker than wait-freedom and lock-freedom. Obstruction Free Transactional Memory (OFTM) is simpler to implement, rules out the occurrence of deadlock and has faster performance in absence of contention. A transaction T k that opens an object, say X, for updating may be in the active state even after completion of update operation on X. Hence, object X cannot be accessed by any other transaction as the current transaction T k is still active. At this point, if another transaction T m wants to acquire object X at this point (for read/write), either T k needs to be aborted or T m must wait till T k finishes. Both of these approaches are detrimental for the performance of the system. Besides, OFTM does not allow T m to wait for the completion of T k. In this paper, a new OFTM implementation methodology has been proposed to allow the second transaction T m to proceed immediately without affecting the execution of the first transaction T k. The proposed approach yields higher throughput as compared to existing OFTM approaches that calls for aborting transactions.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Shavit, N., Touitou, D.: Software transactional memory. In: ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing, pp. 204–213. ACM (1995)

    Google Scholar 

  2. Herlihy, M., Luchangco, V., Moir, M., Scherer III, W.N.: Software Transactional Memory for Dynamic-sized Data Structures. In: 22nd Annual ACM Symp. on Principles of Distributed Computing, pp. 92–101 (July 2003)

    Google Scholar 

  3. Herlihy, M., Luchangco, V., Moir, M.: Obstruction-free synchronization: Double-endedqueues as an example. In: Proceedings of the 23rd International Conference on Distributed Computing Systems, pp. 522–529 (2003)

    Google Scholar 

  4. Maranthe, V.J., Scherer III, W.N., Scott, M.L.: Adaptive Software Transactional Memory. In: Fraigniaud, P. (ed.) DISC 2005. LNCS, vol. 3724, pp. 354–368. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  5. Marathe, V.J., Spear, M.F., Heriot, C., Acharya, A., Eisenstat, D., Scherer III, W.N., Scott, M.L.: The Rochester software transactional memory runtime (2006), http://www.cs.rochester.edu/research/synchronization/rstm/

  6. Tabba, F., Wang, C., Goodman, J.R., Moir, M.: NZTM: non-blocking zero-indirection transactional memory. In: Proceedings of the 21st ACM Annual Symposium on Parallelism in Algorithms and Architectures (SPAA), pp. 204–213 (2009)

    Google Scholar 

  7. Guerraoui, R., Kapalka, M.: On obstruction-free transactions. In: Proceedings of the 20th Annual Symposium on Parallelism in Algorithms and Architectures (SPAA 2008), pp. 304–313 (2008)

    Google Scholar 

  8. Attiya, H.: Invited Paper: The Inherent Complexity of Transactional Memory and What to Do about It. In: Aguilera, M.K., Yu, H., Vaidya, N.H., Srinivasan, V., Choudhury, R.R. (eds.) ICDCN 2011. LNCS, vol. 6522, pp. 1–11. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  9. Marathe, V.J., Scott, M.L.: A Qualitative Survey of Modern Software Transactional Memory Systems. Technical Report Nr. TR 839. University of Rochester Computer Science Dept. (2004)

    Google Scholar 

  10. Scherer III, W.N., Scott, M.L.: Advanced contention management for dynamic software transactional memory. In: PODC 2005: Proceedings of the Twenty-Fourth Annual ACM Symposium on Principles of Distributed Computing, NY, USA, pp. 240–248 (2005)

    Google Scholar 

  11. Saad, M.M., Ravindran, B.: RMI-DSTM: Control Flow Distributed Software Transactional Memory: Technical Report, ECE Dept., Virginia Tech. (2011)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ghosh, A., Chaki, N. (2013). Design of a New OFTM Algorithm towards Abort-Free Execution. In: Hota, C., Srimani, P.K. (eds) Distributed Computing and Internet Technology. ICDCIT 2013. Lecture Notes in Computer Science, vol 7753. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-36071-8_20

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-36071-8_20

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-36070-1

  • Online ISBN: 978-3-642-36071-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics