What are types of multiprocessor systems?
There are two basic types of multiprocessor systems.
1. Asymmetric multiprocessing systems [ASMP]
2. Symmetric multiprocessing systems [SMP]
1. Asymmetric multiprocessing systems [ASMP]
In asymmetric multiprocessing, each CPU is assigned a special task. For example, one CPU can be busy playing the video game and another CPU is busy in executing the operating systems. The question is that how multiple CPU will work together? The answer is very simple. One CPU acts as a Master CPU. All other CPU works as slave CPU. In other words, we can say that master CPU controls the slave CPUs.
2. Symmetric multiprocessing systems [SMP]
In symmetric multiprocessing, multiple CPU work together to complete the same task. There is no master and slave relationship among the CPUs. All CPU are treated equally. According to Symmetric multiprocessing, two or more processors are attached to a single memory and operating system [OS] instance.y of the system reduces.
Difference between Symmetric multiprocessing systems VS Asymmetric multiprocessing systems
Basic differenceASYMMETRIC MULTIPROCESSING:Only Master processor run the tasks of Operating System.
SYMMETRIC MULTIPROCESSING
Each processor contributes to executing the tasks in the Operating System.
Same or different architectures are possible for each processor.
SYMMETRIC MULTIPROCESSING
Same architecture for each process.
ProcessASYMMETRIC MULTIPROCESSING:Master processor allow and assign the processes to the slave processors, or in some cases, they have some predefined processes.
SYMMETRIC MULTIPROCESSING
The queue is very important. The processor takes processes from a common ready queue, or in some cases, there may be a private ready queue for each processor.
Asymmetric Multiprocessing is simple. Master processor can access all data structure.
SYMMETRIC MULTIPROCESSING
Symmetric Multiprocessing is complex. All the processors need to be synchronized with each other to maintain the load balance.
Inter-process CommunicationASYMMETRIC MULTIPROCESSING:There is no need of communication between processes, as they are controlled by the master processor.
SYMMETRIC MULTIPROCESSING
Inter-process communication by a shared memory.
If a master processor fails, a slave processor is turned as the master processor to continue the further execution. If a slave processor fails, its task is switched to other processors.
The difference between symmetric multiprocessing and asymmetric multiprocessing is that in symmetric multiprocessing each processor run the task in an operating system whereas in asymmetric multiprocessing only a master processor run the tasks of the operating system.
ADVERTISEMENT
Difference Between Symmetric Multiprocessing and Asymmetric Multiprocessing
Symmetric Multiprocessing vs. Asymmetric Multiprocessing
In symmetric multiprocessing, each processor runs the task in an operating system whereas in asymmetric multiprocessing only a master processor run the tasks of the operating
Symmetric Multiprocessing vs. Asymmetric Multiprocessing
In symmetric multiprocessing, the process is taken from ready queue whereas in asymmetric multiprocessing process is a master
Symmetric Multiprocessing vs. Asymmetric Multiprocessing
In symmetric multiprocessing all processor have the same architecture, In asymmetric multiprocessing, only a master processor run the tasks of the operating system. There are many processors in asymmetric multiprocessing that shares one network. Master is one who allots a processor to the slave. The system that has more than one processor is known as a multiprocessing system. More than two processors are added to increase the power of the computer. CPU has set of registers the process is stored in these registers. For example, if the process of addition of two numbers is made the integers will be saved in registers and the addition of number is also stored in a register. If there will be more than one process, there will be more registers than if one processor will do work and others will be free in this way the power of the computer is increased. There are types of processors such as symmetric multiprocessing and asymmetric multiprocessing. If we talk about symmetric multiprocessing, in symmetric multiprocessing the processor is free to run and can run any process whereas in the case of multithreading there is a master-salve relationship. In multiprocessing, there is an integrated memory controller that the job of the integrated memory controller is to add more memory. Every processor predefined task to perform. In asymmetric multiprocessing, the master data structure is a master-slave. All the system activities are controlled by the master processor. To continue the execution, there is a case where a master processor fails one processor among the slave processor is made.