Home / Current Issue / Paper 1712959
Process Synchronization Simulation: An Interactive Visualization Framework for Classic Concurrency Problems with Real-World Validation
Subject area: Science,Engineering and Technology · Area of research: Operating Systems
Abstract
We have all seen students who struggle with the abstract nature of process synchronization is a crucial part in operating systems, but its dynamic behavior is notoriously hard to teach and learn. That?s why we created a hands-on, web-based tool.It is designed to bridge that gap.The system was built based on Python Flask, JavaScript, and HTML5.That does more than show pictures; that shows you how processes interact in real time, allows students to change parameters on their own, and even includes deadlock detection. Core of the Tool is a discrete-event simulation engine. It accurately It realistically depicts common synchronization behavior and helps illustrate how mechanisms like semaphores, mutexes,and resource allocation graphs in the management of shared resources. On the technical side, this is rock solid. Even with 50 processes running it never dipped below 60 FPS and kept the latencies below 20ms. We achieved an efficiency of 65.2% boost and a 46.8% reduction of costs. What gives us confidence that impresses in this tool is that its simulations are just so real. The Difference between what our tool predicted versus what actually happened less than 5 in real- world deployment.
Keywords
Process synchronization, concurrent program- ming, visualization, educational software, dining philosophers, producer-consumer, readers-writers, deadlock detection, smart parking, EV charging.
References
[1] S. M. Pike, M. Kingsolver, and P. Nguyen, “Visualizing Classic Con- currency Problems: Dining Philosophers, Producers-Consumers, and Readers-Writers,” in Proc. ACM Conf. Innovation and Technology in Computer Science Education (ITiCSE), 2019, pp. 210–216.
[2] D. Clancy, B. Horgan, and N. McDonald, “A Tool for Visualizing Classic Concurrency Problems,” in Proc. ACM Technical Symposium on Computer Science Education (SIGCSE), 2021, pp. 845–851.
[3] R. Sharma, A. Kumar, and P. Singh, “Analysis of Synchronization Mechanisms in Operating Systems,” Int. J. Computer and Information Technology, vol. 13, no. 5, pp. 142–149, 2024.
[4] Y. Liu and H. Zhang, “Techniques of Enhancing Synchronization Efficiency of Distributed Real Time Operating Systems,” in IEEE Int. Conf. Computer Communication and Networks, 2022.
[5] K. Norvag, “Process Synchronization with Readers and Writers Revis- ited,” Croatian Information Technology Journal, vol. 5, no. 2, pp. 1–8, 1997.
[6] X. Chen, W. Li, and Q. Wang, “Analysis of Synchronization Mechanisms in Operating Systems,” arXiv preprint arXiv:2409.11271, 2024.
[7] M. Patel, K. Johnson, and R. Williams, “Implementation of Concurrency Control Mechanisms to Enhance the Performance of Multi-threaded Applications,” Scholarly Review Journal, vol. 8, no. 2, pp. 45–58, 2024.
[8] B. Bhattacharya and A. Mukhopadhyay, “Faster Fair Solution for the Reader-Writer Problem,” arXiv preprint arXiv:1309.4507, 2013.
[9] J. D. Varner and C. A. Shaffer, “Artistoo, a Library to Build, Share, and Explore Simulations of Cells and Tissues in the Web Browser,” eLife, vol. 10, 2021, Art. no. e61288.
[10] T. Kulha´nek, T. Kocka, and M. Mateja´k, “Bodylight.js 2.0 - Web Com- ponents for FMU Simulation, Visualisation and Animation in Standard Web Browser,” in Proc. 15th Int. Modelica Conf., 2024.
[11] T. Monks, A. Harper, and A. Heather, “A Framework to Share Healthcare Simulations on the Web Using Free and Open Source Tools and Python,” in Proc. Operational Research Society Simulation Workshop, 2023, pp. 189–198.
[12] C. M. Welsh and J. K. Medley, “SimService: A Lightweight Library for Building Simulation Services in Python,” Bioinformatics, vol. 40, no. 1, 2023, Art. no. btae009.
[13] M. N. Zakaria, I. Ismail, and M. H. Rosli, “Electric Vehicle Parking Lot Scheduling Using Parallel Genetic Algorithm on a Graphics Processing Unit,” IEEE Access, vol. 12, pp. 151428–151445, 2024.
[14] J. Liu, Y. Zhang, and H. Wang, “A Deep Reinforcement Learning and Graph Convolution Approach to On-Street Parking Search Navigation,” Sensors, vol. 25, no. 8, 2025, Art. no. 2389.
[15] Z. Li, Y. Zhang, and Y. Liu, “SODA: An Adaptive Bitrate Controller for Consistent High-Quality Video Streaming,” in Proc. ACM SIGCOMM Conf., 2024.
How to cite this paper
@article{1712959,
author = {Akash Reddy Ranabothu, Ragha Moulik Atmuri, Varshith Reddy Jamandla, Dr. J. Shajeena, Dr. S. Rahmath Nisha; Dr. Jubilant J. Kizhakkethottam},
title = {Process Synchronization Simulation: An Interactive Visualization Framework for Classic Concurrency Problems with Real-World Validation},
journal = {Iconic Research And Engineering Journals},
year = {2025},
volume = {9},
number = {6},
pages = {1712-1719},
issn = {2456-8880},
url = {https://www.irejournals.com/formatedpaper/1712959.pdf},
abstract = {We have all seen students who struggle with the abstract nature of process synchronization is a crucial part in operating systems, but its dynamic behavior is notoriously hard to teach and learn. That?s why we created a hands-on, web-based tool.It is designed to bridge that gap.The system was built based on Python Flask, JavaScript, and HTML5.That does more than show pictures; that shows you how processes interact in real time, allows students to change parameters on their own, and even includes deadlock detection. Core of the Tool is a discrete-event simulation engine. It accurately It realistically depicts common synchronization behavior and helps illustrate how mechanisms like semaphores, mutexes,and resource allocation graphs in the management of shared resources. On the technical side, this is rock solid. Even with 50 processes running it never dipped below 60 FPS and kept the latencies below 20ms. We achieved an efficiency of 65.2% boost and a 46.8% reduction of costs. What gives us confidence that impresses in this tool is that its simulations are just so real. The Difference between what our tool predicted versus what actually happened less than 5 in real- world deployment.},
keywords = {Process synchronization, concurrent program- ming, visualization, educational software, dining philosophers, producer-consumer, readers-writers, deadlock detection, smart parking, EV charging.},
month = {December},
doi = {https://doi.org/10.64388/IREV9I6-1712959}
}