Skip to main content
Log in

An efficient approach to collaborative simulation of variable structure systems on multi-core machines

  • Published:
Cluster Computing Aims and scope Submit manuscript

Abstract

Complex variable-structure systems (CVSSs) are a common type of complex systems that exhibit changes both at structural and behavior levels. Simulations of CVSSs challenge current collaborative execution methods with increasingly big and complex models. The emergence of multi-core paradigm presents an exciting opportunity to address such challenge, so an advanced parallel simulator under multi-core environments is proposed. The simulator: (1) provides thread simulation kernels and five kinds of management services to support dynamic model structure flexibly; (2) can explore both inherent and dynamic parallelism among models based on interaction relations, and employ the multi-thread paradigm to gain good speedup; (3) adopts an efficient dynamic load-balancing method, which can migrate models among cores with very low cost and support dynamic core allocation on demand, to address evident load-imbalance problems brought by variable-structure. The experiments show that structure changes can be supported while up to 23 % performance increase can be gained.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Holland, J.H.: Studying complex adaptive systems. J. Syst. Sci. Complex. 19(1), 1–8 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  2. Di Marzo Serugendo, G., Gleizes, M.P., Karageorgos, A.: Self-organization in multi-agent systems. Knowl. Eng. Rev. 20(02), 165–189 (2005)

    Article  Google Scholar 

  3. Anderson, P.: Perspective: complexity theory and organization science. Organ. Sci. 10(3), 216–232 (1999)

    Article  Google Scholar 

  4. Uhrmacher, A.M.: Dynamic structures in modeling and simulation: a reflective approach. ACM Trans. Model. Comput. Simul. (TOMACS) 11(2), 206–232 (2001)

    Article  Google Scholar 

  5. Zeigler, B.P., Praehofer, H.: Systems theory challenges in the simulation of variable structure and intelligent systems. In: Computer Aided Systems Theory EUROCAST’89, pp. 41–51 (1990)

  6. Barros, F.J.: Modeling formalisms for dynamic structure systems. ACM Trans. Model. Comput. Simul. (TOMACS) 7(4), 501–515 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  7. Hu, X., Zeigler, B.P., Mittal, S.: Variable structure in DEVS component-based modeling and simulation. Simulation. 81(2), 91–102 (2005)

    Article  Google Scholar 

  8. Uhrmacher, A.M., Himmelspach, J., Rohl, M., et al.: Introducing variable ports and multi-couplings for cell biological modeling in DEVS. In: Proceedings of the Winter Simulation Conference, pp. 832–840 (2006)

  9. Zeigler, B.P., Praehofer, H., Kim, T.G.: Theory of Modeling and Simulation: Integrating Discrete Event and Continuous Complex Dynamic Systems. Academic Press, New York (2000)

  10. Zacharewicz, G., Hamri, M.E.A., Frydman, C., et al.: A generalized discrete event system (g-DEVS) flattened simulation structure: application to high-level architecture (HLA) compliant simulation of workflow. Simulation 86(3), 181–197 (2010)

    Article  Google Scholar 

  11. Muzy, A., Nutaro, J.J.: Algorithms for efficient implementations of the DEVS and DSDEVS abstract simulators. In: 1st Open International Conference on Modeling and Simulation (OICMS), pp. 273–279 (2005)

  12. Robson, E., Boukerche, A.: Dynamic balancing of communication and computation load for HLA-based simulations on large-scale distributed systems. J. Parallel Distrib. Comput. 71(1), 40–52 (2011)

    Article  Google Scholar 

  13. Gan, B.P., Low, Y.H., Jain, S., et al.: Load balancing for conservative simulation on shared memory multiprocessor systems. In: Proceedings of Fourteenth Workshop on Parallel and Distributed Simulation, pp. 139–146 (2000)

  14. Biswas, R., Aftosmis, M.J., Kiris, C., et al.: Petascale computing: impact on future NASA missions. In: Bader, D. (ed.) Petascale Computing: Architectures and Algorithms, pp. 29–46. CRC Press, Boca Raton (2007)

    Google Scholar 

  15. Habata, S., Yokokawa, M., Kitawaki, S.: The earth simulator system. NEC Res. Dev. 44(1), 21–26 (2003)

    Google Scholar 

  16. Wang, J., Jagtap, D., Abu-Ghazaleh, N., et al.: Parallel discrete event simulation for multi-core systems: analysis and optimization. IEEE Trans. Parallel Distrib. Syst. 25(6), 1574–1584 (2014)

    Article  Google Scholar 

  17. Lin, Z., Tropper, C., Ishlam Patoary, M.N., et al.: NTW-MT: a multi-threaded simulator for reaction diffusion simulations in NEURON. In: Proceedings of the 3rd ACM Conference on SIGSIM-Principles of Advanced Discrete Simulation, pp. 157–167 (2015)

  18. Bauer, P., Lindn, J., Engblom, S., et al.: Efficient inter-process synchronization for parallel discrete event simulation on multicores. In: Proceedings of the 3rd ACM Conference on SIGSIM-Principles of Advanced Discrete Simulation, pp. 183–194 (2015)

  19. Tang, W., Yao, Y., Zhu, F.: A hierarchical parallel discrete event simulation kernel for multicore platform. Clust. Comput. 16(3), 379–387 (2013)

    Article  Google Scholar 

  20. Bergero, F., Kofman, E., Cellier, F.: A novel parallelization technique for DEVS simulation of continuous and hybrid systems. Simulation 89(6), 663–683 (2012)

    Article  Google Scholar 

  21. Fujimoto, R.M.: Parallel and Distributed Simulation Systems. Wiley, New York (2000)

    Google Scholar 

  22. Himmelspach, J., Uhrmacher, A.M.: Processing dynamic PDEVS models. In: The IEEE Computer Society’s 12th Annual International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunications Systems, pp. 329–336 (2004)

  23. Muzy, A., Zeigler, B.P.: Specification of dynamic structure discrete event systems using single point encapsulated control functions. Int. J. Model. Simul. Sci. Comput. 5(03), 1450012 (2014)

    Article  Google Scholar 

  24. Barros, F.J.: On the representation of dynamic topologies: the case for centralized and modular approaches. In: Proceedings of the Symposium on Theory of Modeling and Simulation-DEVS Integrative, p. 40 (2014)

  25. Yang, C., Li, B.H., Chai, X., et al.: Ivy: a parallel simulator for variable structure systems under multi-core environments. Int. J. Serv. Comput. Oriented Manuf. 1(2), 103–123 (2013)

    Article  Google Scholar 

  26. Miller, R.J.: Optimistic Parallel Discrete Event Simulation on a Beowulf Cluster of Multi-core Machines. University of Cincinnati, Cincinnati (2010)

    Google Scholar 

  27. Vitali, R., Pellegrini, A., Quaglia, F.: Load sharing for optimistic parallel simulations on multi core machines. ACM SIGMETRICS Perform. Eval. Rev. 40(3), 2–11 (2012)

    Article  Google Scholar 

  28. Chen, L., Lu, Y., Yao, Y., et al.: A well-balanced time warp system on multi-core environments. In: Proceedings of the 2011 IEEE Workshop on Principles of Advanced and Distributed Simulation, pp. 1–9 (2011)

  29. Jafer, S., Liu, Q., Wainer, G.: Synchronization methods in parallel and distributed discrete-event simulation. Simul. Model. Pract. Theory 30, 54–73 (2013)

    Article  Google Scholar 

  30. Peng, Y., Cai, Y., Zhong, R.H., et al.: Parallel framework for HLA federate oriented to simulation component on multicore platform. Ruanjian Xuebao/J. Softw. 23(8), 2188–2206 (2012)

    Google Scholar 

  31. Peschlow, P., Honecker, T., Martini, P.: A flexible dynamic partitioning algorithm for optimistic distributed simulation. In: Proceedings of the 21st International Workshop on Principles of Advanced and Distributed Simulation, pp. 219–228 (2007)

  32. Glazer, D.W., Tropper, C.: On process migration and load balancing in time warp. IEEE Trans. Parallel Distrib. Syst. 4(3), 318–327 (1993)

    Article  Google Scholar 

  33. Jiang, M.R., Shieh, S.P., Liu, C.L.: Dynamic load balancing in parallel simulation using time warp mechanism. In: International Conference on Parallel and Distributed Systems, pp. 222–227 (1994)

  34. Coffman, E.G., Elphick, M., Shoshani, A.: System deadlocks. ACM Comput. Surv. (CSUR) 3(2), 67–78 (1971)

    Article  MATH  Google Scholar 

  35. Lewis, R.: A general-purpose hill-climbing method for order independent minimum grouping problems: a case study in graph colouring and bin packing. Comput. Oper. Res. 36(7), 2295–2310 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  36. Som, T.K., Sargent, R.G.: Model structure and load balancing in optimistic parallel discrete event simulation. In: Proceedings of the Fourteenth Workshop on Parallel and Distributed Simulation, pp. 147–154 (2000)

  37. D’Angelo, G., Bracuto, M.: Distributed simulation of large-scale and detailed models. Int. J. Simul. Process Model. 5(2), 120–131 (2009)

    Article  Google Scholar 

  38. Carothers, C.D., Fujimoto, R.M.: Efficient execution of time warp programs on heterogeneous, NOW platforms. IEEE Trans. Parallel Distrib. Syst. 11(3), 299–317 (2000)

    Article  Google Scholar 

  39. Yang, C., Li, B.H., Chai, X., et al.: An efficient dynamic load balancing method for simulation of variable structure systems. In: 2013 8th EUROSIM Congress on Modelling and Simulation (EUROSIM), pp. 525–531 (2013)

  40. Sun, Y., Hu, X.: Performance measurement of dynamic structure DEVS for large-scale cellular space models. Simulation 85(5), 335–351 (2009)

    Article  Google Scholar 

  41. Uhrmacher, A.M.: Variable structure models: autonomy and control answers from two different modeling approaches. In: Proceedings of AI, Simulation, and Planning in High Autonomy Systems, pp. 133–139 (1993)

  42. Uhrmacher, A.M., Ewald, R., John, M., et al.: Combining micro and macro-modeling in devs for computational biology. In: Proceedings of the 39th Conference on Winter Simulation: 40 years! The Best is Yet to Come, pp. 871–880 (2007)

  43. Mittal, S.: Emergence in stigmergic and complex adaptive systems: a formal discrete event systems perspective. Cogn. Syst. Res. 21, 22–39 (2013)

    Article  Google Scholar 

  44. Rajaei, H., Ayani, R., Thorelli, L.E.: The local time warp approach to parallel simulation. ACM SIGSIM Simul. Dig. 23(1), 119–126 (1993)

    Article  Google Scholar 

  45. Rao, D.M., Thondugulam, N.V., Radhakrishnan, R., et al.: Unsynchronized parallel discrete event simulation. In: Proceedings of the 30th Conference on Winter Simulation, pp. 1563–1570 (1998)

  46. Steinman, J., Parks, J.: A proposed open system architecture for modeling and simulation (OSAMS). In: SISO Simulation Interoperability Workshop. Orlando, FL (2007)

  47. Estrin, G.: Organization of computer systems: the fixed plus variable structure computer. In: Western Joint IRE-AIEE-ACM Computer Conference, pp. 33–40 (1960)

  48. Bobda, C.: Introduction to Reconfigurable Computing: Architectures, Algorithms, and Applications. Springer, Dordrecht (2007)

    Book  MATH  Google Scholar 

  49. Yang, F., Lü, J., Mei, H.: Technical framework for internetware: an architecture centric approach. Sci. China Ser. F 51(6), 610–622 (2008)

  50. Aydt, H., Turner, S.J., Cai, T.W., et al.: Symbiotic simulation systems: an extended definition motivated by symbiosis in biology. In: IEEE 22nd Workshop on Principles of Advanced and Distributed Simulation, pp. 109–116 (2008)

  51. Darema, F.: Dynamic data driven applications systems: a new paradigm for application simulations and measurements. Comput. Sci. ICCS 2004, 662–669 (2004)

    Google Scholar 

  52. Kim, J.E., Mosse, D.: Generic framework for design, modeling and simulation of cyber physical systems. ACM SIGBED Rev. 5(1), 1 (2008)

    Google Scholar 

  53. Liu, H., He, F., Cai, X., et al.: Performance-based control interfaces using mixture of factor analyzers. Vis. Comput. 27(6–8), 595–603 (2011)

    Article  Google Scholar 

Download references

Acknowledgments

This work is financially supported by National Key Lab in Intelligent Manufacturing System Technology of Complex Product and the National 863 Plan (2015AA042101), China.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chen Yang.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yang, C., Chi, P., Song, X. et al. An efficient approach to collaborative simulation of variable structure systems on multi-core machines. Cluster Comput 19, 29–46 (2016). https://doi.org/10.1007/s10586-015-0498-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10586-015-0498-9

Keywords

Navigation