Scheduling: metrics / FCFS+RR / SJF+SRTF
1
Scheduling: metrics / FCFS+RR / SJF+SRTF 1 last time fjnish pipe / - - PowerPoint PPT Presentation
Scheduling: metrics / FCFS+RR / SJF+SRTF 1 last time fjnish pipe / read / write read: wait till something available, then copy whats available multithreaded process xv6: only single-threaded processes thread: registers, program counter,
1
2
3
4
5
6
7
from G. E. Bryan, “JOSS: 20,000 hours at a console—a statistical approach” in Proc. AFIPS 1967 FJCC
8
from Curran and Stumm, “A Comparison of basic CPU Scheduling Algoirithms for Multiprocessor Unix”
9
10
11
12
13
Arpaci-Dusseau’s “response time”
14
Arpaci-Dusseau’s “response time”
14
Arpaci-Dusseau’s “response time”
14
Arpaci-Dusseau’s “response time”
14
15
16
17
17
18
19
20
21
10 20 30
10 20 30
22
10 20 30
10 20 30
22
10 20 30
10 20 30
22
10 20 30
10 20 30
22
10 20 30
10 20 30
22
10 20 30
10 20 30
22
10 20 30
10 20 30
23
24
25
ABCABCABCAB A 10 20 30
BCABCABCAB A 10 20 30
26
ABCABCABCAB A 10 20 30
BCABCABCAB A 10 20 30
26
ABCABCABCAB A 10 20 30
A B C A B C A 10 20 30
27
ABCABCABCAB A 10 20 30
A B C A B C A 10 20 30
27
28
29
29
30
31
32
33
34
35
36
10 20 30
10 20 30
10 20 30
37
38
39
40
41
42
43
44
45
46
C P U
47
C P U
47
C P U
47
48
49
C P U
50
C P U
50
C P U
50
51
52
52
C P U
53
C P U
53
C P U
53
C P U
53
54
55
56