Types of Multi-Processing Operating Systems
Multi-processing operating systems are classified into two types. They are:
1. Symmetrical Multiprocessing Operating System
In a Symmetrical multiprocessing operating system, each processor executes the same copy of operating system every time. Each process makes its own decisions and works according to all other process to make sure that system works efficiently. With the help of CPU scheduling algorithms, the task is assigned to the CPU that has least burden. Symmetrical multiprocessing operating system is also known as “Shared Everything System” because all the processors share memory and input-output bus. Below image describes about symmetrical multiprocessing operating system.
Advantages
- Failure of one processor does not affect the functioning of other processors.
- It divides all the workload equally to the available processors.
- Makes use of available resources efficiently.
Disadvantages
- Symmetrical multiprocessing OS are more complex.
- They are more costlier.
- Synchronization between multiple processors is difficult.
2. Asymmetrical Multiprocessing Operating System
In Asymmetrical multiprocessing operating system one processor acts as a master whereas remaining all processors act a slaves. Slave processors are assigned with ready to execute processes by the master processor. A ready queue is being maintained by master processor to provides with processes for slaves. In multiprocessing operating system a schedular is created by master process that assigns processes to be executed to slave processors. Below diagram describes about the asymmetrical multiprocessing operating system.
Advantages
- Asymmetrical multiprocessing operating system are cost-effective.
- They are easy to design and manage.
- They are more scalable.
Disadvantages
- There can be uneven distribution of workload among the processors.
- The processors do not share same memory.
- Entire system goes down if one process fails.
Multi Processing Operating System
The operating system functions like a manager of all the available resources. Therefore operating system is defined as an interface between the system and the user. There are various types of operating systems such as Batch Operating Systems, Multi-programming Operating Systems, distributed operating systems time-sharing operating systems, real-time operating systems, and distributed operating systems. Each operating system offers different types of features and advantages. The below article covers in detail the Multiprocessing operating system.