Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS 140 Lecture Notes: Protection

Similar presentations


Presentation on theme: "CS 140 Lecture Notes: Protection"— Presentation transcript:

1 CS 140 Lecture Notes: Protection
Scenario #1 Ready Queue C 2ms B 1ms A 100ms FCFS A B C Avg: 101.3 time 100 101 103 Round Robin A B C A C A Avg: 36.7 time 2 5 103 CS 140 Lecture Notes: Protection

2 CS 140 Lecture Notes: Protection
Scenario #2 Ready Queue C 10ms B 10ms A 10ms FCFS A B C Avg: 20 time 10 20 30 Round Robin ... A B C A B C A B C A B C Avg: 29 time 28 29 30 CS 140 Lecture Notes: Protection

3 Scenario #1 Ready Queue A B C A B C A C A B C A C 2ms B 1ms A 100ms
FCFS A B C Avg: 101.3 time 100 101 103 Round Robin A B C A C A Avg: 36.7 time 2 5 103 SRPT B C A Avg: 35.7 1 3 103

4 ... Scenario #2 Ready Queue A B C A B C A B C A B C A B C A B C C 10ms
B 10ms A 10ms FCFS A B C Avg: 20 time 10 20 30 Round Robin ... A B C A B C A B C A B C Avg: 29 time 28 29 30 SRPT A B C Avg: 20 time 10 20 30


Download ppt "CS 140 Lecture Notes: Protection"

Similar presentations


Ads by Google