Midterm Reviewer
Midterm Reviewer
Modern computing often involves tasks that exceed the processing capacity of a single
processor. To address this, systems with multiple processors or interconnected
computers are employed. Two common approaches are multiprocessor systems and
multicomputer systems.
Multiprocessor Systems
A multiprocessor system integrates two or more central processing units (CPUs) within a
single system. These CPUs share access to a common memory and work in tandem to
execute multiple tasks concurrently. The interconnection between processors and shared
memory can be established using one of three methods:
1. Time-Shared Common Bus: Processors take turns accessing a single shared
communication pathway.
As the name itself indicates, int this method is containing a single shared bus
through which all processor & memory unit can be communicated.
Consider Process-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: In a multiport memory system, each processor has its own
direct connection to the memory, which helps avoid delays caused by multiple
processors trying to access memory at the same time.
Imagine a setup with four processors and four memory modules. Each processor is
linked to every memory module using its own set of wires (called buses). These
wires carry the information needed to read or write data, such as the memory
address, the data itself, and control signals.
Each memory module has four "ports," or entry points, so that all four processors
can connect to it. Inside the memory module, there’s a control system that decides
which processor gets to use the memory at any given time. To keep things simple,
the system uses a priority order based on the physical connections: CPU1 gets first
priority, followed by CPU2, then CPU3, and finally CPU4.
This design works well when there are only a few processors because it keeps the
system organized and efficient without becoming overly complex.
3. Crossbar Switch Network: The crossbar switch system is a smart way to directly
connect processors to memory modules using a grid-like arrangement. At each
intersection of a processor path and a memory module, there is a "crosspoint,"
which acts like a small switch. These switches decide whether a specific processor
can communicate with a specific memory module.