What is multi-programming?

drnaga

Dr.Naga Rathinam
Multi programming:

Multiprogramming is the technique of running several programs at a time using timesharing. It allows a computer to do several things at the same time. Multiprogramming creates logical parallelism. The concept of multiprogramming is that the operating system keeps several jobs in memory simultaneously. The operating system selects a job from the job pool and starts executing a job, when that job needs to wait for any i/o operations the CPU is switched to another job. So the main idea here is that the CPU is never idle.
 
Advantages of Multi programming

i) It increases CPU utilization.

ii) It decreases total read time needed to execute a job.

iii) It maximizes the total job throughput of a computer.
 
The ability of an operating system to operate more than one program on a sole processor machine is called multi programming. It is used in the modern operating system where multiple tasks, programs, processes runs at the same time using the common processing resource.
 
Back
Top