JoOSDT

An Optimised CPU Scheduling Algorithm with Adaptive Time Quantum Approach

[{“box”:0,”content”:”

n

n

 > 

n

n

 > 

n

n

n

n

n

n

n

By [foreach 286]u00a0

u00a0Pradyut Nath, Sumagna Dey, Srija Nandi, Subhrapratim Nath,

[/foreach]
nJanuary 9, 2023 at 5:30 am

n

nAbstract

n

CPU scheduling is an essential mechanism implemented by the operating system to determine the execution of multiple processes by the CPU. The primary objective of the scheduling algorithms is to optimize the systems’ performance efficiently. The performance of a CPU scheduling algorithm depends on various factors and can be evaluated on various criteria like average turnaround time, average waiting time, throughput, fairness etc. This paper aims to present an optimal CPU scheduling algorithm, Adaptive Quantum Round Robin (AQRR) in a uniprocessor environment. Related work has been done on increasing the performance of existing Round Robin Algorithms using dynamic time quantum approaches, but the maximum percentage gain in turnaround time and waiting time using these approaches, over the traditional Round Robin algorithm is not more than 30% and 40% respectively. The proposed algorithm in this paper outperforms these algorithms in both turnaround time and waiting time. The AQRR algorithm is based on the standard Round Robin algorithm, but it is integrated with a dynamic time quantum which is self-adaptive triggered on the event of the arrival of new processes in the ready queue or the completion of a process in the process queue. The dynamic time quantum is updated based on the remaining burst time of the running processes in the process queue at that instance as well as a weightage associated with it. Finally, a comparative study between the prevailing similar scheduling algorithms and the proposed algorithm is observed and noted, based on different scenarios. The following algorithms are compared on two criteria: average turnaround time and average waiting time.

n

n

n

n

Volume :u00a0u00a08 | Issue :u00a0u00a02 | Received :u00a0u00a0July 1, 2021 | Accepted :u00a0u00a0July 27, 2021 | Published :u00a0u00a0August 10, 2021n[if 424 equals=”Regular Issue”][This article belongs to Journal of Operating Systems Development & Trends(joosdt)] [/if 424][if 424 equals=”Special Issue”][This article belongs to Special Issue An Optimised CPU Scheduling Algorithm with Adaptive Time Quantum Approach under section in Journal of Operating Systems Development & Trends(joosdt)] [/if 424]
Keywords Operating system, scheduling algorithms, weighted average, round robin, resource management

n

n

n

n

n


n[if 992 equals=”Transformative”]

n

n

Full Text

n

n

n

[/if 992][if 992 not_equal=”Transformative”]

n

n

Full Text

n

n

n

[/if 992] n


nn

[if 379 not_equal=””]n

[foreach 379]n

n[/foreach]

n[/if 379]

n

References

n[if 1104 equals=””]n

1. Hanish AA. Operating systems and communication protocols. Proceedings of the international workshop on object orientation in operating systems; 1995. p. 166-70. doi: 10.1109/IWOOS.1995.470561.
2. Process scheduling: long, medium, short-term scheduler. Available from: guru99.com [cited Feb 1, 2021]. Available from: https://www.guru99.com/process-scheduling.html.
3. Baruah Sanjoy. The limited-preemption uniprocessor scheduling of sporadic task systems 17th Euromicro Conference on Real-Time Systems (ECRTS’05); 2005. p. 137-44. doi: 10.1109/ECRTS.2005.32.
4. Kameda H. CPU scheduling for effective multiprogramming. Lecture Notes in Computer Science IBM Germany Sci Symposium Series 1980 Oct 1. 1982:(104-18). doi: 10.1007/3-540-11604- 4_50.
5. Goel Neetu, Garg RB. A comparative study of CPU scheduling algorithms. Int J Graph Image Process. November 2012, Available from: arXiv:1307.4165 [cs.OS];2.
6. Mili. Patel, Rakesh P, SJRR CPU scheduling algorithm International Journal of Engineering and Computer Science. 2013;2(12).
7. Dash Amar Ranjan, Sahu Sk, Samantra SK. An optimized round robin CPU scheduling algorithm with dynamic time quantum. IJCSEIT. 2015;5(1, February):07-26. doi: 10.5121/ijcseit.2015.5102.
8. Fang Z. A weight-based multiobjective genetic algorithm for Flowshop scheduling International Conference on Artificial Intelligence and Computational Intelligence. Vol. 2009; 2009. p. 373-7. doi: 10.1109/AICI.2009.130.
9. Arunekumar NB, Kumar A, Joseph KS. Hybrid bat inspired algorithm for multiprocessor real- time scheduling preparation International Conference on Communication and Signal Processing (ICCSP). Vol. 2016; 2016. p. 2194-8. doi: 10.1109/ICCSP.2016.7754572.
10. Patel Jyotirmay, Solanki AK. Performance evaluation of CPU scheduling by using hybrid approach. Int J Eng Res Technol (IJERT). 2012;1(June).
11. Perry Marcus B. The Weighted Moving Average Technique. Wiley encyclopedia of operations research and management science; February 15, 2011. doi: 10.1002/9780470400531.eorms0964.
12. Balharith T, Alhaidari F. Round Robin Scheduling Algorithm in CPU and Cloud Computing: a review 2nd International Conference on Computer Applications & Information Security (ICCAIS). Vol. 2019; 2019. p. 1-7. doi: 10.1109/CAIS.2019.8769534.
13. Rajguru AA, Apte SS. A performance analysis of task scheduling algorithms using qualitative parameters. Int J Comput Appl;74(19):33-8. doi: 10.5120/13004-0308.
14. Dhotre S, Patil S. Cause of process starvation for Linux completely fair scheduler with Apache server International Conference on Computing Methodologies and Communication (ICCMC). Vol. 2017; 2017. p. 814-9. doi: 10.1109/ICCMC.2017.8282579.
15. Matarneh Rami J. Self-adjustment time quantum in round robin algorithm depending on burst time of the now running processes. Am J Appl Sci. 2009;6(10):1831-7. doi: 10.3844/ajassp.2009.1831.1837.
16. Dr. Behera HS, Mohanty R, Nayak D. A new proposed dynamic quantum with Re-adjusted round robin scheduling algorithm and its performance analysis. Int J Comput Appl. August 2010;5(5):10-5. doi: 10.5120/913-1291.
17. Singh M, Agrawal R. Modified Round Robin algorithm (MRR) IEEE International Conference on Power, Control, Signals and Instrumentation Engineering. 2017; p. 2832-9. doi: 10.1109/ICPCSI.2017.8392238.

nn[/if 1104] [if 1104 not_equal=””]n

    [foreach 1102]n t

  1. [if 1106 equals=””], [/if 1106][if 1106 not_equal=””], [/if 1106]
  2. n[/foreach]

n[/if 1104]

n[if 1114 equals=”Yes”]n

n[/if 1114]

n

n

[if 424 not_equal=”Regular Issue”] Regular Issue[/if 424] Open Access Article

n

Journal of Operating Systems Development & Trends

ISSN: 2454-9355

Editors Overview

joosdt maintains an Editorial Board of practicing researchers from around the world, to ensure manuscripts are handled by editors who are experts in the field of study.

n

“},{“box”:4,”content”:”

n“},{“box”:1,”content”:”

    By  [foreach 286]n

  1. n

    Pradyut Nath, Sumagna Dey, Srija Nandi, Subhrapratim Nath

    n

  2. [/foreach]

n

    [foreach 286] [if 1175 not_equal=””]n t

  1. Students, Department Head and Assistant Professor,Department of Computer Science and Engineering, Meghnad Saha Institute of Technology, Department of Computer Science and Engineering, Meghnad Saha Institute of Technology,West Bengal, West Bengal,India, India
  2. n[/if 1175][/foreach]

n

n

n

n

n

Abstract

nCPU scheduling is an essential mechanism implemented by the operating system to determine the execution of multiple processes by the CPU. The primary objective of the scheduling algorithms is to optimize the systems’ performance efficiently. The performance of a CPU scheduling algorithm depends on various factors and can be evaluated on various criteria like average turnaround time, average waiting time, throughput, fairness etc. This paper aims to present an optimal CPU scheduling algorithm, Adaptive Quantum Round Robin (AQRR) in a uniprocessor environment. Related work has been done on increasing the performance of existing Round Robin Algorithms using dynamic time quantum approaches, but the maximum percentage gain in turnaround time and waiting time using these approaches, over the traditional Round Robin algorithm is not more than 30% and 40% respectively. The proposed algorithm in this paper outperforms these algorithms in both turnaround time and waiting time. The AQRR algorithm is based on the standard Round Robin algorithm, but it is integrated with a dynamic time quantum which is self-adaptive triggered on the event of the arrival of new processes in the ready queue or the completion of a process in the process queue. The dynamic time quantum is updated based on the remaining burst time of the running processes in the process queue at that instance as well as a weightage associated with it. Finally, a comparative study between the prevailing similar scheduling algorithms and the proposed algorithm is observed and noted, based on different scenarios. The following algorithms are compared on two criteria: average turnaround time and average waiting time.n

n

n

Keywords: Operating system, scheduling algorithms, weighted average, round robin, resource management

n[if 424 equals=”Regular Issue”][This article belongs to Journal of Operating Systems Development & Trends(joosdt)]

n[/if 424][if 424 equals=”Special Issue”][This article belongs to Special Issue under section in Journal of Operating Systems Development & Trends(joosdt)] [/if 424]

n

n

n


n[if 992 equals=”Subscription”]n

n

n

Full Text

n

n

nn[/if 992]n[if 992 not_equal=”Subscription”]n

n

Full Text

n

n

n

n


[/if 992]n[if 379 not_equal=””]

Browse Figures

n

n

[foreach 379]n

n[/foreach]

n

[/if 379]n

n

References

n[if 1104 equals=””]

1. Hanish AA. Operating systems and communication protocols. Proceedings of the international workshop on object orientation in operating systems; 1995. p. 166-70. doi: 10.1109/IWOOS.1995.470561.
2. Process scheduling: long, medium, short-term scheduler. Available from: guru99.com [cited Feb 1, 2021]. Available from: https://www.guru99.com/process-scheduling.html.
3. Baruah Sanjoy. The limited-preemption uniprocessor scheduling of sporadic task systems 17th Euromicro Conference on Real-Time Systems (ECRTS’05); 2005. p. 137-44. doi: 10.1109/ECRTS.2005.32.
4. Kameda H. CPU scheduling for effective multiprogramming. Lecture Notes in Computer Science IBM Germany Sci Symposium Series 1980 Oct 1. 1982:(104-18). doi: 10.1007/3-540-11604- 4_50.
5. Goel Neetu, Garg RB. A comparative study of CPU scheduling algorithms. Int J Graph Image Process. November 2012, Available from: arXiv:1307.4165 [cs.OS];2.
6. Mili. Patel, Rakesh P, SJRR CPU scheduling algorithm International Journal of Engineering and Computer Science. 2013;2(12).
7. Dash Amar Ranjan, Sahu Sk, Samantra SK. An optimized round robin CPU scheduling algorithm with dynamic time quantum. IJCSEIT. 2015;5(1, February):07-26. doi: 10.5121/ijcseit.2015.5102.
8. Fang Z. A weight-based multiobjective genetic algorithm for Flowshop scheduling International Conference on Artificial Intelligence and Computational Intelligence. Vol. 2009; 2009. p. 373-7. doi: 10.1109/AICI.2009.130.
9. Arunekumar NB, Kumar A, Joseph KS. Hybrid bat inspired algorithm for multiprocessor real- time scheduling preparation International Conference on Communication and Signal Processing (ICCSP). Vol. 2016; 2016. p. 2194-8. doi: 10.1109/ICCSP.2016.7754572.
10. Patel Jyotirmay, Solanki AK. Performance evaluation of CPU scheduling by using hybrid approach. Int J Eng Res Technol (IJERT). 2012;1(June).
11. Perry Marcus B. The Weighted Moving Average Technique. Wiley encyclopedia of operations research and management science; February 15, 2011. doi: 10.1002/9780470400531.eorms0964.
12. Balharith T, Alhaidari F. Round Robin Scheduling Algorithm in CPU and Cloud Computing: a review 2nd International Conference on Computer Applications & Information Security (ICCAIS). Vol. 2019; 2019. p. 1-7. doi: 10.1109/CAIS.2019.8769534.
13. Rajguru AA, Apte SS. A performance analysis of task scheduling algorithms using qualitative parameters. Int J Comput Appl;74(19):33-8. doi: 10.5120/13004-0308.
14. Dhotre S, Patil S. Cause of process starvation for Linux completely fair scheduler with Apache server International Conference on Computing Methodologies and Communication (ICCMC). Vol. 2017; 2017. p. 814-9. doi: 10.1109/ICCMC.2017.8282579.
15. Matarneh Rami J. Self-adjustment time quantum in round robin algorithm depending on burst time of the now running processes. Am J Appl Sci. 2009;6(10):1831-7. doi: 10.3844/ajassp.2009.1831.1837.
16. Dr. Behera HS, Mohanty R, Nayak D. A new proposed dynamic quantum with Re-adjusted round robin scheduling algorithm and its performance analysis. Int J Comput Appl. August 2010;5(5):10-5. doi: 10.5120/913-1291.
17. Singh M, Agrawal R. Modified Round Robin algorithm (MRR) IEEE International Conference on Power, Control, Signals and Instrumentation Engineering. 2017; p. 2832-9. doi: 10.1109/ICPCSI.2017.8392238.

n[/if 1104][if 1104 not_equal=””]n

    [foreach 1102]n t

  1. [if 1106 equals=””], [/if 1106][if 1106 not_equal=””],[/if 1106]
  2. n[/foreach]

n[/if 1104]

n


n[if 1114 equals=”Yes”]n

n[/if 1114]”},{“box”:2,”content”:”

Regular Issue Open Access Article

n

n

n

n

n

Journal of Operating Systems Development & Trends

n

[if 344 not_equal=””]ISSN: 2454-9355[/if 344]

n

n

n

n

n

n

n

n

n

n

n

n

n

n

n

n

n

Volume 8
Issue 2
Received July 1, 2021
Accepted July 27, 2021
Published August 10, 2021

n

n

n

n

Editor

n

n


n

Reviewer

n

n


n n

n”},{“box”:6,”content”:”“}]

Read More
JoOSDT

Parallelization of Metaheuristics for the Optimization of Permuted Perceptron Problem

[{“box”:0,”content”:”

n

n

 > 

n

n

 > 

n

n

n

n

n

n

n

By [foreach 286]u00a0

u00a0Anurag Yadav,

[/foreach]
nJanuary 9, 2023 at 5:36 am

n

nAbstract

n

Parallel computing has found a mainstream backing in graphics processing units (GPUs).These resources have enormous processing capacity, are energy efficient, and are broadly available, unlike grids. Since the advent of CUDA (Compute Unified Device Architecture) developed by NVIDIA that permits GPU programming in C, C++ language, GPUs are now being used in a variety of fields, including scientific computing. This thesis focuses on the optimization of the solution of a NP- complete problem called Permuted Perceptron Problem based on cryptographic identification scheme, which particularly meets the requirements for resource restricted devices like smart cards. We will study about GPU optimization techniques for parallel metaheuristics in order to achieve an efficient solution.

n

n

n

n

Volume :u00a0u00a08 | Issue :u00a0u00a02 | Received :u00a0u00a0November 29, 2021 | Accepted :u00a0u00a0December 9, 2021 | Published :u00a0u00a0December 15, 2021n[if 424 equals=”Regular Issue”][This article belongs to Journal of Operating Systems Development & Trends(joosdt)] [/if 424][if 424 equals=”Special Issue”][This article belongs to Special Issue Parallelization of Metaheuristics for the Optimization of Permuted Perceptron Problem under section in Journal of Operating Systems Development & Trends(joosdt)] [/if 424]
Keywords Permuted perceptron problem, ILS, Tabu Search, simulated annealing, metaheuristics

n

n

n

n

n


n[if 992 equals=”Transformative”]

n

n

Full Text

n

n

n

[/if 992][if 992 not_equal=”Transformative”]

n

n

Full Text

n

n

n

[/if 992] n


nn

[if 379 not_equal=””]n

[foreach 379]n

n[/foreach]

n[/if 379]

n

References

n[if 1104 equals=””]n

1. Pointcheval D. A new identification scheme based on the perceptron problem. Lecture Notes in Computer Science International Conference on the Theory and Applications of Cryptographic Techniques. 1995:319-28. doi: 10.1007/3-540-49264-X_26.
2. Essaid M, Idoumghar L, Lepagnot J, Brévilliers M. GPU parallelization strategies for metaheuristics: a survey. Int J Parallel Emergent Distrib Syst. 2019;34(5):497-522. doi: 10.1080/17445760.2018.1428969.
3. Knudsen LR, Meier W. Cryptanalysis of an identification scheme based on the permuted perceptron problem. Lecture Notes in Computer Science International Conference on the Theory and Applications of Cryptographic Techniques. 1999:363-74. doi: 10.1007/3-540-48910-X_25.
4. Clark JA, Jacob JL. Fault injection and a timing channel on an analysis technique. Lecture Notes in Computer Science International Conference on the Theory and Applications of Cryptographic Techniques. 2002:181-96. doi: 10.1007/3-540-46035-7_12.
5. Van Luong T, Melab N, Talbi E-G. Local search algorithms on graphics processing units. a case study: the permutation perceptron problem. Lecture Notes in Computer Science. 2010:264-75. doi: 10.1007/978-3-642-12139-5_23.

nn[/if 1104] [if 1104 not_equal=””]n

    [foreach 1102]n t

  1. [if 1106 equals=””], [/if 1106][if 1106 not_equal=””], [/if 1106]
  2. n[/foreach]

n[/if 1104]

n[if 1114 equals=”Yes”]n

n[/if 1114]

n

n

[if 424 not_equal=”Regular Issue”] Regular Issue[/if 424] Open Access Article

n

Journal of Operating Systems Development & Trends

ISSN: 2454-9355

Editors Overview

joosdt maintains an Editorial Board of practicing researchers from around the world, to ensure manuscripts are handled by editors who are experts in the field of study.

n

“},{“box”:4,”content”:”

n“},{“box”:1,”content”:”

    By  [foreach 286]n

  1. n

    Anurag Yadav

    n

  2. [/foreach]

n

    [foreach 286] [if 1175 not_equal=””]n t

  1. Student,Department of Computer Science and Engineering, Indian Institute of Technology,Assam,India
  2. n[/if 1175][/foreach]

n

n

n

n

n

Abstract

nParallel computing has found a mainstream backing in graphics processing units (GPUs).These resources have enormous processing capacity, are energy efficient, and are broadly available, unlike grids. Since the advent of CUDA (Compute Unified Device Architecture) developed by NVIDIA that permits GPU programming in C, C++ language, GPUs are now being used in a variety of fields, including scientific computing. This thesis focuses on the optimization of the solution of a NP- complete problem called Permuted Perceptron Problem based on cryptographic identification scheme, which particularly meets the requirements for resource restricted devices like smart cards. We will study about GPU optimization techniques for parallel metaheuristics in order to achieve an efficient solution.n

n

n

Keywords: Permuted perceptron problem, ILS, Tabu Search, simulated annealing, metaheuristics

n[if 424 equals=”Regular Issue”][This article belongs to Journal of Operating Systems Development & Trends(joosdt)]

n[/if 424][if 424 equals=”Special Issue”][This article belongs to Special Issue under section in Journal of Operating Systems Development & Trends(joosdt)] [/if 424]

n

n

n


n[if 992 equals=”Transformative”]n

n

n

Full Text

n

n

nn[/if 992]n[if 992 not_equal=”Transformative”]n

n

Full Text

n

n

n

n


[/if 992]n[if 379 not_equal=””]

Browse Figures

n

n

[foreach 379]n

n[/foreach]

n

[/if 379]n

n

References

n[if 1104 equals=””]

1. Pointcheval D. A new identification scheme based on the perceptron problem. Lecture Notes in Computer Science International Conference on the Theory and Applications of Cryptographic Techniques. 1995:319-28. doi: 10.1007/3-540-49264-X_26.
2. Essaid M, Idoumghar L, Lepagnot J, Brévilliers M. GPU parallelization strategies for metaheuristics: a survey. Int J Parallel Emergent Distrib Syst. 2019;34(5):497-522. doi: 10.1080/17445760.2018.1428969.
3. Knudsen LR, Meier W. Cryptanalysis of an identification scheme based on the permuted perceptron problem. Lecture Notes in Computer Science International Conference on the Theory and Applications of Cryptographic Techniques. 1999:363-74. doi: 10.1007/3-540-48910-X_25.
4. Clark JA, Jacob JL. Fault injection and a timing channel on an analysis technique. Lecture Notes in Computer Science International Conference on the Theory and Applications of Cryptographic Techniques. 2002:181-96. doi: 10.1007/3-540-46035-7_12.
5. Van Luong T, Melab N, Talbi E-G. Local search algorithms on graphics processing units. a case study: the permutation perceptron problem. Lecture Notes in Computer Science. 2010:264-75. doi: 10.1007/978-3-642-12139-5_23.

n[/if 1104][if 1104 not_equal=””]n

    [foreach 1102]n t

  1. [if 1106 equals=””], [/if 1106][if 1106 not_equal=””],[/if 1106]
  2. n[/foreach]

n[/if 1104]

n


n[if 1114 equals=”Yes”]n

n[/if 1114]”},{“box”:2,”content”:”

Regular Issue Open Access Article

n

n

n

n

n

Journal of Operating Systems Development & Trends

n

[if 344 not_equal=””]ISSN: 2454-9355[/if 344]

n

n

n

n

n

n

n

n

n

n

n

n

n

n

n

n

n

Volume 8
Issue 2
Received November 29, 2021
Accepted December 9, 2021
Published December 15, 2021

n

n

n

n

Editor

n

n


n

Reviewer

n

n


n n

n”},{“box”:6,”content”:”“}]

Read More