Skip to main content
Top

2018 | OriginalPaper | Chapter

SME: A New Software Transactional Memory Based Mutual Exclusion Algorithm for Distributed Systems

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The utilization of concurrent computing has significantly increased in the last three decades for various commercial and scientific applications. However, concurrent systems often have an astronomically large number of possible executions. These executions may proceed in many different ways depending on scheduling of processes, sequence of inputs, etc. Such non-determinism often leads to gaps or malfunctions in the system design. Thus synchronization of resources became a great issue and programmers had to put huge effort solving this. Transactional memory is one of those measures to solve these inconsistencies. The goal of a transactional memory system is to transparently support the definition of regions of code that are considered in a transaction to maintain the ACID properties of transactions. This paper explores the possibility of designing a STM based mutual exclusion algorithm and compares its performance in terms of time and message complexity. A new STM-based mutual exclusion algorithm known as SME has been proposed and the results have been compared with those due to traditional FAPP algorithm. Besides, the proposed SME implementation is on the ring topology that provides a stable structure suitable for increasing the degree of multiprogramming.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Kanrar, S., Chaki, N.: FAPP: a new fairness algorithm for priority process mutual exclusion in distributed systems. Spec. Issue Recent. Adv. Netw. Parallel Comput. Int. J. Netw. 5(1), 11–18 (2010) Kanrar, S., Chaki, N.: FAPP: a new fairness algorithm for priority process mutual exclusion in distributed systems. Spec. Issue Recent. Adv. Netw. Parallel Comput. Int. J. Netw. 5(1), 11–18 (2010)
2.
go back to reference Raymond, K.: A tree-based algorithm for distributed mutual exclusion. ACM Trans. Comput. Syst. 7, 61–77 (1989)CrossRef Raymond, K.: A tree-based algorithm for distributed mutual exclusion. ACM Trans. Comput. Syst. 7, 61–77 (1989)CrossRef
3.
go back to reference Kanrar, S., Chaki, N.: Modified Raymond’s algorithm for priority (MRA-P) based mutual exclusion in distributed systems. In: Madria, S.K., Claypool, K.T., Kannan, R., Uppuluri, P., Gore, M.M. (eds.) ICDCIT 2006. LNCS, vol. 4317, pp. 325–332. Springer, Heidelberg (2006). https://doi.org/10.1007/11951957_29CrossRef Kanrar, S., Chaki, N.: Modified Raymond’s algorithm for priority (MRA-P) based mutual exclusion in distributed systems. In: Madria, S.K., Claypool, K.T., Kannan, R., Uppuluri, P., Gore, M.M. (eds.) ICDCIT 2006. LNCS, vol. 4317, pp. 325–332. Springer, Heidelberg (2006). https://​doi.​org/​10.​1007/​11951957_​29CrossRef
4.
go back to reference Harris, T., Fraser, K.: Language support for lightweight transactions. In: 18th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications. OOP-SLA 2003, pp. 388–402 (2003) Harris, T., Fraser, K.: Language support for lightweight transactions. In: 18th Annual ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications. OOP-SLA 2003, pp. 388–402 (2003)
5.
go back to reference Shavit, N., Touitou, D.: Software transactional memory. In: 14th ACM Symposium on Principles of Distributed Computing. PODC 1995, pp. 204–213 (1995) Shavit, N., Touitou, D.: Software transactional memory. In: 14th ACM Symposium on Principles of Distributed Computing. PODC 1995, pp. 204–213 (1995)
6.
go back to reference Naik, M., Aiken, A., Whaley, J.: Effective static race detection for Java. In: PLDI 2006: Proceeding of 2006 ACM SIGPLAN Conference on Programming Language Design and Implementation, pp. 308–319(2006) Naik, M., Aiken, A., Whaley, J.: Effective static race detection for Java. In: PLDI 2006: Proceeding of 2006 ACM SIGPLAN Conference on Programming Language Design and Implementation, pp. 308–319(2006)
7.
go back to reference Abadi, M., Birrell, A., Harris, T., Isard, M.: Semantics of transactional memory and automatic mutual exclusion. In: Proceedings of the 35th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, vol. 20, pp. 1–49 (2008) Abadi, M., Birrell, A., Harris, T., Isard, M.: Semantics of transactional memory and automatic mutual exclusion. In: Proceedings of the 35th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, vol. 20, pp. 1–49 (2008)
8.
go back to reference Harris, T., Plesko, M., Shinnar, A., Tarditi, D.: Optimizing memory transactions. In: ACM SIGPLAN Conference on Programming Language Design and Implementation. PLDI 2006, pp. 14–25 (2006) Harris, T., Plesko, M., Shinnar, A., Tarditi, D.: Optimizing memory transactions. In: ACM SIGPLAN Conference on Programming Language Design and Implementation. PLDI 2006, pp. 14–25 (2006)
9.
go back to reference Herlihy, M., Moss, J.E.B.: Transactional memory: architectural support for lock-free data structures. In: 20th Annual International Symposium on Computer Architecture, pp. 289–300 (1993) Herlihy, M., Moss, J.E.B.: Transactional memory: architectural support for lock-free data structures. In: 20th Annual International Symposium on Computer Architecture, pp. 289–300 (1993)
10.
go back to reference Attiya, H.: Needed: foundations for transactional memory. Newsl. ACM SIGACT News Arch. 39(1), 59–61 (2008)CrossRef Attiya, H.: Needed: foundations for transactional memory. Newsl. ACM SIGACT News Arch. 39(1), 59–61 (2008)CrossRef
11.
go back to reference Shpeisman, T., et al.: Enforcing isolation and ordering in STM. In: PLDI 2007: Proceedings of 2007 ACM SIGPLAN Conference on Programming Language Design and Implementation, pp. 78–88 (2007) Shpeisman, T., et al.: Enforcing isolation and ordering in STM. In: PLDI 2007: Proceedings of 2007 ACM SIGPLAN Conference on Programming Language Design and Implementation, pp. 78–88 (2007)
12.
go back to reference Charles, P., et al.: X10: an object-oriented approach to non-uniform cluster computing. In: OOPSLA 2005: Object-Oriented Programing, Systems, Languages, and Applications (2005) Charles, P., et al.: X10: an object-oriented approach to non-uniform cluster computing. In: OOPSLA 2005: Object-Oriented Programing, Systems, Languages, and Applications (2005)
13.
go back to reference Herlihy, M., Luchangcogton, V., Moir, M.N., Scherer III, W.: Software transactional memory for dynamic-sized data structure. In: 22nd Annual Symposium on Principles of Distributed Computing, PODC 2003, pp. 13–16. ACM, USA (2003) Herlihy, M., Luchangcogton, V., Moir, M.N., Scherer III, W.: Software transactional memory for dynamic-sized data structure. In: 22nd Annual Symposium on Principles of Distributed Computing, PODC 2003, pp. 13–16. ACM, USA (2003)
14.
go back to reference Herlihy, M., Linearizability, J.W.: A correctness condition for concurrent objects. ACM Trans. Program. Lang. Syst. 12(3), 463–492 (1990)CrossRef Herlihy, M., Linearizability, J.W.: A correctness condition for concurrent objects. ACM Trans. Program. Lang. Syst. 12(3), 463–492 (1990)CrossRef
15.
go back to reference Afekn, Y., Dauber, D., Touitou, D.: Wait-free made fast. In: 27th Annual ACM Symposium on Theory of Computing, pp. 538–547 (1995) Afekn, Y., Dauber, D., Touitou, D.: Wait-free made fast. In: 27th Annual ACM Symposium on Theory of Computing, pp. 538–547 (1995)
16.
go back to reference Shavit, N., Touitou, D.: Software transactional memory. Distrib. Comput. Spec. Issue 10, 99–116 (1997)CrossRef Shavit, N., Touitou, D.: Software transactional memory. Distrib. Comput. Spec. Issue 10, 99–116 (1997)CrossRef
17.
go back to reference Banerjee, S., Mukherjee, P., Kanrar, S., Chaki, N.: A novel symmetric algorithm for process synchronization in distributed systems. In: Conference on Algorithms and application (ALAP 2018), pp. 69–82 (2018) Banerjee, S., Mukherjee, P., Kanrar, S., Chaki, N.: A novel symmetric algorithm for process synchronization in distributed systems. In: Conference on Algorithms and application (ALAP 2018), pp. 69–82 (2018)
Metadata
Title
SME: A New Software Transactional Memory Based Mutual Exclusion Algorithm for Distributed Systems
Author
Sukhendu Kanrar
Copyright Year
2018
DOI
https://doi.org/10.1007/978-3-319-99954-8_30

Premium Partner