0% found this document useful (0 votes)
9 views12 pages

Unit 5

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views12 pages

Unit 5

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Unit 5 Operating Systems and the

user’s view
Evolution of operating systems
Simple Monitor
 Batched processing : requires human
intervention
: long time lag between
input and output
: start over again when
error encountered
Multiprogramming
In order to have fully utilization of the CPU, the
idea of multiprogramming was introduced.
Whenever a process need to wait for the
completion of I/O accesses, it is switched to
another process so that it could do something
more productive, rather than simply waiting.
So, codes more than 1 process are resided in
memory.
Time-sharing
Even with multi-programming, processes
are still in batched mode operation.
Introduction of the idea of time-sharing can
make all active process works as if they are
the only process occupying the CPU.
Hence, more interactive.
Time sharing
CPU time is cut into small chunks, called time
slices (or quantums).
Time slices are assigned to all active processes,
one by one, according to a certain policy (round
robin, for example)
When a process’s asssigned quantum expired (or if
this process needs to wait for I/O completion),
CPU is switched to another waiting process.
This handling is often called multi-tasking.
Multiprocessors systems
A system with more than 1 CPU. In this
way, jobs can be assigned to different CPU
and hence computing power is enhanced.
CPUs in this type of system always share
the same bus and same set of memory. This
is also called “Tightly coupled systems”.
Distributed systems
When jobs are shared by different
machines, which are connected through
some external communication lines, this is
called distributed system, or “Loosely
coupled systems”.
Not only computing power is enhanced, but
also the reliability of the system is enhanced
as well.
Major functions of an operating system

Process Management
CPU scheduling (long/short term),
process synchronization
Memory Management
Device Management
File Management
Operating system structures
Simple / monolithic system
MSDOS
Vulnerable to crashes by errant programs
Operating system structures
Kernel approach-OS is separated into :

Kernel : consists of most


fundamental
system services
and device drivers
System programs :
consists of system
libraries, command
interpreters, compilers.
Operating system structures
Layered structure
• Each layer(except the
bottom one) is constructed
on top of another.
• The details of a particular
layer are hidden from other
layers.
• Easy to implement, easy to
maintain, but overhead is
high
too.
Operating system structures
Microkernel
• Most recent approach in developing OS is to reduce the size of Kernel to a
minimal.
• Only a small number of services is provided:
inter-process communication mechanism
basic memory management
low-level process management and scheduling
low-level I/O
Other services are implemented as user-level server processes.

You might also like