0% found this document useful (1 vote)
319 views26 pages

Unit 1 Evolution of Os

in this ppt, will discuss about OS Evolution

Uploaded by

Elakkia U
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
319 views26 pages

Unit 1 Evolution of Os

in this ppt, will discuss about OS Evolution

Uploaded by

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

Operating System Objectives and

functions
OS Objectives and functions
• OS is a layer of software whose job is to
manage all devices and provide user programs
with a simpler interface to the hardware
• Objectives of OS
– Convenience
– Efficiency
– Ability to evolve
Contents
• Serial processing
• Simple batch system
• Multiprogramming systems.
• Time sharing Systems
1.Serial processing
• No OS (late 1940-mid 1950)
• Direct interaction with computer hardware
• Programs in machine code were loaded via
the input device (e.g., a card reader).
• If an error halted the program, the error
condition was indicated by the lights. If the
program proceeded to a normal completion,
the output appeared on the printer.
Serial Processing
Drawbacks in Serial Processing
• Scheduling:
– Hardcopy sign up time to reserve computer time
– Either processing time is wasted or user is unable to complete
within the stipulated time period
• Set up time: A single program, (job) could involve loading the
compiler into memory, saving the compiled program (object
program) and then loading and linking together the object
program and common functions.
– Each of these steps could involve mounting or dismounting
tapes or setting up card decks.
– If an error occurred, then the entire sequence had to be
repeated. This resulted in time wastage.
2.Simple Batch system
• To improve processor utilization the concept of
batch system was introduced
• Developed in mid 1950s by General Motors
• In these systems a type of OS called monitors were
used.
• The users submit their job in the form of cards to the
computer operator
• The computer operators sequentially places the
entire job in the input device for use by the monitor
IBM 701

IBM 704
Memory layout by a resident
monitor
Monitor point of view
• A portion of monitor resides in the main memory
(resident monitor)
• The remaining portion resides in the utilities and
subroutine
• The resident monitor reads in the job from the input
device
• As it reads, it places the current job in the user area and
control is passed on to this job
• When job is completed it returns control to the monitor
• The results of job is send to output device
Processor point of view
• The processor is getting instructions either
from the resident monitor or is executing
instructions from the user area
• Once a job in the user area is completed the
control is passed to monitor which gives
instruction for executing the next job
• JCL(Job Control Language) is the language
used of providing instructions to the monitor
batch OS
H/W features desirable for Batch
OS
• Timer
• Memory protection Modes of
• Privileged instructions operation

• *Interrupts
User Kernel
Mode Mode

Advantages of Batch OS
1.Computer utilization increased
Disadvantages of Batch OS
1. Increased overhead- Some memory and processor time is given to the monitor
3.MULTIPROGRAMMING
• Multiprogramming means executing multiple programs at the
same time with the help of a single processor.
• In this multiple processes can exist in the main memory
simultaneously.
• In multiprogramming, the OS chooses one of the jobs from the
main memory and execute it.
Multiprogramming(Contd..)
Types of
Multiprogramming
Operating System
• Multitasking Operating System
• Multiuser Operating System
1. Multitasking
Operating System
• A multitasking operating system is capable of executing several programs
simultaneously.
• The operating system achieves this by swapping each program in and out
of memory, one at a time.
• When a program is brought out of memory, it is saved for a while on
secondary memory until it is needed again.
2. Multiuser Operating
System
• A multi-user operating system enables several users to share processing
time on one powerful central computer through different terminals.
• The operating system achieves this by quickly switching among different
terminals.
• Each of these terminals receives a limited amount of processor time on the
powerful core computer.
• The operating system switches among these terminals so rapidly that each
user would seem to be having consistent access to the powerful core
computer.
Multiuser Operating
System
Advantages of Multiprogramming Operating
System
1. The processor is utilized most of the time and rarely becomes idle
unless there are no jobs to execute.
2. The system is fast because all the jobs run parallel amongst
themselves.
3. Jobs that would require CPU for a short duration are finished earlier
in comparison to those with long CPU requirement time.
4. Multiprogramming OS supports multiple users on the computer
system.
5. Resources utilization is efficient and even.
6. Total time required to execute a job reduced.
7. Multiprogramming OS is good at dealing with applications in which
multiple jobs are to be executed.
Disadvantages of Multiprogramming

1. Sometimes, processes requiring long CPU times have to wait


for other jobs (usually relatively shorter jobs) to finish.
2. It's not easy to keep track of a large number of processes in
multiprogramming.
3. Multiprogramming OS is not an easy job owing to the
complex nature of schedule handling.
4. Multiprogramming OS has to use CPU scheduling.
5. Memory management should be very efficient.
6. While a program executes, there cannot be any interaction
between it and the user.
Time Sharing Systems
• The Time-Sharing Operating System is a type of operating
system in which the user can perform more than one task and
each task gets the same amount of time to execute. It is also
called a multitasking operating system.
• The CPU executes multiple jobs by switching between them, but
the switches occur so frequently.
• Thus, the user can receive an immediate response.
• The operating system uses CPU scheduling and
multiprogramming to provide each user with a small amount of
time.
• Computer systems that were designed primarily as batch systems
have been modified to time-sharing systems.
Time Sharing Systems
Multiprogramming vs Timesharing
Multiprogramming System Time-Sharing System

Multiprogramming operating system Time-Sharing is the logical extension of


allows executing multiple processes by multiprogramming. In this time-sharing
monitoring their process states and Operating system, many users/processes
switching between processes. are allocated with computer resources in
respective time slots.
The processor and memory
The processor's time is shared with
underutilization problem is resolved, and
multiple users. That's why it is called a
multiple programs run on the CPU. That's
time-sharing operating system.
why it is called multiprogramming.
In multiprogramming, the process can be In this process, two or more users can use
executed by a single processor. a processor in their terminal.
Multiprogramming OS has no fixed time
Time-sharing OS has a fixed time slice.
slice.
Multiprogramming System Time-Sharing System

In a multiprogramming OS system, before In a time-sharing OS system, executive


finishing a task, the executive power is not power is taken off before finishing
taken off. execution.
Here the system does not take some time Here the system works for the same or
to work on different processes. less time on each process.
In Multiprogramming OS, the system In time-sharing, the OS system depends
depends on devices to switch between on time to switch between different
tasks such as I/O interrupts. processes.
A system model of the time-sharing
The system model of a multiprogramming
system is multiple programs and multiple
system is multiple programs.
users.
ltiprogramming system maximizes The Time-sharing system maximizes
response time. response time.
Example: Mac OS, Window OS,
Example: Windows NT server, Unix, Linux,
microcomputers such as MP/M, XENIX,
Multics, TOPS-10, TOPS-20

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy