Infotech
Infotech
Operating System Concepts – 8th Edition, Silberschatz, Galvin and Gagne ©2009
Operating System?
Introduction to Operating System : Operating System Meaning, Supervisor & User
Mode, review of computer organization, introduction to popular operating systems
like UNIX, Windows, etc., OS structure, system calls, functions of OS, evolution
of OSs
Process Management : PCB, Operations on Processes, Co-operating and Independent
Processes,Inter-Process Communication, Process states, Operations on processes,
Process management in UNIX, Process concept, Life cycle, Process and threads
Operating System?
It is a layer of system software that:
directly has privileged access to underlined
hardware
hides hardware complexity
manages hardware on behalf of one or more
applications.
What is an Operating System?
What is an Operating system?
A
program that acts as an intermediate/ interface between a user of
a computer and the computer hardware.
Resource allocator (Managing the resources efficiently)
Control Program
Integrated
Third 1965-80 Multiprogramming
Circuits(IC)
Large Scale
Fourth Since 1980 PC
Integration
Storage Structure and Hierarchy
Computer System Structure
*[https://www.tutorialspoint.com/operating_system/os_types.htm]
TYPES OF OS: Batch Systems
Disadvantages:
No interaction between user and computer.
No mechanism to prioritize the processes
Batch Processing: The Batch Processing is same as the Serial
Processing Technique. But in the Batch Processing Similar Types of
jobs are Firstly Prepared and they are Stored on the Card. and that
card will be Submit to the System for the Processing. The System then
Perform all the Operations on the Instructions one by one. And a user
can’t be Able to specify any input. And OS wills increments his
Program Counter for Executing the Next Instruction.
The Main Problem is that the Jobs those are prepared for
Execution must be the Same Type and if a job requires for any type
of Input then this will not be Possible for the user. And Many Time
will be wasted for Preparing the Batch. The Batch Contains the Jobs
and all those jobs will be executed without the user Intervention. And
Operating System will use the LOAD and RUN Operation. This
will first LOAD the Job from the Card and after that he will
execute the instructions. By using the RUN Command.
TYPES OF OS: Batch Systems
The common input devices were card readers and tape drives.
The common output devices were line printers, tape drives, and
card punches.
https://www.youtube.com/watch?v=sq2SE_GbZ34
Multiprogrammed OS
Multiprogramming: When 2 or more processes reside in
memory at the same time
Single user processes cannot keep CPU and I/O devices busy
at all times
Multiprogramming organizes jobs (code and data) so CPU
always has one to execute
Multiprogramming assumes a single shared processor. One
job selected and run via job scheduling
Multiprogramming increases CPU utilization.
It is mixture of I/O bound and CPU bound processes
Multiprogrammed OS
In this the operating system picks up and begins to execute
one of the jobs from memory.
Jobs in the memory are always less than the number of jobs
on disk(Job Pool).
Multiprogrammed OS
If several jobs are ready to run at the same time, then the
system chooses which one to run through the process of
CPU Scheduling.
Time Driven
Task specific