Preview

Proceedings of the Southwest State University. Series: IT Management, Computer Science, Computer Engineering. Medical Equipment Engineering

Advanced search

Computer Modeling of the Task Scheduler

Abstract

Purpose of the research is to simulate computer processes and the task scheduler of the operating system, to model process scheduling algorithms, to study the CPU load at different waiting times for I / O operations. Modern concepts of processes and task planning are presented, the states of processes and options for transitions between these states are considered. A process model is proposed, and the calculation of the process operation time is given for a known probability of waiting state. The method of changing the priority of the process is considered.

Methods. Processes are in one of three states: two active and one passive. Each process can be superseded by another when its time quantum expires. The order of displacement is determined by the priority of the process. The priority includes the basic part and the dynamic part, which changes over time, and can also change at the request of the user.

Results. As a result of computer simulation, an operating system was developed that implements the process model and the process scheduler. The process structure includes the process ID, state, processor context (register value), and memory card. The scheduler implements the round-robin algorithm. When a timer interrupt occurs, the context of the previous process is saved and the context of the next process is restored. As a result of the simulation, a relationship was obtained between the number of processes and CPU utilization at different I / O waiting times.

Conclusion. The resulting model can be used to model the operation of processes and the task scheduler of the operating system. It allows you to test scheduling algorithms to improve the performance of the operating system.

About the Authors

A. А. Chaplygin
Southwest State University
Russian Federation

Aleksandr А. Chaplygin, Cand. of Sci. (Engineering), Associate Professor of the Department of Software Engeneering

50 Let Oktyabrya str. 94, Kursk 305040



E. А. Petrik
Southwest State University
Russian Federation

Elena А. Petrik, Cand. of Sci. (Engineering), Associate Professor of Software Engineering Department

50 Let Oktyabrya str. 94, Kursk 305040



References

1. Li I. V., Balsa A. R. Sovremennye podkhody k razrabotke operatsionnykh sistem dlya masshtabiruemykh mnogoyadernykh sistem [Modern methods of developing of operating systems for clustering multicore systems]. Informacionnye tekhnologii i sistemy: upravlenie, ekonomika, transport, pravo = Information Technologies and Systems: Management, Economics, Transport, Law, 2014, no. 1, pp. 6-14.

2. Bovet D., Chezati M. Yadro Linux [Linux kernel]. 3th ed. St. Petersburg, BHV- Peterburg Publ., 2007. 1105 p.

3. Chepcov V. U., Cherkasova N. I. Razrabotka metoda dinamicheskoi modifikatsii rasshirenii yadra v operatsionnoi sisteme macos dlya obrabotki radiolokatsionnoi i meteoinformatsii [Developing of dynamic modification method for kernel modules in MacOS operating system for radio- and meteo-information processing]. Vestnik Sankt-Peterburgskogo gosudarstvennogo universiteta grazhdanskoj aviacii = Bulletin of the St. Petersburg State University of Civil Aviation, 2017, no. 3, рр. 61-71.

4. Tanenbaum E., Bos H. Sovremennye operatsionnye sistemy [Modern operating systems]. 4th ed. St. Petersburg, Piter Publ., 2015. 1120 p.

5. Minix - Natsional'naya biblioteka im. N. E. Baumana [Minix - National Library named after N. E. Bauman]. Available at: https://ru.bmstu.wiki/MINIX. (assessed 10.02.2020)

6. Sartakov V. A., Atovmyan I. O., Zaeva M. A. Opyt razrabotki i testirovaniya vstraivaemoi mikroyadernoi operatsionnoi sistemy [Developing and testing experience of embedded microkernel operating system]. Prikladnaya informatika = Applied Computer Science, 2011, no. 6, pp. 33-37.

7. Kaster H. Osnovy Windows NT i NTFS [Windows NT and NTFS basics]. Moscow, Russkaya Redakciya Publ., 1996. 440 p.

8. Viennot N., Nair S., Nieh J. Transparent Mutable Replay for Multicore Debugging and Patch Validation. Proceedings of the 18th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS ’13). Houston, TX Publ., 2013.

9. Batch Processing: Design - Build - Run: Applied Practices and Principles. Oreilly. Available at: https://www.oreilly.com//...design-build/9780470257630...batch.html. (assessed 18.02.2021)

10. Announcing Windows 10 Insider Preview Build 21354. Windows Experience Blog, 2021, April 07.

11. Wind River’s VxWorks Powers Mars Science Laboratory Rover, Curiosity. Virtual Strategy Magazine, 2012, August 06.

12. Chaplygin A. A., Malyshev A. V. Operatsionnaya sistema s yadrom na osnove virtual'noi mashiny s umen'shennym naborom komand [The operating system with the virtual machine based kernel with reduced instruction set]. Izvestiya Yugo-Zapadnogo gosudarstvennogo universiteta. Seriya: Upravlenie, vychislitel'naya tekhnika, informatika. Meditsinskoe priborostroenie = Proceedings of the Southwest State University. Series: Control, Computer Engineering, Information Science. Medical Instruments Engineering, 2020, vol. 1, рр. 8-20.

13. Arpaci-Dusseau R. H., Arpaci-Dusseau A. C. Operating Systems: Three Easy Pieces. Madison, University of Wisconsin-Madison Publ., 2018.

14. Andrews G. R., Schneider F. B. Concepts and Notations for Concurrent Programming. ACM Computing Surveys, 1983, vol. 15, no. 1.

15. Ben-Ari M. Principles of Concurrent Programming. Boston, Addison-Wesley Publ., 2006.

16. Silberschatz A. Operating System Concepts. 9th ed. New York, John Wiley & Sons Publ., 2012.

17. Coffman E. System Deadlocks. ACM Computing Surveys, 1971, vol. 3, no. 2.

18. Zhuravlev S. Survey of Scheduling Techniques for Addressing Shared Resources in Multicore Processors. ACM Computing Surveys, 2012, vol. 45, no. 1,

19. Stallings W. Operating Systems: Internals and Design Principles. 7th ed. PE, 2011.

20. Kwok Y. K. Ahmad I. Static Scheduling Algorithms for Allocating Directed Task Graphs to Multiprocessors. ACM Computing Surveys, 1999, vol. 31, is. 4.


Review

For citations:


Chaplygin A.А., Petrik E.А. Computer Modeling of the Task Scheduler. Proceedings of the Southwest State University. Series: IT Management, Computer Science, Computer Engineering. Medical Equipment Engineering. 2021;11(2):138-151. (In Russ.)

Views: 139


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2223-1536 (Print)