操作系统——分布式系统和并行系统的区别
分布式系统是一种模型,其中分布式应用程序在通过通信网络链接的多台计算机上运行。有时它也被称为松散耦合系统,因为其中每个处理器都有自己的本地内存和处理单元。 LOCUS 和 MICROS 是分布式操作系统的一些示例。
并行系统旨在通过将程序分成多个片段并同时处理这些片段来加速程序的执行。 Flynn 根据指令和数据流的并行性将计算机系统分为四种类型。
- 单指令流、单数据流
- 单指令流、多数据流
- 多指令流,单数据流
- 多指令流、多数据流
分布式系统和并行系统的区别:
S. No | Parallel System | Distributed System |
---|---|---|
1. | Parallel systems are the systems that can process the data simultaneously, and increase the computational speed of a computer system. | In these systems, applications are running on multiple computers linked by communication lines. |
2. | Parallel systems work with the simultaneous use of multiple computer resources which can include a single computer with multiple processors. | The distributed system consists of a number of computers that are connected and managed so that they share the job processing load among various computers distributed over the network. |
3. | Tasks are performed with a more speedy process. | Tasks are performed with a less speedy process. |
4. | These systems are multiprocessor systems. | In Distributed Systems, each processor has its own memory. |
5. | It is also known as a tightly coupled system. | Distributed systems are also known as loosely coupled systems. |
6. | These systems have close communication with more than one processor. | These systems communicate with one another through various communication lines, such as high-speed buses or telephone lines. |
7. | These systems share a memory, clock, and peripheral devices | These systems do not share memory or clock in contrast to parallel systems. |
8. | In this, all processors share a single master clock for synchronization. | In this there is no global clock in distributed computing, it uses various synchronization algorithms. |