PPT OS_2_Process Management_Scheduling
PPT OS_2_Process Management_Scheduling
Introduction of OS
Services provided by an OS
Structure of an OS (Kernel & Shell)
Types of Kernel
User
Card Processo
Program r
Reader
Punch Cards OS
Memory
Multiprogramming OS Start
Load Complete
waiting Execution
I/O
Higher Throughput
Better utilization of RAM
Multitasking / Time Sharing OS Start
Load Complete
Waiting Execution
Timer Expire
I/O Request
I/O Complete
I/O
Higher Throughput
Better Utilization of RAM
Higher Interaction
Real Time Systems
Real time system means that the system is subjected to real time, i.e., response should be guaranteed within a
specified time constraint or system should meet the specified deadline. For example: flight control system,
Robotic surgery, etc.
Asymmetric Multiprocessors
In asymmetric systems, each processor is given a predefined task. There is a master processor that
executes OS and gives instruction to all the other processors. Asymmetric multiprocessor system
contains a master slave relationship. For example, IBM System/360
Parallel processing OS
It breaks the task or a process into sub-tasks and distribute these sub-tasks among all the available
processors present in the system. Thereby, executing the task in the shortest time. All the processors in the
system share the common secondary storage like the hard disk.
Distributed Operating System
Supports distributed system which is a model where computer application are running on a set of
computers that are interconnected by network. These are loosely coupled system which means they have
no hardware connection at CPU level. Distributed OS communicate with each other with LAN or WAN
technology and also allows for various resource sharing.
Operating System
Types of OS
Booting of Operating System
Booting is a startup sequence that starts the operating system of a computer when it is turned on.
Shell---Kernel---MBR
Linux Booting Process
Stage I II
GRand Unified Bootloader
Run levels
0 Shutdown
1 Single User Mode
2 Multiuser Mode (Limited) Shell / GUI
3 Multiuser Mode (Full/CUI)
4 Not Used
5 Multiuser Mode (Full/GUI)
6 Restart
Linux Commands
1. Internal Commands
2. External Commands
User
Programs
CPU
Disk
Shell
Kernel
Operating System
Unit 2
[Process Management]
There are two main objectives of the process scheduling and they are:
1. To keep the CPU busy at all times and
2. To deliver "acceptable" response times for all programs, particularly for interactive ones.
P1 0 24 0
P2 0 3 0
P3 0 3 0
P1 0 5
P2 2 4
P3 3 3