(multi-level feedback queues), , . () . , , .. , , FCFS.
. 11.12 8 ( Q0) 16 ( Q1) FCFS ( Q2). Q0; 8 , Q1; 16 Q2.
. 11.12. .
, . ( ) . , .
, hard real-time soft real-time. () (response time), . : , , , . . 11.13 . , , , ( ) .
. 11.13. .
Solaris
. 11.14 Solaris. , : , , . . .
. 11.14. Solaris.
Windows 2000
|
|
1 Windows 2000. , . , , .
1. | ||||||
(aging) .
(turnaround time) , - .
(waiting time) , , .
(response time) , () .
(starvation) - , .
(Gantt chart) " ", , .
() .
(non-preemptive) , .
(preemptive) , .
(CPU utilization) .
, (, ).
(scheduler) , , , .
(throughput) () , .
() (dispatch latency) , , .
First-Come-First-Served ( ) , , .
Round Robin (RR, ) , .
|
|
Shortest Job First (SJF, ) , .
Shortest-Remaining-Time-First (SRTF, ) - , .
CPU / I-O -.
1. ?
2. ?
3. CPU I/O?
4. ?
5. ?
6. , , ?
7. ?
8. ?
9. ?
10. ?
11. ?
12. () ?
13. ?
14. ?
15. ?
16. ?
17. ?
18. FCFS ?
19. SJF ( SRTF) ?
20. ?
21. ?
22. ?
23. RR, , SJF?
24. ?
25. ?
26. ?
27. ?
28. ?
1. - ( - ) .
2. , .
3. FCFS .
4. SJF .
5. RR .
6. .
7. .
8. .