What is Multiuser Or Multiprogramming Operating System ?

Answer :
Sharing the processor, when two or more programs reside in memory at the same time, is referred as Multiuser Or Multiprogramming OS.
Multiprogramming assumes a single shared processor. Multiprogramming increases CPU utilization by organizing jobs so that the CPU always has one to execute.

The following figure shows the memory layout for a multiprogramming system.

An OS does the following activities related to multiprogramming.

i) The operating system keeps several jobs in memory at a time.

ii) This set of jobs is a subset of the jobs kept in the job pool.

iii) The operating system picks and begins to execute one of the jobs in the memory.

iv) Multiprogramming operating systems monitor the state of all active programs and system resources using memory management programs to ensures that the CPU is never idle, unless there are no jobs to process.

Advantages :
1) High and efficient CPU utilization.
2)User feels that many programs are allotted CPU almost simultaneously.

Disadvantages :
1) CPU scheduling is required.
2) To accommodate many jobs in memory, memory management is required.

Comments

Popular Posts

Give Your Feedback

Name

Email *

Message *