Question

In: Computer Science

For Multiple-Level Queues Scheduling, What is the arrival time, completion time, burst time, turnaround time, and...

For Multiple-Level Queues Scheduling,

  • What is the arrival time, completion time, burst time, turnaround time, and the waiting time?
  • discuss these terms further as they pertain to the efficiency of the algorithm as well as properties such as starvation.
  • Pros and Cons of Multiple-Level Queues Scheduling

Solutions

Expert Solution

Arrival time (AT) - Whenever a process gets into the ready queue, then that is called arrival time. That is the time at which it is ready to get executed.

Completion time (CT) - The time at which the process finishes the execution of a process.

Burst time (BT) - The amount of time that is required by the CPU to finish the process.

Turn around time (TAT) - The total time passed by from the time the process is submitted to the time the process is completed in the system, i.e. TAT=CT(Completion time)-AT(Arrival time).

Waiting time (WT) - The amount of the total time spent by a process waiting in the ready queue to get into the CPU, i.e. WT= TAT(Turn around time) - BT(Burst time).

For example-

These are the basic terms which are used in different types of algorithm, such as FCFS, SJF, SRTF, Round Robin and many more. According to the algorithm, the efficiency differs. If we compare all the types of algorithm then we will see that Round Robin algorithm has the maximum efficiency and suffers from least starvation as every processes gets equal amount of time to get executed.

Multiple-level queue scheduling or multiprocessor feedback queue scheduling is that the processes can move between the queues now. In this type of scheduling, the ready queue is divided into a number of multiple queues of different priorities. The jobs are assigned to the queues by the system based on their CPU-burst characteristics, which means, if a process consumes more CPU time it will brought to a lower priority queue. I/O bound jobs stay in the higher priority queues and CPU bound jobs move to lower priority queues. However, these lower priority processes will be promoted to higher priority queues after a certain time interval. This technique is also known as aging.

The pros is that it has low scheduling overhead and cons is that it is not flexible.


Related Solutions

For Priority Scheduling, What is the arrival time, completion time, burst time, turnaround time, and the...
For Priority Scheduling, What is the arrival time, completion time, burst time, turnaround time, and the waiting time? discuss these terms further as they pertain to the efficiency of the algorithm as well as properties such as starvation. Pros and Cons of Priority Scheduling
For Round Robin (RR) Scheduling, What is the arrival time, completion time, burst time, turnaround time,...
For Round Robin (RR) Scheduling, What is the arrival time, completion time, burst time, turnaround time, and the waiting time? discuss these terms further as they pertain to the efficiency of the algorithm as well as properties such as starvation. Pros and Cons of RR
For Shortest-Job-Next (SJN) Scheduling, -What is the arrival time, completion time, burst time, turnaround time, and...
For Shortest-Job-Next (SJN) Scheduling, -What is the arrival time, completion time, burst time, turnaround time, and the waiting time? -discuss these terms further as they pertain to the efficiency of the algorithm as well as properties such as starvation. -Pros and Cons of SJN
What is the arrival time, completion time, burst time, turnaround time, and the waiting time of...
What is the arrival time, completion time, burst time, turnaround time, and the waiting time of First Come First Serve (FCFS)?
What is the arrival time, completion time, burst time, turnaround time, and the waiting time for...
What is the arrival time, completion time, burst time, turnaround time, and the waiting time for Shortest Remaining Time?
What is the arrival time, completion time, burst time, turnaround time, and the waiting time for...
What is the arrival time, completion time, burst time, turnaround time, and the waiting time for Priority Scheduling?
For Shortest Remaining Time, What is the arrival time, completion time, burst time, turnaround time, and...
For Shortest Remaining Time, What is the arrival time, completion time, burst time, turnaround time, and the waiting time? discuss these terms further as they pertain to the efficiency of the algorithm as well as properties such as starvation. Pros and Cons of Shortest Remaining Time
For First Come First Served (FCFS), -What is the arrival time, completion time, burst time, turnaround...
For First Come First Served (FCFS), -What is the arrival time, completion time, burst time, turnaround time, and the waiting time? -discuss these terms further as they pertain to the efficiency of the algorithm as well as properties such as starvation. -Pros and Cons of FCFS
What is the waiting time and Turnaround time of each process for each of the scheduling...
What is the waiting time and Turnaround time of each process for each of the scheduling algorithms? [12 Marks] Job Arrival Time Burst(msec) Priority A 0 6 3 (Silver) B 1 2 1 (Diamond) C 3 5 3 (Silver) D 5 3 4 (Bronze) E 7 2 2 (Gold) (a) First-Come-First-Served (FCFS) scheduling [2 Marks] (b) Preemptive PRIORITY scheduling [2 Marks] (c) Highest Response Ratio Next (HRRN) scheduling [2 Marks] (d) Round Robin (RR) (quantum = 4) scheduling [2 Marks]...
What is the waiting time and Turnaround time of each process for each of the scheduling...
What is the waiting time and Turnaround time of each process for each of the scheduling algorithms? [12 Marks] Job Arrival Time Burst(msec) Priority A 0 6 3 (Silver) B 1 2 1 (Diamond) C 3 5 3 (Silver) D 5 3 4 (Bronze) E 7 2 2 (Gold) (a) First-Come-First-Served (FCFS) scheduling [2 Marks] (b) Preemptive PRIORITY scheduling [2 Marks] (c) Highest Response Ratio Next (HRRN) scheduling [2 Marks] (d) Round Robin (RR) (quantum = 4) scheduling [2 Marks]...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT