

































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Multiprocessors, Characteristics of Multiprocessors, Interconnection Structures, Interprocessor Arbitration, Interprocessor Communication, Synchronization, Cache Coherence are key points of this lecture.
Typology: Slides
1 / 41
This page cannot be seen from the preview
Don't miss anything!


































On special offer
and Synchronization
Docsity.com
Parallel Computing
Simultaneous use of multiple processors, all components of a single architecture, to solve a task. Typically processors identical, single user (even if machine multiuser)
Distributed Computing
Use of a network of processors, each capable of being viewed as a computer in its own right, to solve a problem. Processors may be heterogeneous, multiuser, usually individual task is assigned to a single processors
Concurrent Computing
All of the above?
Characteristics of Multiprocessors
Docsity.com
A: Given problem
T*(n): Time of best sequential algorithm to solve an instance of A of size n on 1 processor Tp(n): Time needed by a given parallel algorithm and given parallel architecture to solve an instance of A of size n, using p processors
Note: T*(n) ≤ T 1 (n)
Speedup: T*(n) / Tp(n)
Efficiency: T*(n) / [pTp(n)]
Speedup should be between 0 and p, and Efficiency should be between 0 and 1 Speedup is linear if there is a constant c > 0 so that speedup is always at least cp.
1 2 3 4 5 6 7 8 9 10 Processors
Speedup Perfect Speedup
Characteristics of Multiprocessors
Docsity.com
Given a program f : Fraction of time that represents operations that must be performed serially
Maximum Possible Speedup: S
S ≤ , with p processors f + (1 - f ) / p
S < 1 / f , with unlimited number of processors
Characteristics of Multiprocessors
Docsity.com
Tightly Coupled System
Loosely Coupled System
Characteristics of Multiprocessors
Docsity.com
Granularity of Parallelism
Coarse-grain
Medium-grain
Fine-grain
Characteristics of Multiprocessors
Docsity.com
Characteristics
All processors have equally direct access to one large memory address space
Example systems
Limitations
Memory access latency; Hot spot problem
Interconnection Network
...
P P... P
M (^) M M
Buses, Multistage IN, Crossbar Switch
Characteristics of Multiprocessors
Docsity.com
Characteristics
Example systems
Limitations
Message-Passing Network
P P... P
M (^) M... M
Point-to-point connections
Characteristics of Multiprocessors
Docsity.com
Operations of Bus
Bus
M3 wishes to communicate with S
[1] M3 sends signals (address) on the bus that causes S5 to respond [2] M3 sends data to S5 or S5 sends data to M3(determined by the command line)
Master Device: Device that initiates and controls the communication
Slave Device: Responding device
Multiple-master buses -> Bus conflict -> need bus arbitration
Devices M3 S7 M6 S5 M4 S
Interconnection Structure
Docsity.com
Interconnection Structure
Common Shared Memory
System Bus Controller
CPU IOP^ MemoryLocal
System Bus Controller
CPU (^) MemoryLocal
System Bus Controller
CPU IOP^ MemoryLocal
Local Bus
SYSTEM BUS
Local Bus Local Bus
Docsity.com
Interconnection Structure
MM
CPU
CPU
CPU
CPU
Memory modules MM2 MM3 MM
Block Diagram of Crossbar Switch
Memory Module
data address R/W memory enable
data,address, and control from CPU 1
data,address, and control from CPU 2
data,address, and control from CPU 3
data,address, and control from CPU 4
Multiplexers and arbitration logic
Docsity.com
Interconnection Structure
A
B
0
1
A connected to 0
A
B
0
1
A connected to 1
A
B
0
1
B connected to 0
A
B
0
1
B connected to 1
Interstage Switch
Docsity.com
Interconnection Structure
One-cube Two-cube Three-cube
(^00111)
(^1 00 )
010 110
(^011 )
101
100
001
000
n-dimensional hypercube (binary n-cube)
Docsity.com
Bus Board level bus Backplane level bus Interface level bus
System Bus - A Backplane level bus
Data, Address, and Control(plus power)
Interprocessor Arbitration
e.g. IEEE standard 796 bus
Docsity.com