📜  非对称和对称多处理之间的区别

📅  最后修改于: 2021-06-28 14:45:43             🧑  作者: Mango

多处理是在单个计算机系统中使用两个或多个中央处理单元。非对称多处理和对称多处理是两种类型的多处理。

非对称多处理:
非对称多处理系统是一种多处理器计算机系统,其中并非所有多个互连的中央处理单元(CPU)都受到同等对待。在非对称多处理中,只有主处理器才能运行操作系统的任务。
例如,AMP可用于根据任务完成的优先级和重要性将特定任务分配给CPU。

对称多处理:
它涉及多处理器计算机硬件和软件体系结构,其中两个或多个相同的处理器连接到单个共享的主内存,可以完全访问所有输入和输出设备。换句话说,对称多处理是一种多处理类型,其中每个处理器都是自我调度。
例如,SMP将多个处理器应用于一个问题,即并行编程。

非对称和对称多处理之间的区别:

Asymmetric Multiprocessing Symmetric Multiprocessing
In asymmetric multiprocessing, the processors are not treated equally. In symmetric multiprocessing, all the processors are treated equally.
Tasks of the operating system are done by master processor. Tasks of the operating system are done individual processor
No Communication between Processors as they are controlled by the master processor. All processors communicate with another processor by a shared memory.
In asymmetric multiprocessing, process are master-slave. In symmetric multiprocessing, the process is taken from the ready queue.
Asymmetric multiprocessing systems are cheaper. Symmetric multiprocessing systems are costlier.
Asymmetric multiprocessing systems are easier to design Symmetric multiprocessing systems are complex to design