Multithread Affinity Scheduling Using a Decision Maker
DOI:
https://doi.org/10.24203/ajcis.v6i4.5430Keywords:
Affinity, cache memory, multiprocessor scheduling, operating systems, priority, throughputAbstract
In a multiprocessor-multithread Operating System (OS), scheduling has two dimensions. The operating system has to decide which thread to run and which Central Processing Unit (CPU) to run it on. Assume the threads are independent and each thread has a priority, the operating system selects a thread with the highest priority and assigns it to the first free CPU. Usually, each CPU has its private cache. To increase the throughput of the system, it is preferred to use affinity scheduling. The affinity scheduling concept is to make an effort to have a thread run on the same CPU it ran on the last time. The existing affinity scheduling is implemented by using a two-level scheduling algorithm. In this paper a new approach is designed to implement independent multithread scheduling on a multiprocessor system. The design approach uses a decision maker to compute a new priority for each ready thread according to the thread pre-priority and affinity. The results show that by using the new priority, the goal of having affinity is satisfied in addition to taking the pre-priority of the thread in consideration. Also, the design approach reduces the scheduling time because it implements affinity scheduling and priority scheduling by employing a one level scheduling algorithm.References
Tanenbaum, Andrew S. and Bos, Herbert, Modern Operating Systems. Pearson, 2015
Silberschatz, Abraham and Galvin, Peter B., Operating System Concepts, Addison-Wesley Longman, 1993.
Naghibzadeh, M.. Operating System Concepts and Techniques, iUniverse, 2011.
Peterson, James L., Operating System Concepts, Addison-Wesley Longman, 1985.
Vaswani, R. and Zahorjan, J., “The Implications of Cache Affinity on Processor Scheduling for Multiprogrammed, Shared Memory Multiprocessorsâ€. Proceedings of the Thirteenth Symposium on Operating Systems Principles, pages 26-40, October 1991
Subramaniam, S. and Eager, D.L., Affinity Scheduling of Unbalanced Workloads, Supercomputing '94. Proceedings, 1994.
Torrellas, J., Tucker, A., Gupta. A., “Evaluating the Performance of Cache-Affinity Scheduling in Shared-Memory Multiprocessorsâ€. Journal of Parallel and Distributed Computing. Volume 24, Issue 2, 1995, Pages 139-151.
Bashir, Alam, Doja, M. N. and Biswas, R., “Improving the Performance of Fair Share Scheduling Algorithm using Fuzzy Logicâ€, Proceedings of the International Conference on Advances in Computing, Communication and Control, 2009.
Kandel, Abraham, Zhang, Yan-Qing and Henne, Marlow, “On Use Fuzzy Logic Technology in Operating Systemsâ€, Fuzzy Sets and Systems, Vol. 99, No. 3, 1988, pp: 241- 251.
Lim, Sungsoo and Sung-Bae, “Intelligent OS Process Scheduling Using Fuzzy Inference with User Modelsâ€, IEA/AIE 2007, LNAI 4570, pp. 725–734, 2007.
Jawad, Shatha and Al-Aubidy, Kasim. “Design and Evaluation of a Fuzzy-Based CPU Scheduling Algorithmâ€, CCIS 70, p. 45 ff, Information Processing and Management, Springer, 2010.
Stallings, William. “Computer Organization and Architecture Designing for Performanceâ€, 10 edition, 2016.
Downloads
Published
Issue
Section
License
- Papers must be submitted on the understanding that they have not been published elsewhere (except in the form of an abstract or as part of a published lecture, review, or thesis) and are not currently under consideration by another journal published by any other publisher.
- It is also the authors responsibility to ensure that the articles emanating from a particular source are submitted with the necessary approval.
- The authors warrant that the paper is original and that he/she is the author of the paper, except for material that is clearly identified as to its original source, with permission notices from the copyright owners where required.
- The authors ensure that all the references carefully and they are accurate in the text as well as in the list of references (and vice versa).
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Attribution-NonCommercial 4.0 International that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
- The journal/publisher is not responsible for subsequent uses of the work. It is the author's responsibility to bring an infringement action if so desired by the author.