Module 1: Introduction To Operating System: Need For An OS
Module 1: Introduction To Operating System: Need For An OS
The output usually provided by a video monitor or a printer as some times the user may
wish to generate an output in the form of a printed document. Output may be available
in some other forms. For example it may be a video or an audio file.
Let us consider few applications.
• Document Design
• Accounting
• E-mail
• Image processing
The OS offers generic services to support all the above operations. These operations in
turn facilitate the applications mentioned earlier. To that extent an OS operation is
application neutral and service specific.
OPERATING SYSTEM
COMPUTER HARDWARE
Also, OS needs to ensure that system resources are utilized efficiently. For instance,
there may be many service requests on a Web server. Each user request need to be
serviced. Similarly, there may be many programs residing in the main memory. The
system need to determine which programs are active and which need to await some
form of input or output. Those that need to wait can be suspended temporarily from
engaging the processor. This strategy alone enhances the processor throughput. In
other words, it is important for an operating system to have a control policy and
algorithm to allocate the system resources.
The Evolution:
It would be worthwhile to trace some developments that have happened in the last
four to five decades. In the 1960s, the common form of computing facility was a
mainframe computer system. The mainframe computer system would be normally
housed in a computer center with a controlled environment which was usually an air
conditioned area with a clean room like facility. The users used to bring in a deck of
punched cards which encoded the list of program instructions.
The mode of operation was as follows:
¾ User would prepare a program as a deck of punched cards.
¾ The header cards in the deck were the “job control” cards which would indicate
which compiler was to be used (like Fortran / Cobol compilers).
¾ The deck of cards would be handed in to an operator who would collect such jobs
from various users.
.
At this time we would like to invoke Von - Neumann principle of stored program
operation. For a program to be executed it ought to be stored in the memory. In the
scheme of things discussed in the previous paragraph, we notice that at any time only one
program was kept in the memory and executed. In the decade of 70s this basic mode of
operation was altered and system designers contemplated having more than one program
resident in the memory. This clearly meant that when one program is awaiting
Multiprogramming
While multiprogramming did lead to enhanced throughput of a system, the systems still
essentially operated in batch processing mode.
1980’s
In late 70s and early part of the decade of 80s the system designers offered some
interactivity with each user having a capability to access system. This is the period when
the timeshared systems came on the scene.
Basically, the idea is to give every user an illusion that all the system resources were
x x x
Let’s consider a scenario where we need to embed the computer system in an industrial
application. This may be regulating the temperature of a vessel in a process control. In a
typical process control scenario
• Monitoring – initializes and activates the hardware.
• Input – Reads the values from sensors and stores it in register.
• Decision – checks whether the readings are within the range.
• Output – responds to the situation.
• Scenario: A temperature monitoring chemical process.
The computer system may be employed in a variety of operational scenarios like a bank,
airlines reservation system, university admissions and several others. In each of these we
need to provide the resources for
• Processing
• User access to the system
• Storage and management of information
• Protection of information against accidental and intentional misuse
• Support for data processing activities
• Communication with I/O devices
• Management of all activities in a transparent manner.
Let’s now review What Does an OS Do?
• Power On Self Test (POST)
• Resource management
Simputer
Wireless Systems:
Wireless systems in general allow access from any where any time. These are also called
ubiquitous systems. The ubiquity comes from the fact that unlike a wired system, the
medium of communication is air which can be utilized from anywhere anytime.
Finally, the other major trend which we are witnessing now is driven by Web – the world
wide web. All modern systems are internet compliant and allow a user to connect to the
rest of the world. Web offers commercial organizations to offer their merchandise on the
web. Also, it gives the consumers an opportunity to seek services using the web. In our
country now Web is quite extensively utilized for railway reservation and also for the air
ticket booking. Web can also offer other services. For example, down loading music is
common. Web can, and in due course of time will, offer services which are currently
offered by operating systems. In fact, then we will have the paradigm where “network is
the computer” as was proclaimed by the SUN CEO, Scott McNealy a few years ago.