Scenario #1
CS 140 Lecture Notes: Protection Slide 1
B C A
time 100 101 103 FCFS Avg: 101.3 A 100ms B 1ms C 2ms
Ready Queue A
time 2 5 103 Round Robin Avg: 36.7
Scenario #1 Ready Queue C B A 2ms 1ms 100ms FCFS Avg: A B - - PowerPoint PPT Presentation
Scenario #1 Ready Queue C B A 2ms 1ms 100ms FCFS Avg: A B C 101.3 time 100 101 103 Round Robin Avg: A B C A C A 36.7 time 2 5 103 CS 140 Lecture Notes: Protection Slide 1 Scenario #2 Ready Queue C B A 10ms 10ms
CS 140 Lecture Notes: Protection Slide 1
time 100 101 103 FCFS Avg: 101.3 A 100ms B 1ms C 2ms
time 2 5 103 Round Robin Avg: 36.7
CS 140 Lecture Notes: Protection Slide 2
time 10 20 30 FCFS Avg: 20 A 10ms B 10ms C 10ms
time 28 29 30 Round Robin Avg: 29
Slide 3
time 100 101 103 FCFS Avg: 101.3 A 100ms B 1ms C 2ms
time 2 5 103 Round Robin Avg: 36.7
1 3 103 SRPT Avg: 35.7
Slide 4
A 10ms B 10ms C 10ms
time SRPT Avg: 20
time 10 20 30 FCFS Avg: 20
time 28 29 30 Round Robin Avg: 29
10 20 30