AN To Operating Systems: Dr. Subhi A.Rahim Bahudaila
AN To Operating Systems: Dr. Subhi A.Rahim Bahudaila
INTRODUCTION
TO OPERATING
SYSTEMS
Lecture 1
Dr. Subhi A.Rahim
Bahudaila OS
Operating System Objectives
2 Lecture 1
CONVENIENCE:
An operating system makes a computer more convenient to
use.
EFFICIENCY:
It allows the computer system resources to be used in an
efficient manner.
PROGRAM CREATION:
Operating system provides a number of facilities & services to
assist the programmer during development of a program like
“editor & debugger”. These programs normally exist in the form
of a utility program. Such programs are not part of the o/s rather
they are accessible through the o/s.
PROGRAM EXECUTION:
When a program is to be executed, a number of tasks like
instructions & data loading into memory, I/O operation & file
initialization are to be executed. The o/s performs all these jobs
for the user.
OS Functions
5 Lecture 1
ACCESS TO I/O DEVICES: Each I/O devices requires its own set of
instructions or control signals for operations. The o/s takes care of all
these requirements and the user only thinks in terms of reading/writing, all
those details are hidden from the user.
CONTROLLED ACCESS TO FILES: In the case of files, control must
include to understand the nature of the I/O devices like FD, HD & CD and
also the format on the storage medium. Again o/s provides all such
controls but these are transparent to the user. Furthermore in a multi-user
system o/s provides a protection mechanisms to access any file.
OS Functions
6 Lecture 1
1. Micro-kernel structure
2. Multi-threading:
• In this case a process is created out of an existing process called thread and
both can run simutaneously.
• Thread is a dispatchable unit of work, it execute sequentially and
interruptable.
• Process could be collection of threads.
3. Symmetric Multi-processing:
• More then one processor may be present in the system.
• This means incremental growth is possible by adding more processors.
• It improves performance.
• It brings fault tolerence to the system.
• Scaling: vendors can provide different degrees of selection based on the
number of processors capability present in the system.
4. Distributed operating system
• This type of setup gives the illusion of a single memory space, clusters are
becoming increasingly popular.
• But still cannot match uni-processor and SMP operating systems.
Modern Unix Systems
21 Lecture 1
Typical of the
modern UNIX kernel
is the architecture
depicted in the
Figure. There is a
small core of
facilities, that
provide functions
and services needed
by a number of OS
processes. Each of
the outer circles
represents functions
and an interface that
may be implemented
in a variety of ways
Examples of modern UNIX systems
22 Lecture 1