Sunday, February 26, 2017

Multiprocessing

    In the last blog, we have discuss Multithreading. In this blog, we will discuss Multiprocessing in Operating System.


What is Processing?
process

         A process is an instance of a computer program that is being executed. It contains the program code and its current activity. Depending on the operating system (OS), a process may be made up of multiple threads of execution that execute instructions concurrently.


Multiprocessing:
Multiprocessing

       System with two or more CPUs having ability to execute multiple processes concurrently. Multiple CPUs are used in process either instructions from different and independent programs or different instructions from the same program simultaneously. It is a general term that can mean the dynamic assignment of a program to one of two or more computers working in tandem or can involve multiple computers working on the same program at the same time (in parallel).

      There are two types of Multiprocessing:
  • Tightly Coupled:
    Tightly Coupled System
    Single system wide primary memory shared by all processors.
  • Loosly Coupled:
    Loosely Coupled System
    Each processor has its own local memory.

No comments:

Post a Comment