Journal of Global Research in Computer Science

Similar documents
CPU Scheduling CPU. Basic Concepts. Basic Concepts. CPU Scheduler. Histogram of CPU-burst Times. Alternating Sequence of CPU and I/O Bursts

CPU scheduling. CPU Scheduling

Roadmap. Tevfik Koşar. CSE 421/521 - Operating Systems Fall Lecture - V CPU Scheduling - I. University at Buffalo.

Pallab Banerjee, Probal Banerjee, Shweta Sonali Dhal

Chapter 6: CPU Scheduling. Basic Concepts. Histogram of CPU-burst Times. CPU Scheduler. Dispatcher. Alternating Sequence of CPU And I/O Bursts

Roadmap. Tevfik Ko!ar. CSC Operating Systems Spring Lecture - V CPU Scheduling - I. Louisiana State University.

CPU Scheduling. Chapter 9

CPU Scheduling Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University

IJCSC VOLUME 5 NUMBER 2 JULY-SEPT 2014 PP ISSN

Salisu Aliyu Department of Mathematics, Ahmadu Bello University, Zaria, Nigeria

CPU SCHEDULING. Scheduling Objectives. Outline. Basic Concepts. Enforcement of fairness in allocating resources to processes

Mixed Round Robin Scheduling for Real Time Systems

CS 143A - Principles of Operating Systems

CSC 1600: Chapter 5. CPU Scheduling. Review of Process States

א א א א א א א א

CPU Scheduling. Basic Concepts Scheduling Criteria Scheduling Algorithms. Unix Scheduler

A Paper on Modified Round Robin Algorithm

Principles of Operating Systems

Comp 204: Computer Systems and Their Implementation. Lecture 10: Process Scheduling

Ricardo Rocha. Department of Computer Science Faculty of Sciences University of Porto

CPU Scheduling: Part I. Operating Systems. Spring CS5212

Simulation of Process Scheduling Algorithms

CSE 5343/7343 Fall 2006 PROCESS SCHEDULING

LEAST-MEAN DIFFERENCE ROUND ROBIN (LMDRR) CPU SCHEDULING ALGORITHM

CPU Scheduling. Jo, Heeseung

Lecture 3. Questions? Friday, January 14 CS 470 Operating Systems - Lecture 3 1

FIFO SJF STCF RR. Operating Systems. Minati De. Department of Mathematics, Indian Institute of Technology Delhi, India. Lecture 6: Scheduling

Process Scheduling Course Notes in Operating Systems 1 (OPESYS1) Justin David Pineda

Efficient Round Robin Scheduling Algorithm with Dynamic Time Slice

Scheduling Processes 11/6/16. Processes (refresher) Scheduling Processes The OS has to decide: Scheduler. Scheduling Policies

Scheduling. CSE Computer Systems November 19, 2001

Asia Pacific Journal of Engineering Science and Technology

Scheduling I. Today. Next Time. ! Introduction to scheduling! Classical algorithms. ! Advanced topics on scheduling

Project 2 solution code

CPU Scheduling. Jo, Heeseung

CS510 Operating System Foundations. Jonathan Walpole

CSC 553 Operating Systems

Bhavin Fataniya 1, Manoj Patel 2 1 M.E(I.T) Student, I.T Department, L.D College Of Engineering, Ahmedabad, Gujarat, India ABSTRACT I.

Intro to O/S Scheduling. Intro to O/S Scheduling (continued)

Motivation. Types of Scheduling

Announcements. Program #1. Reading. Is on the web Additional info on elf file format is on the web. Chapter 6. CMSC 412 S02 (lect 5)

Review of Round Robin (RR) CPU Scheduling Algorithm on Varying Time Quantum

CS 153 Design of Operating Systems Winter 2016

Analysis of Adaptive Round Robin Algorithm and Proposed Round Robin Remaining Time Algorithm

Uniprocessor Scheduling

Design and Performance Evaluation of Smart Job First Dynamic Round Robin (SJFDRR) Scheduling Algorithm with Smart Time Quantum

CPU Scheduling (Chapters 7-11)

A NOVEL METHOD BASED ON PRIORITY FOR ENHANCEMENT ROUND-ROBIN SCHEDULING ALGORITHM

CPU Scheduling. Disclaimer: some slides are adopted from book authors and Dr. Kulkarni s slides with permission

IJRASET: All Rights are Reserved

Chapter 9 Uniprocessor Scheduling

CPU Scheduling. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Comparative Analysis of Basic CPU Scheduling Algorithms

CPU Scheduling. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Scheduling Algorithms. Jay Kothari CS 370: Operating Systems July 9, 2008

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras

CPU Scheduling. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Lecture 11: CPU Scheduling

DRR Based Job Scheduling for Computational Grid and its Variants

Operating Systems Process Scheduling Prof. Dr. Armin Lehmann

Lecture 6: CPU Scheduling. CMPUT 379, Section A1, Winter 2014 February 5

SE350: Operating Systems. Lecture 6: Scheduling

Introduction to Operating Systems. Process Scheduling. John Franco. Dept. of Electrical Engineering and Computing Systems University of Cincinnati

Operating System 9 UNIPROCESSOR SCHEDULING

Improvised Optimum Multilevel Dynamic Round Robin Algorithm for Optimizing CPU Scheduling

Improvement of Queue Management for Real Time Task in Operating System

Reading Reference: Textbook: Chapter 7. UNIX PROCESS SCHEDULING Tanzir Ahmed CSCE 313 Fall 2018

Operating Systems. Scheduling

Advanced Types Of Scheduling

A New Proposed Dynamic Quantum for Priority Based Round Robin Scheduling Algorithm

Queue based Job Scheduling algorithm for Cloud computing

Process Scheduling for John Russo generated Mon Nov 07 13:57:15 EST 2011

A COMPARATIVE ANALYSIS OF SCHEDULING ALGORITHMS

CSE 451: Operating Systems Spring Module 8 Scheduling

CS 111. Operating Systems Peter Reiher

Resource Utilization & Execution Time Enhancement by Priority Based Preemptable Shortest Job Next Scheduling In Private Cloud Computing

PERFORMANCE ANALYSIS OF LOAD BALANCING IN CLOUD COMPUTING BY USING SCHEDULING ALGORITHMS

Smarter Round Robin Scheduling Algorithm for Cloud Computing and Big Data

Process Scheduling I. COMS W4118 Prof. Kaustubh R. Joshi hdp://

September 30 th, 2015 Prof. John Kubiatowicz

Recall: Example of RR with Time Quantum = 20. Round-Robin Discussion

SELF OPTIMIZING KERNEL WITH HYBRID SCHEDULING ALGORITHM

Comparative Study of Parallel Scheduling Algorithm for Parallel Job

Study and Comparison of VM Scheduling Algorithm in Cloud Computing Using CloudSim Simulator

Scheduling II. To do. q Proportional-share scheduling q Multilevel-feedback queue q Multiprocessor scheduling q Next Time: Memory management

Recall: FCFS Scheduling (Cont.) Example continued: Suppose that processes arrive in order: P 2, P 3, P 1 Now, the Gantt chart for the schedule is:

ELC 4438: Embedded System Design Real-Time Scheduling

An Improved Fuzzy-Based CPU Scheduling (IFCS) Algorithm for Real Time Systems

2. Scheduling issues. Common approaches /2. Common approaches /1. Common approaches / /18 UniPD - T. Vardanega 14/03/2018

A HYBRID ALGORITHM FOR MULTIPROCESSOR SCHEDULING

CS162 Operating Systems and Systems Programming Lecture 10. Tips for Handling Group Projects Thread Scheduling

Real-Time Scheduler Design For Embedded System Domain

An Optimized Task Scheduling Algorithm in Cloud Computing Environment

GENERALIZED TASK SCHEDULER

TABLE OF CONTENTS CHAPTER NO. TITLE PAGE NO. ABSTRACT LIST OF TABLES LIST OF FIGURES LIST OF SYMBOLS AND ABBREVIATIONS

Performance Comparison of RTS Scheduling Algorithms

CPU scheduling CPU 1. P k P 3 P 2 P 1 CPU 2. CPU n. The scheduling problem: Which jobs should we assign to which CPU(s)?

Homework 2: Comparing Scheduling Algorithms

TASK SCHEDULING BASED ON EFFICIENT OPTIMAL ALGORITHM IN CLOUD COMPUTING ENVIRONMENT

An operating system executes a variety of programs: Batch system - jobs Time-shared systems - user programs or tasks

Transcription:

Volume 2, No. 5, May 211 Journal of Global Research in Computer Science RESEARCH PAPER Available Online at www.jgrcs.info Weighted Mean Priority Based Scheduling for Interactive Systems H.S.Behera *1, Sabyasachi Sahu 2 and Sourav Kumar Bhoi 3 Department of Computer Science and Engineering Veer Surendra Sai University of Technology (VSSUT), Burla, Sambalpur, Odisha, India hsbehera_india@yahoo.com 1 sabyasaschi.sahu112@gmail.com 2, souravbhoi@gmail.com 3 Abstract--- Scheduling in Operating System means determining which tasks are supposed to run when there are multiple tasks to be run. Consequently, the efficiency and performance of a system mainly depends on CPU scheduling algorithm where CPU is considered as one of the primary computer resource. Traditionally, Priority Scheduling Algorithm is used for processes in which priority is the determining factor. This paper proposes a newly improved process scheduling algorithm by using dynamic time quantum along with weighted mean. Experimental analysis demonstrates that this proposed algorithm gives better response time making the algorithm useful for interactive systems. Keywords--- CPU Scheduling, Priority, weighted mean, root mean square, Context Switch, Waiting time, Turn-around time, Response time. INTRODUCTION the CPU [3]. A number of research works have been carried out on scheduling algorithms hitherto for different An Operating System is software consisting of programs applications. Abielmona [4] on account of his analytical and data usually running on systems, controls the system s scrutiny of an innumerable number of scheduling hardware resources and provides a common platform for algorithms gives a thorough insight into the factors affecting various application services. In multitasking and a CPU scheduling algorithm s performance. Also, multiprocessing environment the way the processes are Matarneh [5], has used dynamic time quantum in order to assigned to run on the available CPUs is called scheduling. remove the limitations featuring in RR on using static time The fundamental problem in operating systems (OS) is quantum. Previous works by Joseph, Mathai [6], also give minimizing the wait for the user when he or she simply insight into the value of response time to improve wants the execution of a particular set of tasks. interactivity of a scheduling algorithm, and Ramamrithan, Consequently, the resource utilization and the overall Krithi [7], enumerate the significance of dynamic priority and performance of the system gets affected. its repercussions in a the algorithm. Hence, the Scheduler determines the assigning of processes in the ready queue to the CPU for processing. The main goal of the scheduling is to maximize the different performance metrics viz. CPU utilization, throughput and to minimize response time, waiting time and turnaround time and the number of context switches [1]. Basing on the frequency of scheduling, the scheduler in an OS are of three types viz. Long-term Scheduler, Short-term Scheduler, and Middleterm Scheduler. In the computer system, all processes consist of a number of alternating two burst cycles (the CPU burst cycle and the Input & Output (IO) burst cycle) [2]. The 2cycles viz. the CPU and the IO burst cycle execute alternatively during a normal CPU cycle. The scheduler normally defines three states for a process: RUNNING state (process is running for the CPU), READY state(process is ready to run but isn t actually running on the CPU) and the WAITING state(the process is waiting for some IO to happen). Also the scheduler and/or dispatcher can be: Preemptive, implying that it is capable of forcibly removing processes from a CPU when it decides to give the CPU to another process, or Non-preemptive, in which case the scheduler is unable to force processes off SHCEDULIMG ALGORITHMS In computer science, a scheduling algorithm is the method by which tasks, processes, threads or data flow are given access to system resources [2]. The need for scheduling algorithms arises from the requirement for many Operating Systems for multiprogramming. The criteria for performance evaluation of a CPU scheduling algorithms viz. the performance metrics are as follows: 1). Turnaround Time: This is the amount of time from submission to completion of process. Usually, the goal is to minimize the turnaround time. 2). Waiting Time: This is the amount of time spent ready to run but not running. It is the difference in start time and ready time. Usually, the goal is to minimize the waiting time. 3). : It is the amount of time it takes from when a request was submitted until the first response is produced. 4). Number of Context Switches: For the better performance of the algorithm, algorithm, the number of context switches should be less. JGRCS 211, All Rights Reserved 1

H.S.Behera et al, Journal of Global Research in Computer Science, Volume 2 No 5 211 There are four well known algorithms predominantly used in CPU scheduling briefly discussed below: First-Come, First-Served (FCFS): This algorithm is preemptive in nature and allocates the CPU to the process that requests the CPU first. This algorithm is implemented using FIFO queue. This scheduler runs each task until it either terminates or leaves the task due to an IO interrupt. The processes are allocated to the CPU on the basis of their arrival at the queue. The FCFS is simple and fair but is unsatisfactory for time sharing systems since it favors long tasks. Shortest-Job-First (SJF): The SJF algorithm is primarily non-preemptive. It associates the length of the next CPU burst with each process such that that the process with the smallest next CPU burst is allocated to the CPU. The SJF uses the FCFS to break tie i.e. when there are two processes having the same CPU burst). The SJF algorithm can also be implemented as a preemptive algorithm. When the execution of a process that is currently running is interrupted in order to give the CPU to a new process with a shorter next CPU burst, it is called a preemptive SJF. On the other hand, the non-preemptive SJF will allow the currently running process to finish its CPU burst before a new process is allocated to the CPU. Priority Scheduling (PrS): The PrS algorithm associates with each process a priority. The tasks are sorted according to their priorities and CPU is allocated to the process based on their priorities. Usually, lower numbers are used to represent higher priorities. The process with the highest priority is allocated first and those with the same priorities are scheduled by FCFS policy. The methods of determining priorities are done by some default mechanisms basing on time limits, memory requirements and other resource usages. The PrS algorithm runs high risks of starvation because of it favoring jobs on the basis of their priorities rather than their burst times. Round Robin (RR): The RR algorithm is designed especially for time-sharing systems. Here, a small unit of time (called time quantum or time slice) is defined, its range generally varying from 1- milliseconds. The RR algorithm allows the first process in the queue to run until it expires its quantum, then run the next process in the queue for the duration of the same time quantum. The RR keeps the ready processes in a FIFO queue. In a situation where the process need more than a time quantum, the process runs for the full length of the time quantum and then it is preempted and added to the tail of the queue again but with its CPU burst now a time quantum less than its previous CPU burst. This continues until the execution of the process is completed. The RR algorithm is naturally preemptive. PROPOSED ALGORITHM In our work, the Priority Scheduling algorithm is improvised by an judicious distribution of time quantum of processes, and making the priority dynamic repeatedly over the whole Round Robin cycle. Static time quantum being a limitation of RR algorithm, we have used the concept of dynamic time quantum. For efficient priority calculation and time quantum distribution we use the concept of weighted mean i.e. to calculate Ta w we use priority as the weight and for calculating Pr wm we use time quantum as the weight. Subsequently, we calculate TQ rms and Pr rms using the values found above and also calculate Pr avg and TQ avg. In every cycle, the algorithm groups burst times and priorities into two basing on whether burst time of processes is > or <= BT avg. If BT i <=BT avg then the process P i is allocated to the CPU with time quantum = TQ wm, otherwise P i is allocated to the CPU with time quantum= TQ wm + TQ rms. Similarly, the priorities are also changed. The processes are then updated with the remaining burst time and their new priorities at the completion of each round robin cycle. 1. Sort the n processes according to their priority. while (ready queue! =NULL) 2. Find the Weighted Mean (TQ wm ). TQ wm = Priority Weighted Mean Time Quantum of all the processes. 3. Find the Weighted Mean (Pr wm ). Pr wm = Burst time Weighted Mean priority of all the processes. 4. Calculate the TQ rms. TQ rms = Root Mean Square Time Quantum 5. Calculate Pr rms Pr rms = Root Mean Square Priority 6. Find BT avg and Pr avg. BT avg = Average of the burst time of the processes Pr avg = Average of the priorities of the processes 7. if(bt i BT avg ) Assign else P i TQ wm Assign P i TQ wm + TQ rms 8.while( a cycle of Round Robin is completed ) if ( Pr i Pr avg ) Pr i Pr rms + Pr i else Pr i Pr i - Pr rms end of while 9. Next, update the table for remaining processes by new priority and remaining burst time and then goto step 1. 1. End Fig.1: Pseudocode of Algorithm JGRCS 211, All Rights Reserved 2

H.S.Behera et al, Journal of Global Research in Computer Science, Volume 2 No 5 211 The following formulae are used in the pseudo-code of the algorithm. TQ wm = Pr wm = 5. A large number of processes is assumed in the ready queue for better efficiency. 6. The Context Switching Time is equal to zero i.e. there is no Context Switch Overhead incurred in transferring from one job to another Data Set and Framework TQ rms = Pr rms = BT avg = (BT of all processes)/ number of processes. Pr avg = (priorities of all processes)/ no. of processes Illustration Given the burst time sequence: 91, 67,32,28, 97 and the priorities as 6, 4, 3, 7,1 respectively for five processes. Initially the processes are sorted in ascending order of their priorities. Then we find the TQ wm and Pr wm and it is found to be 57 and 4 (rounded off to the nearest integer) respectively. Then we calculate TQ rms and Pr rms and we get 13 and 1(rounded off to the nearest integer) respectively. After that we calculate BT avg and Pr avg and we get 63 and 4(rounded off to the nearest integer) respectively. Now the main scheduling begins by assigning the time quantum dynamically to the processes. The process with burst time 97 will be executed first because of its higher priority, which is greater than BT avg so we assign 7 as the time quantum ( addition of 57 and 13). Then after it we go to next process with burst time 32 which is lower than the average so we assign 57 as the time quantum. Then we continue like this up to the completion of first cycle. In the next cycle we see that P5 and P1 left with 27 and 21 as the remaining burst time with priorities 1 and 6 respectively. Then we increase the priorities of these processes by applying certain steps, so from this example we see that priority of process P1 is less than Pr avg, so new priority for P1 is equal to 2 (addition of 1 and 1) and new priority for process P2 is 5 (subtraction of 6 and 1).Hence after this we apply the same steps(goto step 1) for scheduling of these two processes. PERFORMANCE EVALUATION Assumptions 1. There is a pool of processes in the ready queue contending for the allocation of CPU. 2. The processes are independent, running in a single processor environment and compete for resources. 3.All basic attributes like burst time, priorities number of processes of all the processes are known before submitting the processes to the processor. 4. All processes are CPU bound and none I/O bound. To demonstrate the applicability of and performance of the Weighted MeanPriority Scheduling () algorithm, it is compared with Priority Scheduling(PrS) algorithm and three case studies are taken, depending on the variance of time quantum and priorities. The input parameters consist of burst time, time quantum and the number of processes. The output parameters consist of average waiting time, average turnaround time, number of context switches and response time. Case Study 1: We Assume five processes with priorities6, 4, 3, 7, 1 respectively and with increasing burst time (P1= 91, P2 = 67, P3 = 32, P4 = 28, P5= 97) as shown in Table- 1(upper). The Table-1(lower) shows the output using PrS and algorithm.table-2, Table-3 and Table 4 shows the priority in each cycle for and Table-5 shows the comparison of response time among PrS and. Figure-2, Figure-3, Figure-4 shows Gantt chart for and Figure-5 shows Gantt chart for PrS respectively. P1 6 91 P2 4 67 P3 3 32 P4 7 28 P5 1 97 Algorithm Avg. TAT Avg.WT CS PrS 224.8 141.8 4 233.2 17.2 7 Table 1: Comparison between PrS algorithm and Algorithm( case 1 ). P5 1 97 P3 3 32 P2 4 67 P1 6 91 P4 7 28 Table 2: Priority table for after sorting priorities(case 1). 7 57 7 7 57 P5 P3 P2 P1 P4 7 12 169 239 267 Fig. 2: Gantt chart for in 1 st cycle(case1). JGRCS 211, All Rights Reserved 3

H.S.Behera et al, Journal of Global Research in Computer Science, Volume 2 No 5 211 P5 2 27 P1 5 21. Table 3: Priority table for in 2 nd cycle (case 1). 25 23 P5 P1 267 292 313 Fig. 3: Gantt chart for in 2 nd cycle(case1). P5 2 2 Table 4: Priority table for in 3 rd cycle (case 1). 2 P5 313 315 Fig. 4: Gantt chart for in 3rdcycle(case 1). Table 6: Comparison between PrS algorithm and Algorithm ( case 2). P5 1 21 P2 4 87 P1 5 52 P4 7 13 P3 8 72 Table 7: Priority table for after sorting priorities (case 2). 52 65 65 52 65 P5 P2 P1 P4 P3 21 86 138 151 216 Fig. 6: Gantt chart for in 1st cycle(case 2). P2 5 22 P3 7 7 P5 P3 P2 P1 P4 97 129 196 287 315 Fig. 5: Gantt chart for PrS(case 1). Response time through PrS through P1 196 169 P2 129 12 P3 97 7 P4 287 239 P5 Table 5: Comparison of Response times of each processes by using Prs and WMPrs (case1). Case Study 2:We Assume five processes with priorities 5, 4, 8, 7, 1 respectively and with increasing burst time (P1= 52, P2 = 87, P3 = 72, P4 = 13, P5= 21) as shown in Table- 6(upper). The Table-6(lower) shows the output using PrS and algorithm.table-7, Table-8 and Table 9 shows the priority in each cycle for and Table-1 shows the comparison of response time among PrS and. Figure-6, Figure-7, Figure-8 shows Gantt chart for and Figure-9 shows Gantt chart for PrS respectively. P1 5 52 P2 4 87 P3 8 72 P4 7 13 P5 1 21 Algorithm Avg. TAT Avg.WT CS PrS 141.4 92.4 4 159.2 11.2 7 Table8: Priority table for in 2nd cycle(case 2). 18 13 JGRCS 211, All Rights Reserved 4 P2 P3 216 234 241 Fig. 7: Gantt chart for in 2nd cycle(case 2). P2 5 4 Table 9: Priority table for in 3 rd cycle(case 2). 4 P2 241 245 Fig. 8: Gantt chart for in 3rd cycle(case 2). P5 P2 P1 P4 P3 21 18 16 173 245 Fig. 9: Gantt chart for PrS(case 2). through PrS P1 18 86 P2 21 21 P3 173 151 P4 16 138 P5 through Table 1: Comparison of Response times of each processes by using Prs and WMPrs (case2). Case Study 3:We Assume five processes with priorities 4, 8, 2, 5, 1 respectively and with increasing burst time (P1= 49, P2 = 6, P3 = 38, P4 = 54, P5= 63) as shown in

Avg.TAT Avg.TAT H.S.Behera et al, Journal of Global Research in Computer Science, Volume 2 No 5 211 TABLE-11(upper). The Table-11(lower) shows the output using PrS and algorithm.table-12 and Table-13 shows the priority in each cycle for and Table-14 shows the comparison of response time among PrS and. Figure-1 and Figure-11 shows Gantt chart for and Figure-12 shows Gantt chart for PrS respectively. P1 4 49 P2 8 6 P3 2 38 P4 5 54 P5 1 63 Algorithm Avg. TAT Avg.WT CS PrS 146.2 93.4 4 146.2 93.4 5 2 Different Burst Time PrS Fig 13: Comparison between PrS Algorithm and Algorithm by considering Average Turnaround Time for case 1, case 2 and case 3 respectively. Table 11: Comparison between PrS algorithm and Algorithm( case 3). P3 2 38 P1 4 49 P4 5 54 P2 8 6 P5 1 63 PrS Table 12: Priority table for after sorting priorities(case 3). 57 57 61 61 61 P3 P1 P4 P2 P5 38 87 141 21 262 Differrent Burst Time Fig 14: Comparison between PrS Algorithm and Algorithm by considering Average Waiting Time for case 1, case 2 and case 3 respectively. Fig. 1: Gantt chart for in 1st cycle(case 3). P5 1 2 Table 13: Priority table for in2nd cycle(case 3). 2 P1 262 264 Fig. 11: Gantt chart for in 2 nd cycle(case 3). P3 P1 P4 P2 P5 38 87 141 21 264 Fig. 12: Gantt chart for PrS(case 3). through PrS through Fig 15: Comparison between PrS Algorithm and Algorithm by considering context switches for case 1, case 2 and case 3 respectively. P1 38 38 P2 141 141 P3 P4 87 87 P5 21 21 Table 14: Comparison of Response times of each processes by using Prs and WMPrs (case3). JGRCS 211, All Rights Reserved 5

ResponseTime H.S.Behera et al, Journal of Global Research in Computer Science, Volume 2 No 5 211 3 3 2 p1 p2 p3 p4 p5 PrS Fig 16: Comparison of of PrS and in case 1. P1 P2 P3 P4 P5 PsR Fig 17: Comparison of of PrS and in case 2. Fig 18: Comparison of of PrS and in case 3. CONCLUSION Methodologies employed in a multitude of priority scheduling algorithms are based on an efficient distribution of priorities to reduce starvation of low priority processes and increase the fairness of the scheduling algorithms. This method, eventually results in the algorithm becoming more interactive. Likewise, this proposed algorithm proposes a method in which we take the weighted mean of the priorities and the burst times, so that we can get a closer relation between the burst times and priorities. The approaches significance is observed when two or more processes have a massive difference between their burst times but have modest difference in their priorities. In PrS, this might lead to starvation, but through a variant aging method checks this starvation to certain extent. Although the has higher avg. waiting time and turnaround time than the PrS, the response times for each process is noticeably lesser. The proposed algorithm performs efficiently, provided there are surplus processes in the ready queue and the processes have considerably larger difference in their burst times as compared to their difference in their priorities. REFERENCES [1] TarekHelmy, AbdelkaderDekdouk, "Burst Round Robin: As a Proportional-Share Scheduling Algorithm", IEEE Proceedings of the fourth IEEE-GCC Conference on towardstechno-industrial Innovations, pp. 424-428, 11-14 November,7 [2] Silberschatz, A., P.B. Galvin and G.Gagne, Operating Systems Concepts.7th Edn., John Wiley and Sons, USAISBN:13:978-471694663, pp: 944, [3] Stallings,W.:Operating Systems Internals and Design Principles; 5 th edn. Prentice Hall, Englewood Cliffs(4) [4] Rami Abielmona, Scheduling Algorithmic Research, Department of Electrical and Computer Engineering Ottawa-Carleton Institute,. [5] 4Rami J. Matarneh, Self-Adjustment Time Quantum in Round Robin Algorithm Depending on Burst Time of the now Running, Department of Management Information Systems, American Journal of Applied Sciences 6 (1):1831-1837, 9, ISSN 1546-9239.. [6] Joseph, Mathai. Fixed Priority Scheduling A Simple Model: Real-time Systems Specification, verification and Analysis, Prentice-Hall International, London, (1). [7]Ramamrithan, Krithi, Dynamic Priority Scheduling A Simple Mode: Real-time Systems Specification, verification and Analysis, Prentice-Hall International. London, (1). JGRCS 211, All Rights Reserved 6

H.S.Behera et al, Journal of Global Research in Computer Science, Volume 2 No 5 211 JGRCS 211, All Rights Reserved 7