Skip to main content
Top

2019 | OriginalPaper | Chapter

Simulation of Multithreaded Algorithms Using Petri-Object Models

Authors : Inna V. Stetsenko, Oleksandra Dyfuchyna

Published in: Advances in Computer Science for Engineering and Education

Publisher: Springer International Publishing

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

search-config
loading …

Abstract

Multithreaded programming used for the development of faster algorithms is a very effective method. However, the designing, testing and debugging of nontrivial programs are not easy and need to be improved. Stochastic behavior of threads entails their conflicts and in some cases the unpredictable result of the program. Stochastic Petri nets are widely used for the investigation of concurrent processes in many areas: manufacturing, computer systems, workflow management. In this research stochastic multichannel Petri net is considered as a tool for multithreaded programs modeling. The correspondence between main instructions of multithreaded program and fragments of stochastic Petri net is discovered. Petri-object model’s formalization and software are used for complicated models’ constructions. This approach allows duplicating objects with the same dynamics and aggregating them in model. Models that present the concurrent functioning of multithreaded Java programs are considered. Model’s verification indicates its accuracy. The results of experimental research of these models show a strong impact the values of time delay.

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 Lea, D.: Concurrent Programming in Java: Design Principles and Patterns, 2nd edn. Addison Wesley, Boston (1999)MATH Lea, D.: Concurrent Programming in Java: Design Principles and Patterns, 2nd edn. Addison Wesley, Boston (1999)MATH
2.
go back to reference Goetz, B., Peierls, T., Bloch, J., Bowbeer, J., Holmes, D., Lea, D.: Java Concurrency in Practice. Addison-Wesley, Boston (2006) Goetz, B., Peierls, T., Bloch, J., Bowbeer, J., Holmes, D., Lea, D.: Java Concurrency in Practice. Addison-Wesley, Boston (2006)
4.
go back to reference Law, A.: Simulation Modeling and Analysis. McGraw-Hill International, New York (2014) Law, A.: Simulation Modeling and Analysis. McGraw-Hill International, New York (2014)
5.
go back to reference Haas, P.: Stochastic Petri Nets: Modelling, Stability, Simulation. Springer, New York (2002)CrossRef Haas, P.: Stochastic Petri Nets: Modelling, Stability, Simulation. Springer, New York (2002)CrossRef
6.
go back to reference Peterson, J.: Petri Nets Theory and the Modelling of Systems. Prentice-Hall, New Jersey (1981)MATH Peterson, J.: Petri Nets Theory and the Modelling of Systems. Prentice-Hall, New Jersey (1981)MATH
8.
go back to reference Zhu, L., Wang, W.: UML diagrams to hierarchical colored petri nets: an automatic software performance tool. Procedia Eng. 29, 2687–2692 (2012)CrossRef Zhu, L., Wang, W.: UML diagrams to hierarchical colored petri nets: an automatic software performance tool. Procedia Eng. 29, 2687–2692 (2012)CrossRef
9.
go back to reference Kavi, K., Moshtaghi, A., Chen, D.: Modeling multithreaded applications using petri nets. Int. J. Parallel Prog. 30(5), 353–371 (2002)CrossRef Kavi, K., Moshtaghi, A., Chen, D.: Modeling multithreaded applications using petri nets. Int. J. Parallel Prog. 30(5), 353–371 (2002)CrossRef
10.
go back to reference Katayama, T., Kitano, S., Kita, Y., Yamaba, H., Okazaki, N.: Proposal of a supporting method for debugging to reproduce java multi-threaded programs by petri-net. J. Robot. Netw. Artif. 1(3), 207–211 (2014)CrossRef Katayama, T., Kitano, S., Kita, Y., Yamaba, H., Okazaki, N.: Proposal of a supporting method for debugging to reproduce java multi-threaded programs by petri-net. J. Robot. Netw. Artif. 1(3), 207–211 (2014)CrossRef
11.
go back to reference Rauber, T., Runger, G.: Parallel Programming: for Multicore and Clusters Systems, vol. 2. Springer, Heidelberg (2012)MATH Rauber, T., Runger, G.: Parallel Programming: for Multicore and Clusters Systems, vol. 2. Springer, Heidelberg (2012)MATH
13.
go back to reference Von Praun, C.: Detecting synchronization defects in multi-threaded object-oriented programs, Ph.D thesis, Swiss Federal Institute of Technology, Zurich (2004) Von Praun, C.: Detecting synchronization defects in multi-threaded object-oriented programs, Ph.D thesis, Swiss Federal Institute of Technology, Zurich (2004)
14.
go back to reference Liao, H., Wang, Y., Cho, H., Stanley, J., Kelly, T., Lafortune, S., Mahlke, S., Reveliotis, S.: Concurrency bugs in multithreaded software: modeling and analyzing using petri nets. Discrete Event Dyn. Syst. 23(2), 157–195 (2013)MathSciNetCrossRef Liao, H., Wang, Y., Cho, H., Stanley, J., Kelly, T., Lafortune, S., Mahlke, S., Reveliotis, S.: Concurrency bugs in multithreaded software: modeling and analyzing using petri nets. Discrete Event Dyn. Syst. 23(2), 157–195 (2013)MathSciNetCrossRef
15.
go back to reference Xiang, D., Liu, G., Yan, C., Jiang, C.: Detecting data inconsistency based on the unfolding technique of petri nets. IEEE Trans. Industr. Inf. 13(6), 2995–3005 (2017)CrossRef Xiang, D., Liu, G., Yan, C., Jiang, C.: Detecting data inconsistency based on the unfolding technique of petri nets. IEEE Trans. Industr. Inf. 13(6), 2995–3005 (2017)CrossRef
16.
go back to reference Stetsenko, I.V.: State equations of stochastic timed petri nets with informational relations. Cybern. Syst. Anal. 48(5), 784–797 (2012)MathSciNetCrossRef Stetsenko, I.V.: State equations of stochastic timed petri nets with informational relations. Cybern. Syst. Anal. 48(5), 784–797 (2012)MathSciNetCrossRef
17.
go back to reference Murata, T.: Petri nets: properties, analysis and applications. Proc. IEEE 77(4), 541–580 (1989)CrossRef Murata, T.: Petri nets: properties, analysis and applications. Proc. IEEE 77(4), 541–580 (1989)CrossRef
18.
go back to reference Zaitsev, D., Sleptsov, A.: State equations and equivalent transformations of timed petri nets. Cybern. Syst. Anal. 33(5), 659–672 (1997)MathSciNetCrossRef Zaitsev, D., Sleptsov, A.: State equations and equivalent transformations of timed petri nets. Cybern. Syst. Anal. 33(5), 659–672 (1997)MathSciNetCrossRef
19.
go back to reference Stetsenko, I.V.: Systems formal description in the form of petri-object models. Visnyk NTUU “KPI” Inf. Oper. Comput. Sci. 53, 74–81 (2011) Stetsenko, I.V.: Systems formal description in the form of petri-object models. Visnyk NTUU “KPI” Inf. Oper. Comput. Sci. 53, 74–81 (2011)
20.
go back to reference Stetsenko, I.V., Dorosh, V., Dyfuchyn, A.: Petri-object simulation: software package and complexity. In: The 8th IEEE International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS 2015), pp. 381–385. IEEE, Piscataway (2015) Stetsenko, I.V., Dorosh, V., Dyfuchyn, A.: Petri-object simulation: software package and complexity. In: The 8th IEEE International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS 2015), pp. 381–385. IEEE, Piscataway (2015)
22.
go back to reference Pujari, S., Mukhopadhyay, S.: Petri net: a tool for modeling and analyze multi-agent oriented systems. Int. J. Intell. Syst. Appl. (IJISA) 4(10), 103–112 (2012) Pujari, S., Mukhopadhyay, S.: Petri net: a tool for modeling and analyze multi-agent oriented systems. Int. J. Intell. Syst. Appl. (IJISA) 4(10), 103–112 (2012)
Metadata
Title
Simulation of Multithreaded Algorithms Using Petri-Object Models
Authors
Inna V. Stetsenko
Oleksandra Dyfuchyna
Copyright Year
2019
DOI
https://doi.org/10.1007/978-3-319-91008-6_39

Premium Partner