SlideShare a Scribd company logo
1 of 20
HIGH PERFORMANCE
COMPUTING
LECT_04&5
Convergence of Parallel
Architectures-II
BATCH: 11BS(IT)
PREPARED BY: MUKHTIAR AHMED
Asst. Prof. I.T Department
2
History
P
P
C
C
I/O
I/O
M MM M
PP
C
I/O
M MC
I/O
$ $
“Mainframe” approach
• Motivated by multiprogramming
• Extends crossbar used for mem bw and I/O
• Originally processor cost limited to small
– later, cost of crossbar
• Bandwidth scales with p
• High incremental cost; use multistage instead
“Minicomputer” approach
• Almost all microprocessor systems have bus
• Motivated by multiprogramming, TP
• Used heavily for parallel computing
• Called symmetric multiprocessor (SMP)
• Latency larger than for uniprocessor
• Bus is bandwidth bottleneck
– caching is key: coherence problem
• Low incremental cost
3
Example: Intel Pentium Pro Quad
• All coherence and
multiprocessing glue in
processor module
• Highly integrated, targeted at
high volume
• Low latency and bandwidth
P-Pro bus (64-bit data, 36-bit address, 66 MHz)
CPU
Bus interface
MIU
P-Pro
module
P-Pro
module
P-Pro
module256-KB
L2 $
Interrupt
controller
PCI
bridge
PCI
bridge
Memory
controller
1-, 2-, or 4-way
interleav ed
DRAM
PCIbus
PCIbus
PCI
I/O
cards
4
Example: SUN Enterprise
• 16 cards of either type: processors + memory, or I/O
• All memory accessed over bus, so symmetric
• Higher bandwidth, higher latency bus
Gigaplane bus (256 data, 41 address, 83 MHz)
SBUS
SBUS
SBUS
2FiberChannel
100bT,SCSI
Bus interf ace
CPU/mem
cardsP
$2
$
P
$2
$
Mem ctrl
Bus interf ace/switch
I/O cards
5
Scaling Up
• Problem is interconnect: cost (crossbar) or bandwidth (bus)
• Dance-hall: bandwidth still scalable, but lower cost than crossbar
– latencies to memory uniform, but uniformly large
• Distributed memory or non-uniform memory access (NUMA)
– Construct shared address space out of simple message transactions
across a general-purpose network (e.g. read-request, read-response)
• Caching shared (particularly nonlocal) data?
M M M

 M M M
NetworkNetwork
P
$
P
$
P
$
P
$
P
$
P
$
“Dance hall” Distributed memory
6
Example: Cray T3E
• Scale up to 1024 processors, 480MB/s links
• Memory controller generates comm. request for nonlocal references
• No hardware mechanism for coherence (SGI Origin etc. provide this)
Switch
P
$
XY
Z
External I/O
Mem
ctrl
and NI
Mem
7
Message Passing Architectures
Complete computer as building block, including I/O
• Communication via explicit I/O operations
Programming model: directly access only private address space
(local memory), comm. via explicit messages (send/receive)
High-level block diagram similar to distributed-memory SAS
• But comm. integrated at IO level, needn’t be into memory system
• Like networks of workstations (clusters), but tighter integration
• Easier to build than scalable SAS
Programming model more removed from basic hardware operations
• Library or OS intervention
8
Message-Passing Abstraction
• Send specifies buffer to be transmitted and receiving process
• Recv specifies sending process and application storage to receive into
• Memory to memory copy, but need to name processes
• Optional tag on send and matching rule on receive
• User process names local data and entities in process/tag space too
• In simplest form, the send/recv match achieves pairwise synch event
– Other variants too
• Many overheads: copying, buffer management, protection
ProcessP ProcessQ
AddressY
AddressX
SendX, Q, t
ReceiveY, P, tMatch
Local process
address space
Local process
address space
9
Evolution of Message-Passing Machines
Early machines: FIFO on each link
• Hw close to prog. Model; synchronous ops
• Replaced by DMA, enabling non-blocking ops
– Buffered by system at destination until recv
Diminishing role of topology
• Store&forward routing: topology important
• Introduction of pipelined routing made it less so
• Cost is in node-network interface
• Simplifies programming
000001
010011
100
110
101
111
10
Example: IBM SP-2
• Made out of essentially complete RS6000 workstations
• Network interface integrated in I/O bus (bw limited by I/O
bus)
Memory bus
MicroChannel bus
I/O
i860 NI
DMA
DRAM
IBM SP-2 node
L2 $
Power 2
CPU
Memory
controller
4-way
interleav ed
DRAM
General interconnection
network f ormed f rom
8-port switches
NIC
11
Example Intel Paragon
Memory bus (64-bit, 50 MHz)
i860
L1 $
NI
DMA
i860
L1 $
Driv er
Mem
ctrl
4-way
interleav ed
DRAM
Intel
Paragon
node
8 bits,
175 MHz,
bidirectional2D grid network
with processing node
attached to ev ery switch
Sandia’ s Intel Paragon XP/S-based Super computer
12
Toward Architectural Convergence
Evolution and role of software have blurred boundary
• Send/recv supported on SAS machines via buffers
• Can construct global address space on MP using hashing
• Page-based (or finer-grained) shared virtual memory
Hardware organization converging too
• Tighter NI integration even for MP (low-latency, high-bandwidth)
• At lower level, even hardware SAS passes hardware messages
Even clusters of workstations/SMPs are parallel systems
• Emergence of fast system area networks (SAN)
Programming models distinct, but organizations converging
• Nodes connected by general network and communication assists
• Implementations also converging, at least in high-end machines
13
Data Parallel Systems
Programming model
• Operations performed in parallel on each element of data structure
• Logically single thread of control, performs sequential or parallel steps
• Conceptually, a processor associated with each data element
Architectural model
• Array of many simple, cheap processors with little memory each
– Processors don’t sequence through instructions
• Attached to a control processor that issues instructions
• Specialized and general communication, cheap global synchronization
PE PE PE
PE PE PE
PE PE PE

  
Control
processor
Original motivations
•Matches simple differential equation solvers
•Centralize high cost of instruction
fetch/sequencing
14
Application of Data Parallelism
• Each PE contains an employee record with his/her salary
If salary > 100K then
salary = salary *1.05
else
salary = salary *1.10
• Logically, the whole operation is a single step
• Some processors enabled for arithmetic operation, others disabled
Other examples:
• Finite differences, linear algebra, ...
• Document searching, graphics, image processing, ...
Some recent machines:
• Thinking Machines CM-1, CM-2 (and CM-5)
• Maspar MP-1 and MP-2,
15
Evolution and Convergence
Rigid control structure (SIMD in Flynn taxonomy)
• SISD = uniprocessor, MIMD = multiprocessor
Popular when cost savings of centralized sequencer high
• 60s when CPU was a cabinet
• Replaced by vectors in mid-70s
– More flexible w.r.t. memory layout and easier to manage
• Revived in mid-80s when 32-bit datapath slices just fit on chip
• No longer true with modern microprocessors
Other reasons for demise
• Simple, regular applications have good locality, can do well anyway
• Loss of applicability due to hardwiring data parallelism
– MIMD machines as effective for data parallelism and more general
Prog. model converges with SPMD (single program multiple data)
• Contributes need for fast global synchronization
• Structured global address space, implemented with either SAS or MP
16
Dataflow Architectures
Represent computation as a graph of essential dependences
• Logical processor at each node, activated by availability of operands
• Message (tokens) carrying tag of next instruction sent to next processor
• Tag compared with others in matching store; match fires execution
1 b
a
+  


c e
d
f
Dataf low graph
f = a d
Network
Token
store
Waiting
Matching
Instruction
f etch
Execute
Token queue
Form
token
Network
Network
Program
store
a = (b +1)  (b  c)
d = c  e
17
Evolution and Convergence
Key characteristics
• Ability to name operations, synchronization, dynamic scheduling
Problems
• Operations have locality across them, useful to group together
• Handling complex data structures like arrays
• Complexity of matching store and memory units
• Expose too much parallelism (?)
Converged to use conventional processors and memory
• Support for large, dynamic set of threads to map to processors
• Typically shared address space as well
• But separation of progr. model from hardware (like data-parallel)
Lasting contributions:
• Integration of communication with thread (handler) generation
• Tightly integrated communication and fine-grained synchronization
• Remained useful concept for software (compilers etc.)
18
Systolic Architectures
• Replace single processor with array of regular processing elements
• Orchestrate data flow for high throughput with less memory access
Different from pipelining
• Nonlinear array structure, multidirection data flow, each PE may have
(small) local instruction and data memory
Different from SIMD: each PE may do something different
Initial motivation: VLSI enables inexpensive special-purpose chips
Represent algorithms directly by chips connected in regular pattern
M
PE
M
PE PE PE
19
Systolic Arrays (contd.)
• Practical realizations (e.g. iWARP) use quite general processors
– Enable variety of algorithms on same hardware
• But dedicated interconnect channels
– Data transfer directly from register to register across channel
• Specialized, and same problems as SIMD
– General purpose systems work well for same algorithms (locality etc.)
y(i) = w1  x(i) + w2  x(i + 1) + w3  x(i + 2) + w4  x(i + 3)
x8
y3 y2 y1
x7
x6
x5
x4
x3
w4
x2
x
w
x1
w3 w2 w1
xin
yin
xout
yout
xout = x
yout = yin + w  xin
x = xin
Example: Systolic array for 1-D convolution
20
Convergence: Generic Parallel Architecture
A generic modern multiprocessor
Node: processor(s), memory system, plus communication assist
• Network interface and communication controller
• Scalable network
• Convergence allows lots of innovation, now within framework
• Integration of assist with node, what operations, how efficiently...
Mem

Network
P
$
Communication
assist (CA)

More Related Content

What's hot

Multiprocessor
MultiprocessorMultiprocessor
MultiprocessorA B Shinde
 
Intro to parallel computing
Intro to parallel computingIntro to parallel computing
Intro to parallel computingPiyush Mittal
 
Parallel computing
Parallel computingParallel computing
Parallel computingvirend111
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD) Ali Raza
 
INTRODUCTION TO PARALLEL PROCESSING
INTRODUCTION TO PARALLEL PROCESSINGINTRODUCTION TO PARALLEL PROCESSING
INTRODUCTION TO PARALLEL PROCESSINGGS Kosta
 
multiprocessors and multicomputers
 multiprocessors and multicomputers multiprocessors and multicomputers
multiprocessors and multicomputersPankaj Kumar Jain
 
Parallel computing in india
Parallel computing in indiaParallel computing in india
Parallel computing in indiaPreeti Chauhan
 
Parallel computing
Parallel computingParallel computing
Parallel computingVinay Gupta
 
Parallel Programming
Parallel ProgrammingParallel Programming
Parallel ProgrammingUday Sharma
 
Reduce course notes class xi
Reduce course notes class xiReduce course notes class xi
Reduce course notes class xiSyed Zaid Irshad
 
Application of Parallel Processing
Application of Parallel ProcessingApplication of Parallel Processing
Application of Parallel Processingare you
 
Parallel computing and its applications
Parallel computing and its applicationsParallel computing and its applications
Parallel computing and its applicationsBurhan Ahmed
 
Single instruction multiple data
Single instruction multiple dataSingle instruction multiple data
Single instruction multiple dataSyed Zaid Irshad
 

What's hot (20)

Mimd
MimdMimd
Mimd
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Intro to parallel computing
Intro to parallel computingIntro to parallel computing
Intro to parallel computing
 
Parallel computing
Parallel computingParallel computing
Parallel computing
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 
INTRODUCTION TO PARALLEL PROCESSING
INTRODUCTION TO PARALLEL PROCESSINGINTRODUCTION TO PARALLEL PROCESSING
INTRODUCTION TO PARALLEL PROCESSING
 
Parallel computing persentation
Parallel computing persentationParallel computing persentation
Parallel computing persentation
 
multiprocessors and multicomputers
 multiprocessors and multicomputers multiprocessors and multicomputers
multiprocessors and multicomputers
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Parallel computing in india
Parallel computing in indiaParallel computing in india
Parallel computing in india
 
Parallel computing
Parallel computingParallel computing
Parallel computing
 
Introduction to parallel computing
Introduction to parallel computingIntroduction to parallel computing
Introduction to parallel computing
 
Par com
Par comPar com
Par com
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
 
Parallel Programming
Parallel ProgrammingParallel Programming
Parallel Programming
 
Reduce course notes class xi
Reduce course notes class xiReduce course notes class xi
Reduce course notes class xi
 
Application of Parallel Processing
Application of Parallel ProcessingApplication of Parallel Processing
Application of Parallel Processing
 
Parallel computing and its applications
Parallel computing and its applicationsParallel computing and its applications
Parallel computing and its applications
 
Single instruction multiple data
Single instruction multiple dataSingle instruction multiple data
Single instruction multiple data
 

Similar to Hpc 4 5

Multiprocessor.pptx
 Multiprocessor.pptx Multiprocessor.pptx
Multiprocessor.pptxMuhammad54342
 
BIL406-Chapter-2-Classifications of Parallel Systems.ppt
BIL406-Chapter-2-Classifications of Parallel Systems.pptBIL406-Chapter-2-Classifications of Parallel Systems.ppt
BIL406-Chapter-2-Classifications of Parallel Systems.pptKadri20
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptxPratik Gohel
 
Overview of HPC.pptx
Overview of HPC.pptxOverview of HPC.pptx
Overview of HPC.pptxsundariprabhu
 
Maxwell siuc hpc_description_tutorial
Maxwell siuc hpc_description_tutorialMaxwell siuc hpc_description_tutorial
Maxwell siuc hpc_description_tutorialmadhuinturi
 
Modern processor art
Modern processor artModern processor art
Modern processor artwaqasjadoon11
 
Modern processor art
Modern processor artModern processor art
Modern processor artwaqasjadoon11
 
Introduction to parallel processing
Introduction to parallel processingIntroduction to parallel processing
Introduction to parallel processingPage Maker
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD) Ali Raza
 
High Performance Computer Architecture
High Performance Computer ArchitectureHigh Performance Computer Architecture
High Performance Computer ArchitectureSubhasis Dash
 
Heterogeneous Computing : The Future of Systems
Heterogeneous Computing : The Future of SystemsHeterogeneous Computing : The Future of Systems
Heterogeneous Computing : The Future of SystemsAnand Haridass
 
M. Gschwind, A novel SIMD architecture for the Cell heterogeneous chip multip...
M. Gschwind, A novel SIMD architecture for the Cell heterogeneous chip multip...M. Gschwind, A novel SIMD architecture for the Cell heterogeneous chip multip...
M. Gschwind, A novel SIMD architecture for the Cell heterogeneous chip multip...Michael Gschwind
 
Advanced Computer Architecture
Advanced Computer ArchitectureAdvanced Computer Architecture
Advanced Computer Architecturenibiganesh
 

Similar to Hpc 4 5 (20)

Multiprocessor.pptx
 Multiprocessor.pptx Multiprocessor.pptx
Multiprocessor.pptx
 
BIL406-Chapter-2-Classifications of Parallel Systems.ppt
BIL406-Chapter-2-Classifications of Parallel Systems.pptBIL406-Chapter-2-Classifications of Parallel Systems.ppt
BIL406-Chapter-2-Classifications of Parallel Systems.ppt
 
Distributed Computing
Distributed ComputingDistributed Computing
Distributed Computing
 
Introduction to embedded System.pptx
Introduction to embedded System.pptxIntroduction to embedded System.pptx
Introduction to embedded System.pptx
 
L05 parallel
L05 parallelL05 parallel
L05 parallel
 
High performance computing
High performance computingHigh performance computing
High performance computing
 
Overview of HPC.pptx
Overview of HPC.pptxOverview of HPC.pptx
Overview of HPC.pptx
 
Maxwell siuc hpc_description_tutorial
Maxwell siuc hpc_description_tutorialMaxwell siuc hpc_description_tutorial
Maxwell siuc hpc_description_tutorial
 
Modern processor art
Modern processor artModern processor art
Modern processor art
 
processor struct
processor structprocessor struct
processor struct
 
Modern processor art
Modern processor artModern processor art
Modern processor art
 
Danish presentation
Danish presentationDanish presentation
Danish presentation
 
Introduction to parallel processing
Introduction to parallel processingIntroduction to parallel processing
Introduction to parallel processing
 
Parallel Processors (SIMD)
Parallel Processors (SIMD) Parallel Processors (SIMD)
Parallel Processors (SIMD)
 
High Performance Computer Architecture
High Performance Computer ArchitectureHigh Performance Computer Architecture
High Performance Computer Architecture
 
Heterogeneous Computing : The Future of Systems
Heterogeneous Computing : The Future of SystemsHeterogeneous Computing : The Future of Systems
Heterogeneous Computing : The Future of Systems
 
Exascale Capabl
Exascale CapablExascale Capabl
Exascale Capabl
 
Dsp ajal
Dsp  ajalDsp  ajal
Dsp ajal
 
M. Gschwind, A novel SIMD architecture for the Cell heterogeneous chip multip...
M. Gschwind, A novel SIMD architecture for the Cell heterogeneous chip multip...M. Gschwind, A novel SIMD architecture for the Cell heterogeneous chip multip...
M. Gschwind, A novel SIMD architecture for the Cell heterogeneous chip multip...
 
Advanced Computer Architecture
Advanced Computer ArchitectureAdvanced Computer Architecture
Advanced Computer Architecture
 

More from Yasir Khan (20)

Lecture 6
Lecture 6Lecture 6
Lecture 6
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
Lecture 3
Lecture 3Lecture 3
Lecture 3
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
 
Lec#1
Lec#1Lec#1
Lec#1
 
Ch10 (1)
Ch10 (1)Ch10 (1)
Ch10 (1)
 
Ch09
Ch09Ch09
Ch09
 
Ch05
Ch05Ch05
Ch05
 
Snooping protocols 3
Snooping protocols 3Snooping protocols 3
Snooping protocols 3
 
Snooping 2
Snooping 2Snooping 2
Snooping 2
 
Introduction 1
Introduction 1Introduction 1
Introduction 1
 
Hpc sys
Hpc sysHpc sys
Hpc sys
 
Hpc 6 7
Hpc 6 7Hpc 6 7
Hpc 6 7
 
Hpc 3
Hpc 3Hpc 3
Hpc 3
 
Hpc 2
Hpc 2Hpc 2
Hpc 2
 
Hpc 1
Hpc 1Hpc 1
Hpc 1
 
Flynns classification
Flynns classificationFlynns classification
Flynns classification
 
Dir based imp_5
Dir based imp_5Dir based imp_5
Dir based imp_5
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Uncertainity
Uncertainity Uncertainity
Uncertainity
 

Recently uploaded

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 

Recently uploaded (20)

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 

Hpc 4 5

  • 1. HIGH PERFORMANCE COMPUTING LECT_04&5 Convergence of Parallel Architectures-II BATCH: 11BS(IT) PREPARED BY: MUKHTIAR AHMED Asst. Prof. I.T Department
  • 2. 2 History P P C C I/O I/O M MM M PP C I/O M MC I/O $ $ “Mainframe” approach • Motivated by multiprogramming • Extends crossbar used for mem bw and I/O • Originally processor cost limited to small – later, cost of crossbar • Bandwidth scales with p • High incremental cost; use multistage instead “Minicomputer” approach • Almost all microprocessor systems have bus • Motivated by multiprogramming, TP • Used heavily for parallel computing • Called symmetric multiprocessor (SMP) • Latency larger than for uniprocessor • Bus is bandwidth bottleneck – caching is key: coherence problem • Low incremental cost
  • 3. 3 Example: Intel Pentium Pro Quad • All coherence and multiprocessing glue in processor module • Highly integrated, targeted at high volume • Low latency and bandwidth P-Pro bus (64-bit data, 36-bit address, 66 MHz) CPU Bus interface MIU P-Pro module P-Pro module P-Pro module256-KB L2 $ Interrupt controller PCI bridge PCI bridge Memory controller 1-, 2-, or 4-way interleav ed DRAM PCIbus PCIbus PCI I/O cards
  • 4. 4 Example: SUN Enterprise • 16 cards of either type: processors + memory, or I/O • All memory accessed over bus, so symmetric • Higher bandwidth, higher latency bus Gigaplane bus (256 data, 41 address, 83 MHz) SBUS SBUS SBUS 2FiberChannel 100bT,SCSI Bus interf ace CPU/mem cardsP $2 $ P $2 $ Mem ctrl Bus interf ace/switch I/O cards
  • 5. 5 Scaling Up • Problem is interconnect: cost (crossbar) or bandwidth (bus) • Dance-hall: bandwidth still scalable, but lower cost than crossbar – latencies to memory uniform, but uniformly large • Distributed memory or non-uniform memory access (NUMA) – Construct shared address space out of simple message transactions across a general-purpose network (e.g. read-request, read-response) • Caching shared (particularly nonlocal) data? M M M   M M M NetworkNetwork P $ P $ P $ P $ P $ P $ “Dance hall” Distributed memory
  • 6. 6 Example: Cray T3E • Scale up to 1024 processors, 480MB/s links • Memory controller generates comm. request for nonlocal references • No hardware mechanism for coherence (SGI Origin etc. provide this) Switch P $ XY Z External I/O Mem ctrl and NI Mem
  • 7. 7 Message Passing Architectures Complete computer as building block, including I/O • Communication via explicit I/O operations Programming model: directly access only private address space (local memory), comm. via explicit messages (send/receive) High-level block diagram similar to distributed-memory SAS • But comm. integrated at IO level, needn’t be into memory system • Like networks of workstations (clusters), but tighter integration • Easier to build than scalable SAS Programming model more removed from basic hardware operations • Library or OS intervention
  • 8. 8 Message-Passing Abstraction • Send specifies buffer to be transmitted and receiving process • Recv specifies sending process and application storage to receive into • Memory to memory copy, but need to name processes • Optional tag on send and matching rule on receive • User process names local data and entities in process/tag space too • In simplest form, the send/recv match achieves pairwise synch event – Other variants too • Many overheads: copying, buffer management, protection ProcessP ProcessQ AddressY AddressX SendX, Q, t ReceiveY, P, tMatch Local process address space Local process address space
  • 9. 9 Evolution of Message-Passing Machines Early machines: FIFO on each link • Hw close to prog. Model; synchronous ops • Replaced by DMA, enabling non-blocking ops – Buffered by system at destination until recv Diminishing role of topology • Store&forward routing: topology important • Introduction of pipelined routing made it less so • Cost is in node-network interface • Simplifies programming 000001 010011 100 110 101 111
  • 10. 10 Example: IBM SP-2 • Made out of essentially complete RS6000 workstations • Network interface integrated in I/O bus (bw limited by I/O bus) Memory bus MicroChannel bus I/O i860 NI DMA DRAM IBM SP-2 node L2 $ Power 2 CPU Memory controller 4-way interleav ed DRAM General interconnection network f ormed f rom 8-port switches NIC
  • 11. 11 Example Intel Paragon Memory bus (64-bit, 50 MHz) i860 L1 $ NI DMA i860 L1 $ Driv er Mem ctrl 4-way interleav ed DRAM Intel Paragon node 8 bits, 175 MHz, bidirectional2D grid network with processing node attached to ev ery switch Sandia’ s Intel Paragon XP/S-based Super computer
  • 12. 12 Toward Architectural Convergence Evolution and role of software have blurred boundary • Send/recv supported on SAS machines via buffers • Can construct global address space on MP using hashing • Page-based (or finer-grained) shared virtual memory Hardware organization converging too • Tighter NI integration even for MP (low-latency, high-bandwidth) • At lower level, even hardware SAS passes hardware messages Even clusters of workstations/SMPs are parallel systems • Emergence of fast system area networks (SAN) Programming models distinct, but organizations converging • Nodes connected by general network and communication assists • Implementations also converging, at least in high-end machines
  • 13. 13 Data Parallel Systems Programming model • Operations performed in parallel on each element of data structure • Logically single thread of control, performs sequential or parallel steps • Conceptually, a processor associated with each data element Architectural model • Array of many simple, cheap processors with little memory each – Processors don’t sequence through instructions • Attached to a control processor that issues instructions • Specialized and general communication, cheap global synchronization PE PE PE PE PE PE PE PE PE     Control processor Original motivations •Matches simple differential equation solvers •Centralize high cost of instruction fetch/sequencing
  • 14. 14 Application of Data Parallelism • Each PE contains an employee record with his/her salary If salary > 100K then salary = salary *1.05 else salary = salary *1.10 • Logically, the whole operation is a single step • Some processors enabled for arithmetic operation, others disabled Other examples: • Finite differences, linear algebra, ... • Document searching, graphics, image processing, ... Some recent machines: • Thinking Machines CM-1, CM-2 (and CM-5) • Maspar MP-1 and MP-2,
  • 15. 15 Evolution and Convergence Rigid control structure (SIMD in Flynn taxonomy) • SISD = uniprocessor, MIMD = multiprocessor Popular when cost savings of centralized sequencer high • 60s when CPU was a cabinet • Replaced by vectors in mid-70s – More flexible w.r.t. memory layout and easier to manage • Revived in mid-80s when 32-bit datapath slices just fit on chip • No longer true with modern microprocessors Other reasons for demise • Simple, regular applications have good locality, can do well anyway • Loss of applicability due to hardwiring data parallelism – MIMD machines as effective for data parallelism and more general Prog. model converges with SPMD (single program multiple data) • Contributes need for fast global synchronization • Structured global address space, implemented with either SAS or MP
  • 16. 16 Dataflow Architectures Represent computation as a graph of essential dependences • Logical processor at each node, activated by availability of operands • Message (tokens) carrying tag of next instruction sent to next processor • Tag compared with others in matching store; match fires execution 1 b a +     c e d f Dataf low graph f = a d Network Token store Waiting Matching Instruction f etch Execute Token queue Form token Network Network Program store a = (b +1)  (b  c) d = c  e
  • 17. 17 Evolution and Convergence Key characteristics • Ability to name operations, synchronization, dynamic scheduling Problems • Operations have locality across them, useful to group together • Handling complex data structures like arrays • Complexity of matching store and memory units • Expose too much parallelism (?) Converged to use conventional processors and memory • Support for large, dynamic set of threads to map to processors • Typically shared address space as well • But separation of progr. model from hardware (like data-parallel) Lasting contributions: • Integration of communication with thread (handler) generation • Tightly integrated communication and fine-grained synchronization • Remained useful concept for software (compilers etc.)
  • 18. 18 Systolic Architectures • Replace single processor with array of regular processing elements • Orchestrate data flow for high throughput with less memory access Different from pipelining • Nonlinear array structure, multidirection data flow, each PE may have (small) local instruction and data memory Different from SIMD: each PE may do something different Initial motivation: VLSI enables inexpensive special-purpose chips Represent algorithms directly by chips connected in regular pattern M PE M PE PE PE
  • 19. 19 Systolic Arrays (contd.) • Practical realizations (e.g. iWARP) use quite general processors – Enable variety of algorithms on same hardware • But dedicated interconnect channels – Data transfer directly from register to register across channel • Specialized, and same problems as SIMD – General purpose systems work well for same algorithms (locality etc.) y(i) = w1  x(i) + w2  x(i + 1) + w3  x(i + 2) + w4  x(i + 3) x8 y3 y2 y1 x7 x6 x5 x4 x3 w4 x2 x w x1 w3 w2 w1 xin yin xout yout xout = x yout = yin + w  xin x = xin Example: Systolic array for 1-D convolution
  • 20. 20 Convergence: Generic Parallel Architecture A generic modern multiprocessor Node: processor(s), memory system, plus communication assist • Network interface and communication controller • Scalable network • Convergence allows lots of innovation, now within framework • Integration of assist with node, what operations, how efficiently... Mem  Network P $ Communication assist (CA)