The Wayback Machine - https://web.archive.org/web/20240810213854/https://www.geeksforgeeks.org/introduction-of-multiprocessor-and-multicomputer/
Open In App

Introduction of Multiprocessor and Multicomputer

Last Updated : 13 May, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

1. Multiprocessor: A Multiprocessor is a computer system with two or more central processing units (CPUs) share full access to a common RAM. The main objective of using a multiprocessor is to boost the system’s execution speed, with other objectives being fault tolerance and application matching. There are two types of multiprocessors, one is called shared memory multiprocessor and another is distributed memory multiprocessor. In shared memory multiprocessors, all the CPUs shares the common memory but in a distributed memory multiprocessor, every CPU has its own private memory. The interconnection among two or more processor and shared memory is done with three methods

1)Time shared common bus

2)Multiport memories

3)Crossbar switch network

1)Time shared common bus

Screenshot-(97)

Illustrate time shared common bus

As the name itself indicates, int this method is contains a single shared bus through which all processor & memory unit can be communicated.

Consider CPU-1 is interacting with memory unit using common shared bud in that case all other processor must be idle as we have only one bus to communicate.

Advantage:

  • Simple to implement.
  • Due to single common bus cost to implement is very less.

Disadvantage:

  • Data transfer rate is slow.

2)Multiport memories

Unlike in the shared common bus method, hence it contains separate bus for each processor to communicate with the memory module.

Suppose CPU-1 wants to interact with memory module 1 then port mm1 is enabled. Similarly CPU-4 wants to

to interact with memory module 4 then port mm4 is enabled. Hence all the process can be communicated parallelly. If more than one CPU request for same time memory module, priority will be given in the order of CPU-1,CPU-2,CPU-3,CPU-4.

Screenshot-(98)

Multiport memories architecture

3)Crossbar switch network

Here instead multiport unlike in multiport memories, a switch will be installed between memory unit and CPU. Switch is responsible for whether to pass the request to a particular memory module or not based on the request made for.

Screenshot-(99)

Illustrate cross-bar switch network

Advantage:

  • High data through rate.

Disadvantage:

  • Complex to implement as more switches involved.
  • Costlier to implement.

Applications of Multiprocessor –

  1. As a uniprocessor, such as single instruction, single data stream (SISD).
  2. As a multiprocessor, such as single instruction, multiple data stream (SIMD), which is usually used for vector processing.
  3. Multiple series of instructions in a single perspective, such as multiple instruction, single data stream (MISD), which is used for describing hyper-threading or pipelined processors.
  4. Inside a single system for executing multiple, individual series of instructions in multiple perspectives, such as multiple instruction, multiple data stream (MIMD).

Benefits of using a Multiprocessor –

  • Enhanced performance.
  • Multiple applications.
  • Multi-tasking inside an application.
  • High throughput and responsiveness.
  • Hardware sharing among CPUs.

Advantages:

Improved performance: Multiprocessor systems can execute tasks faster than single-processor systems, as the workload can be distributed across multiple processors.

Better scalability: Multiprocessor systems can be scaled more easily than single-processor systems, as additional processors can be added to the system to handle increased workloads.

Increased reliability: Multiprocessor systems can continue to operate even if one processor fails, as the remaining processors can continue to execute tasks.

Reduced cost: Multiprocessor systems can be more cost-effective than building multiple single-processor systems to handle the same workload.

Enhanced parallelism: Multiprocessor systems allow for greater parallelism, as different processors can execute different tasks simultaneously.

Disadvantages:

Increased complexity: Multiprocessor systems are more complex than single-processor systems, and they require additional hardware, software, and management resources.

Higher power consumption: Multiprocessor systems require more power to operate than single-processor systems, which can increase the cost of operating and maintaining the system.

Difficult programming: Developing software that can effectively utilize multiple processors can be challenging, and it requires specialized programming skills.

Synchronization issues: Multiprocessor systems require synchronization between processors to ensure that tasks are executed correctly and efficiently, which can add complexity and overhead to the system.

Limited performance gains: Not all applications can benefit from multiprocessor systems, and some applications may only see limited performance gains when running on a multiprocessor system.

2. Multicomputer: A multicomputer system is a computer system with multiple processors that are connected together to solve a problem. Each processor has its own memory and it is accessible by that particular processor and those processors can communicate with each other via an interconnection network. As the multicomputer is capable of messages passing between the processors, it is possible to divide the task between the processors to complete the task. Hence, a multicomputer can be used for distributed computing. It is cost effective and easier to build a multicomputer than a multiprocessor. Difference between multiprocessor and Multicomputer:

  1. Multiprocessor is a system with two or more central processing units (CPUs) that is capable of performing multiple tasks where as a multicomputer is a system with multiple processors that are attached via an interconnection network to perform a computation task.
  2. A multiprocessor system is a single computer that operates with multiple CPUs where as a multicomputer system is a cluster of computers that operate as a singular computer.
  3. Construction of multicomputer is easier and cost effective than a multiprocessor.
  4. In multiprocessor system, program tends to be easier where as in multicomputer system, program tends to be more difficult.
  5. Multiprocessor supports parallel computing, Multicomputer supports distributed computing.

Advantages:

Improved performance: Multicomputer systems can execute tasks faster than single-computer systems, as the workload can be distributed across multiple computers.

Better scalability: Multicomputer systems can be scaled more easily than single-computer systems, as additional computers can be added to the system to handle increased workloads.

Increased reliability: Multicomputer systems can continue to operate even if one computer fails, as the remaining computers can continue to execute tasks.

Reduced cost: Multicomputer systems can be more cost-effective than building a single large computer system to handle the same workload.

Enhanced parallelism: Multicomputer systems allow for greater parallelism, as different computers can execute different tasks simultaneously.

Disadvantages:

Increased complexity: Multicomputer systems are more complex than single-computer systems, and they require additional hardware, software, and management resources.

Higher power consumption: Multicomputer systems require more power to operate than single-computer systems, which can increase the cost of operating and maintaining the system.

Difficult programming: Developing software that can effectively utilize multiple computers can be challenging, and it requires specialized programming skills.

Synchronization issues: Multicomputer systems require synchronization between computers to ensure that tasks are executed correctly and efficiently, which can add complexity and overhead to the system.

Network latency: Multicomputer systems rely on a network to communicate between computers, and network latency can impact system performance.



Similar Reads

Difference between Loosely Coupled and Tightly Coupled Multiprocessor System
Loosely Coupled Multiprocessor System: It is a type of multiprocessing system in which, There is distributed memory instead of shared memory. In loosely coupled multiprocessor system, data rate is low rather than tightly coupled multiprocessor system. In loosely coupled multiprocessor system, modules are connected through MTS (Message transfer syst
2 min read
Multiport Memory Multiprocessor System
Multiport Memory System employs separate buses between each memory module and each CPU. A processor bus comprises the address, data and control lines necessary to communicate with memory. Each memory module connects each processor bus. At any given time, the memory module should have internal control logic to obtain which port can have access to me
1 min read
Time Shared Bus - Interconnection structure in Multiprocessor System
Interconnection structures :The processors must be able to share a set of main memory modules & I/O devices in a multiprocessor system. This sharing capability can be provided through interconnection structures. The interconnection structure that are commonly used can be given as follows - Time-shared / Common BusCross bar SwitchMultiport Memor
5 min read
Cache Coherence Protocols in Multiprocessor System
Prerequisite - Cache Memory In multiprocessor system where many processes needs a copy of same memory block, the maintenance of consistency among these copies raises a problem referred to as Cache Coherence Problem. This occurs mainly due to these causes:- Sharing of writable data.Process migration.Inconsistency due to I/O.Basic Schemes in Enforcin
5 min read
Multistage Switching Network - Interconnection structure in Multiprocessor System
In this article, we are going to cover the interconnection structure that is commonly used but in this section, we will more focus on Multistage Switching networks in detail. Let's discuss it one by one as follows. Overview :The processors must be able to share a set of main memory modules & I/O devices in a multiprocessor system. This sharing
4 min read
Introduction of Control Unit and its Design
A Central Processing Unit is the most important component of a computer system. A control unit is a part of the CPU. A control unit controls the operations of all parts of the computer but it does not carry out any data processing operations. What is a Control Unit?The Control Unit is the part of the computer's central processing unit (CPU), which
10 min read
Introduction of ALU and Data Path
Representing and storing numbers were the basic operations of the computers of earlier times. The real go came when computation, manipulating numbers like adding and multiplying came into the picture. These operations are handled by the computer's arithmetic logic unit (ALU). The ALU is the mathematical brain of a computer. The first ALU (Arithmeti
8 min read
Introduction of Stack based CPU Organization
The computers which use Stack-based CPU Organization are based on a data structure called a stack. The stack is a list of data words. It uses the Last In First Out (LIFO) access method which is the most popular access method in most of the CPU. A register is used to store the address of the topmost element of the stack which is known as Stack point
3 min read
Introduction of Single Accumulator based CPU organization
The computers, present in the early days of computer history, had accumulator-based CPUs. In this type of CPU organization, the accumulator register is used implicitly for processing all instructions of a program and storing the results into the accumulator. The instruction format that is used by this CPU Organisation is the One address field. Due
2 min read
Introduction of General Register based CPU Organization
When we are using multiple general-purpose registers, instead of a single accumulator register, in the CPU Organization then this type of organization is known as General register-based CPU Organization. In this type of organization, the computer uses two or three address fields in their instruction format. Each address field may specify a general
3 min read
three90RightbarBannerImg