L32 SMP
L32 SMP
1
Multiple Processor Organization
2
Single Instruction, Single Data
Stream - SISD
Single processor
Single instruction stream
Data stored in single memory
Uni-processor
3
Single Instruction, Multiple
Data Stream - SIMD
4
Multiple Instruction, Single
Data Stream - MISD
Sequence of data
Transmitted to set of processors
Each processor executes different instruction
sequence
Never been implemented
5
Multiple Instruction, Multiple
Data Stream- MIMD
Set of processors
Simultaneously execute different instruction
sequences
Different sets of data
SMPs, clusters and NUMA systems
6
Taxonomy of Parallel Processor
Architectures
7
MIMD - Overview
8
Tightly Coupled - SMP
9
Tightly Coupled - NUMA
10
Loosely Coupled - Clusters
11
Parallel Organizations - SISD
12
Parallel Organizations - SIMD
13
Parallel Organizations - MIMD
Shared Memory
14
Parallel Organizations - MIMD
Distributed Memory
15
Symmetric Multiprocessors
A stand alone computer with the following
characteristics
Two or more similar processors of comparable capacity
Processors share same memory and I/O
Processors are connected by a bus or other internal connection
Memory access time is approximately the same for each
processor
All processors share access to I/O
Either through same channels or different channels giving paths to
same devices
All processors can perform the same functions (hence
symmetric)
System controlled by integrated operating system
providing interaction between processors
16
Interaction at job, task, file and data element levels
SMP Advantages
Performance
If some work can be done in parallel
Availability
Since all processors can perform the same functions, failure of
a single processor does not halt the system
Incremental growth
User can enhance performance by adding additional processors
Scaling
Vendors can offer range of products based on number of
processors
17
Block Diagram of Tightly
Coupled Multiprocessor
18
Organization Classification
19
Time Shared Bus
Simplest form
Structure and interface similar to single processor
system
Following features provided
Addressing - distinguish modules on bus
Arbitration - any module can be temporary master
Time sharing - if one module has the bus, others must wait
and may have to suspend
Now have multiple processors as well as multiple I/O
modules
20
Time Share Bus - Advantages
Simplicity
Flexibility
Reliability
21
Time Share Bus - Disadvantage
22
Multiport Memory
23
Multiport Memory - Advantages
and Disadvantages
More complex
Extra login in memory system
Better performance
Each processor has dedicated path to each module
Can configure portions of memory as private to
one or more processors
Increased security
Write through cache policy
24
Central Control Unit
25
Operating System Issues
26
IBM S/390 Mainframe SMP
27
S/390 - Key components
28
Cache Coherence and
MESI Protocol
29
Software Solutions
30
Hardware Solution
31
Directory Protocols
32
Snoopy Protocols
33
Write Invalidate
34
Write Update
35
MESI State Transition Diagram
36
Clusters
Alternative to SMP
High performance
High availability
Server applications
37
Cluster Benefits
Absolute scalability
Incremental scalability
High availability
Superior price/performance
38
Cluster Configurations -
Standby Server, No Shared Disk
39
Cluster Configurations -
Shared Disk
40
Cluster Configurations
Passive standby
Active secondary
Separate servers
Servers connected to disks
Servers share disks
41
Operating Systems Issues
Failure management
Highly available
Failover
Failback
Load balancing
42
Clusters v SMP
43
Non-Uniform Memory Access
NUMA
44
CC-NUMA Organization
45
NUMA Pros and Cons
46
Required Reading
Stallings Chapter 16
47