Professional Documents
Culture Documents
Os CHPT 1 3
Os CHPT 1 3
Operating CPU
E-mail
System
Web
browser
Multitasking process
Advantages of Multitasking
1. Multitasking helps in increasing the overall productivity
of the user by performing a number of
tasks at the same time
2. It helps in increasing the overall performance of the
computer Word system.
Disadvantages of Multitasking
Disadvantages of Multitasking
1. It requires more system resources. For example, large
amount of memory is required to execute several
programs at the same time
2. 2. To performing multiple tasks at a single time in
multitasking, the CPU speed must be very high
Time Sharing Systems/Time Shared OS
The main idea of time sharing systems is to allow a large number of users to interact
with a computer (system) concurrently. Single A time sharing system is one that allows a
number of different users to share the single computer system for a variety of
applications at the time.
A time sharing system allows many users to share the computer resources
simultaneously. In other words, time sharing refers to the allocation of computer
resources in time slots to several programs simultaneously.In other words a time-
sharing system is basically a multiprogramming, multitasking and multi- user
environment of a large computer system.
In time sharing a small time slots are available for each user. This short period of time
during that a user gets attention of the CPU (known as a time slice or a quantum).
Those time slots may be only a few microseconds. By using multiprogramming
techniques, which quickly alternate between many users, each receiving a small amount
of time. It seems that each is being given constant attention by the processor.
One of the first time-sharing operating systems to be developed was the Compatible
Time Sharing System (CTSS) developed at the Massachusetts Institute of Technology
(MIT). This system was first developed for the IBM 709 in 1961.
In the Fig. 1.9, the user 5 is active
User3 User4
User2 User5
CPU
Active
link User6
User1
but user 1. user 2, user 3, and user 4 are in waiting state User 3
whereas user 6 is in ready status.As soon as the time slice of user 5 is
completed, the control moves on to the next ready user le user 6. In
this state user 2, user 3, user 4, and user 5 are in waiting state and user
1 is in ready state.
The process continues in the same way and so on. Example: Fig 19
shows an User 2 User 5example of time sharing system Active link User
1 User 6 which allows many users to simultaneously share the Fig. 1.9
computer resources.
Advantages of Time Sharing System
1. Efficient CPU utilization.
2. A time shared operating system uses CPU scheduling and multi
programming to provide each user with a small portion of a time shared
computer. Time sharing systems were developed to provide interactive use
of a computer system at a reasonable cost.