DIFFERENCE BETWEEN MULTIPROCESSING AND MULTIPROGRAMMING

SKYSPIN

Question: What are the differences between multiprocessing and multiprogramming?
Answer: Following are the differences between multiprocessing and multiprogramming.
 
Question: What are the advantages of Multiprocessing or Parallel System?
Answer: Multiprocessing operating system or the parallel system support the use of more than one processor in close communication.
The advantages of the multiprocessing system are:
  • Increased Throughput − By increasing the number of processors, more work can be completed in a unit time.
  • Cost Saving − Parallel system shares the memory, buses, peripherals etc. Multiprocessor system thus saves money as compared to multiple single systems. Also, if a number of programs are to operate on the same data, it is cheaper to store that data on one single disk and shared by all processors instead of using many copies of the same data.
  • Increased Reliability − In this system, as the workload is distributed among several processors which results in increased reliability. If one processor fails then its failure may slightly slow down the speed of the system but system will work smoothly. 
    Question: What are the advantages of multiprogramming?
    Answer: Advantages of multiprogramming are −
  • Increased CPU Utilization − Multiprogramming improves CPU utilization as it organizes a number of jobs where CPU always has one to execute.
  • Increased Throughput − Throughput means total number of programs executed over a fixed period of time. In multiprogramming, CPU does not wait for I/O for the program it is executing, thus resulting in an increased throughput.
  • Shorter Turn around Time − Turnaround time for short jobs is improved greatly in multiprogramming.
  • Improved Memory Utilization − In multiprogramming, more than one program resides in main memory. Thus memory is optimally utilized.
  • Increased Resources Utilization − In multiprogramming, multiple programs are actively competing for resources resulting in higher degree of resource utilization.
  • Multiple Users − Multiprogramming supports multiple user

Post a Comment

0 Comments