Operating System
Operating System
Systems
Prepared by : Sir Dave
Objectives:
After studying this lesson, the student should be able to:
• Understand the role of operating system.
• Understand the process of bootstrapping to load the operating
system into memory.
• List the components of an operating system.
• Discuss the role of the memory manager.
• Discuss the role of the process memory.
• Discuss the role of device manager.
• Discuss the role of file manager in an operating system.
• Understand the main features of three common operating systems:
UNIX, Linux, Windows NT.
Overview:
A computer is a system composed of two major components: hardware
and software.
Batch Systems
Batch operating systems were designed in the 1950s to control
mainframe computers. At that time, computers were large machines
that used punched cards for input, line printers for output and tape
drives for secondary storage media. Each program to be executed was
called a job. A programmer who wished to execute a job sends a
request to the operating system.
Time-sharing
systems
To use computer system resources efficiently, multiprogramming was
introduced. The idea is to hold several jobs in memory at a time, and
only assign a resource to a job that needs it on the condition that the
resource is available.
Parallel systems
The need for more speed and efficiency led to the design of
parallel systems: multiple CPUs on the same machine. Each CPU can
be used to serve one program or a part of a program, which means that
many tasks can be accomplished in parallel instead of serially. The
operating systems required for this are more complex than those that
support single CPUs.
Distributed systems
Networking and internetworking, as we saw in Chapter 6, have
created a new dimension in operating systems. A job that was
previously done on one computer can now be shared between
computers that may be thousands of miles apart. Distributed systems
combine features of the previous generation with new duties such as
controlling security.
Real-time systems
A real-time system is expected to do a task within a specific
time constraint. They are used with real-time applications, which
monitor, respond to or control external processes or environments.
COMPONENTS
Schedulers
Our state diagram shows one job or process moving from one state to
another. In reality, there are many jobs and many processes competing
with each other for computer resources. To handle multiple processes
and jobs, the process manager uses queues (waiting lists). A job control
block or process control block is associated with each job or process.
This is a block of memory that stores information about that job or
process. The process manager stores the job or process control block
in the queues instead of the job or process itself.
Process manager
Process synchronization