Consider the following set of processes, with the length of the CPU burst time given in milliseconds: Process Arrival Time CPU Burst Time/ Service Time/ Priority P1 Processing Time 3 2 22 P2 1 5 3 P3 2 2

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter12: Secondary Storage Management
Section: Chapter Questions
Problem 12VE
icon
Related questions
Question
Solve A and B along with filling out the tables
Consider the following set of processes, with the length of the
CPU burst time given in milliseconds:
Process Arrival Time
CPU Burst Time/
Service Time/
Processing Time
3
Priority
P1
0
2
P2
1
5
3
P3
2
2
1
P4
3
3
3
P5
4
4
4
a) Draw the Gantt charts illustrating the execution of these
processes using:
1. FCFS
2. SJF (SPN)
3. SRT
4. HRRN
s a nonpreemptive priority (a smaller priority number
implies a higher priority)
6 RR (q=1)
7. RR (q=3)
& Combining RR (q-2) and priority scheduling
9. Feedback (q-1)
10. Feedback (q-2)
b) Fill out the following table for each of the scheduling
algorithms in part a.
Process
Arrival Starting Completion Response Waiting Turnaround
Time Time
Time
Time Time
P1 0
Time
P2
1
P3
2
P4
3
P5
4
Average
Transcribed Image Text:Consider the following set of processes, with the length of the CPU burst time given in milliseconds: Process Arrival Time CPU Burst Time/ Service Time/ Processing Time 3 Priority P1 0 2 P2 1 5 3 P3 2 2 1 P4 3 3 3 P5 4 4 4 a) Draw the Gantt charts illustrating the execution of these processes using: 1. FCFS 2. SJF (SPN) 3. SRT 4. HRRN s a nonpreemptive priority (a smaller priority number implies a higher priority) 6 RR (q=1) 7. RR (q=3) & Combining RR (q-2) and priority scheduling 9. Feedback (q-1) 10. Feedback (q-2) b) Fill out the following table for each of the scheduling algorithms in part a. Process Arrival Starting Completion Response Waiting Turnaround Time Time Time Time Time P1 0 Time P2 1 P3 2 P4 3 P5 4 Average
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 7 steps with 5 images

Blurred answer
Knowledge Booster
Embedded software development
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning