Multiprocessor
Multiprocessor
• Multiple users
• Multiple applications
Shared Memory
• Processors communicate with shared address space
• Processors communicate by memory read/write
• Easy on small-scale machines
• Lower latency
• SMP or NUMA
Shared-Memory Processors
• Single copy of the OS (although some parts might be
parallel)
• Relatively easy to program
• Difficult to scale to large numbers of processors
processor
1
processor
2
... processor
N
interconnection network
memory
1
memory
2
... memory
M
14
Mode of Operation
16
4- Topology
An interconnection network topology is a mapping function from the set
of processors and memories onto the same set of processors and
memories. In other words, the topology describes how to connect
processors and memories to other processors and memories. A fully
connected topology, for example, is a mapping in which each processor is
connected to all other processors in the computer. A ring topology is a
mapping that connects processor k to its neighbors, processors (k - 1) and
(k 1 +).
In general, interconnection networks can be classified as static versus
dynamic networks. In static networks, direct fixed links are established
among nodes to form a fixed network, while in dynamic networks,
connections are established as needed. Switching elements are used to
establish connections among inputs and outputs.
17
Shared memory interconnection networks.
(a) bus-based and (b) switch-based shared memory
systems
19
dynamic INs: (a) single-stage, (b) multistage,
20
Conclusion
• Parallel processing is a future technique for
higher performance and effectiveness for multi
programmed workloads.
• MPs combine the difficulties of building complex
hardware systems and complex software
systems.
• Communication, memory, affinity and
throughputs presents an important influence on
the systems costs and performances
• On-chip MPs technology appears to be growing
Thank you