Presentation ON Operating System
Presentation ON Operating System
Components
An operating system performs large number of functions. Each function is carried out by a component of the operating system called its subsystems. The typical components of an operating system are :
1. Process management sub-system 2. Memory management sub-system 3. File management sub-system 4. I/O system management sub-system 5. Secondary storage management sub-system 6. Network management sub sys-system
Root
Pagedaemon
Swapper
Init
User 1
User 2
User 3
Proc 1
Proc 2
Proc 3
Process states
The current activity of a process is known as its state. As a process executes, its state changes. A process can exist in one of the following states: New The process is being created. Running Instructions are being executed. Waiting The process is waiting for some event to occur Ready The process has acquired the required resources and is waiting to be assigned to a processor. Terminated The process has finished execution.
Process :
Burst time:
P1 P2 P3 P4
6 8 7 3
P1
P2
P3
P4
14
21
24
Turn around time for process P1=6 Turn around time for process P2=6+8=14
Wait time for process P1=0 Wait time for process P2=0+6=6 Wait time for process P3=6+8=14 Wait time for process P4=14+7=21 Average wait time =0+6+14+21=41/4 10.25 milliseconds.
P1 6
P2 8
P3 7 P3
P4 3 P2
16
24
Turn around time for process P1=3+6=9 Turn around time for process P2=16+8=24 Turn around time for process P3=9+7=16 Turn around time for process P4=3 Average turnaround time 3+16+24+9=52/4 13 milliseconds
Wait time for process P1=0+3=3 Wait time for process P2=9+7=16 Wait time for process P3=3+6=9 Wait time for process P4=0 Average wait time = 0+9+16+3=28 7 milliseconds
THANK YOU