1
1
Operating System Overview
Chapter 2
2
Operating System
- A program that controls the execution of
application programs
- An interface between applications and
Operating System Overview Chapter 2 1 Operating System A program - - PDF document
Operating System Overview Chapter 2 1 Operating System A program that controls the execution of application programs An interface between applications and hardware 2 1 Operating System Objectives Convenience Makes the
1
2
3
4
5
6
7
8
9
Memory, Devices, Processor(s) Kernel
10
11
12
13
14
15
16
17
18
19
20
21
22
20% 40% 33% 67% Elapsed Time: 30 minutes Throughput: 6 jobs/hr Mean Response Time: 18 min Elapsed Time: 15 minutes Throughput: 12 jobs/hr Mean Response Time: 10 min 33% 67%
23
24
Job Execution Sequence: Job 1 Job 2 Job 3 Job 1 Job 4 Job 2
25
26
27
28
29
30
31
32
33
34
(0-relative)
35
36
37
38
Controller 1 Controller 2 Controller 3 Controller 4
I/O Devices
“ready” processes arrived jobs
39
40
41
42
43
44
45
46
– Dispatchable unit of work – executes sequentially and is interruptable
47
48
Interleaving: Multiprogramming, Uniprocessor Interleaving and Overlapping: Multiprogramming, 2 processors
Interleaved O v e r l a p p e d
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65