Multithread Affinity Scheduling Using a Decision Maker

Authors

  • Shatha K. Jawad National University
  • Ronald P. Uhlig National University
  • Bhaskar Sinha National University
  • Mohammad N. Amin National University
  • Pradip Peter Dey National University

DOI:

https://doi.org/10.24203/ajcis.v6i4.5430

Keywords:

Affinity, cache memory, multiprocessor scheduling, operating systems, priority, throughput

Abstract

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.

Author Biographies

Shatha K. Jawad, National University

Assistant Professor

Department of Computer Science and Information Systems

School of Engineering and Computing

National University

Ronald P. Uhlig, National University

Professor

School of Engineering and Computing

National University

Bhaskar Sinha, National University

Professor

Department of Computer Science and Information Systems

School of Engineering and Computing

National University

Mohammad N. Amin, National University

Professor

School of Engineering and Computing

National University

Pradip Peter Dey, National University

Professor

Department of Computer Science and Information Systems

School of Engineering and Computing

National University

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

2018-08-19

How to Cite

Jawad, S. K., Uhlig, R. P., Sinha, B., Amin, M. N., & Dey, P. P. (2018). Multithread Affinity Scheduling Using a Decision Maker. Asian Journal of Computer and Information Systems, 6(4). https://doi.org/10.24203/ajcis.v6i4.5430

Issue

Section

Articles