50 likes | 212 Views
Scenario #1. Ready Queue. C 2ms. B 1ms. A 100ms. FCFS. Avg : 101.3. A. B. C. time. 100. 101. 103. Round Robin. Avg : 36.7. A. B. C. A. C. A. time. 2. 5. 103. Scenario #2. Ready Queue. C 10ms. B 10ms. A 10ms. FCFS. Avg : 20. A. B. C. time. 10. 20. 30.
E N D
Scenario #1 Ready Queue C2ms B1ms A100ms FCFS Avg:101.3 A B C time 100 101 103 Round Robin Avg:36.7 A B C A C A time 2 5 103 CS 140 Lecture Notes: CPU Scheduling
Scenario #2 Ready Queue C10ms B10ms A10ms FCFS Avg:20 A B C time 10 20 30 Round Robin ... Avg:29 A B C A B C A B C A B C time 28 29 30 CS 140 Lecture Notes: CPU Scheduling
Scenario #1 Ready Queue C2ms B1ms A100ms FCFS Avg:101.3 A B C time 100 101 103 Round Robin Avg:36.7 A B C A C A time 2 5 103 STCF Avg:35.7 B C A 1 3 103 CS 140 Lecture Notes: CPU Scheduling
Scenario #2 Ready Queue C10ms B10ms A10ms FCFS Avg:20 A B C time 10 20 30 Round Robin ... Avg:29 A B C A B C A B C A B C time 28 29 30 STCF Avg:20 A B C time 10 20 30 CS 140 Lecture Notes: CPU Scheduling