Operating System Concepts Chapter 1: Introduction
Operating System Concepts Chapter 1: Introduction
Chapter 1: Introduction
Page 1
Types of Systems:
i) Batch Systems
ii) Mainframe System
iii) Multiprogramming System
iv) Time Sharing System
v) Interactive System
vi) Desktop Systems
vii) Parallel Systems
viii) Clustered System
ix) Real time Systems
x) Distributed Systems
xi) Networking System
xii) PDA
Page 2
i) Batch Systems:
Early computers are large machines which are run from console . In those days
the common input devices are card readers, tape drives and output devices are card punches,
line printers and tape drives. The programmers prepares a job which consists of a program,
data , some conclude information about the program and submitted to the computer operator.
The operator executes the program when the computer is idle and the computer gives results
after some time i.e., some days, some weeks,…etc.,
The operating system in those days is very simple. The major task is to transfer
the control from one job to another job and the operating system is always resident in the
memory .
To increase the speed, the operator batched together the jobs with similar needs
and the computer run then as a batch and produces result as a batch. The operator will give
appropriate result to the programmer.
In this environment, CPU is idle because the speed of I/O devices are very slow
when compared to CPU. When disk technology is introduced, all the jobs are kept on the
disk, instead of card readers. With direct access to several jobs, the operating system could
perform job scheduling, to use resources and perform tasks efficiently.
ii) Mainframe Systems:
Reduce setup time by batching similar jobs
Automatic job sequencing – automatically transfers control from one job to
another. First rudimentary (yet to develop) operating system.
Page 3
Resident monitor
initial control in monitor
control transfers to job
when job completes control transfers pack to monitor
Initially all the jobs are kept in job pool, a storage area in the disk. Some jobs
from job pool are placed in memory. This requires some type of job scheduling. When
operating system selects one job from the memory and begins to execute, this job may require
some input from I/O device to complete. In the non-multiprogramming system, CPU will sit
idle during this time. But in multiprogramming system, CPU will not sit idle, instead of, it
switches to another job. When that jobs needs to wait, CPU switches to another job and soon.
When the first finishes its I/O operation, CPU will go back to execute another job and the
process continues and CPU will never sit idle.
Page 4
can execute multiple jobs by switching among them, but here switching occurs so frequently
that users can interact with each program while it is running.
In the timesharing operating system multiple users share the computer
simultaneously and each action or command is very short, only a little CPU is time is needed
for each user. So, CPU switches from one user to another user frequently and each user that
CPU is going to serve for him only.
v) Interactive System:
An Interactive or Handsome System provides direct communication between user and
system i.e., the instructions given by the user are not send directly to the operating system or
the program and the user waits for immediate results. Here the response time is very less
( below 1 sec.).
These systems can be called as Personal computers. This computer system dedicated
to a single user. The systems consists
Page 5
b) Economy of scale: Multiprocessor systems save money while compare to the
multiple single processor systems because sharing peripheral devices, memory,
secondary storage, common bus etc.,
c) Increased reliability: If we have ten processors and one fails, then each of the
remaining nine processors must pick up the share of a job and complete it. So the
system works with less speed.
There are two types of multiprocessor systems. They are symmetric and asymmetric. a)
Symmetric Multiprocessor System: In this, each processor runs an identical copy of
operating system and the processors communicate each other when they needed.
b) Asymmetric Multiprocessor System: In this, each processor has assigned a specific task
and one processor controls all the remaining.
CPU
Memory
Page 6
Clustering allows two or more systems to share storage.
Provides high reliability.
Asymmetric clustering: one server runs the application while other servers
standby.
Symmetric clustering: all N hosts are running the application.
ix) Real time Systems:
Real time systems are used when there is fixed time constraints on the processor
operation on data. These systems are used in scientific applications i.e., engineering,
medicine etc., Here sensors bring the data to the computer. The computer analyzes the data
and applying some process on it. So that they control the application. There are two types of
real time systems. They are hard and soft real time systems.
Hard Real time System: In this system, we have well defined fixed time constraints and
processing must be done in these constraints.
Soft Real time System: In this system, we less strength and time constraints. Here we don’t
have any deadlines.
x) Distributed Systems:
In distributed operating system, different operating systems communicate closely to
provide an illusion that there is only one operating system controls all the operating systems.
Page 7
xii) PDA (Personal Digital Assistants):
These systems can be called as Hand Held Systems.
Cellular telephones
Issues:
Limited memory
Slow processors
Small display screens.
Migration of Operating-System Concepts and Features
Page 8