SlideShare a Scribd company logo
Parallel and Distributed Computing
Chapter 3: Models of Parallel Computers and
Interconnections
1
Muhammad Haroon
mr.harunahmad2014@gmail.com
Cell# +92300-7327761
Department of Computer Science
Hitec University
Taxila Cantt
Pakistan
3.1a: Architecture of Theoretical Parallel
Computer
2
 Parallel Random Access Machine (PRAM) is a
theoretical model of parallel computer, with
1.) p identical processors
2.) a global memory of unbounded size
3.) memory is uniformly accessible to all processors
 Processors share a common clock
 They may execute different instructions in each cycle
 There are four subclasses of PRAM, based on the
memory access protocols
3.1b: Illustration of the PRAM Model
3
3.1c: PRAM Subclasses
4
 Exclusive-read, exclusive-write (EREW) PRAM: Access to a
memory location is exclusive. No concurrent read or write
operations are allowed
The weakest PRAM model, affording minimum concurrency in
memory access
 Concurrent-read, exclusive-write (CREW) PRAM: Multiple read
accesses to a memory location is allowed. Multiple write
accesses to a memory location is serialized
 Exclusive-read, concurrent-write (ERCW) PRAM: Multiple write
accesses are allowed to a memory location. Multiple read
accesses are serialized
 Concurrent-read, concurrent-write (CRCW) PRAM: Both
multiple read and multiple write accesses to a memory location
are allowed
This is the most powerful PRAM model
3.1d: PRAM Semantics
5
 Concurrent read access to a memory location by all
processors is OK.
 Concurrent write access to a memory location
presents semantic discrepancy and requires
arbitration
 The most frequently used arbitration protocols are:
 Common: Concurrent write is allowed if all the writing
processors have the same value
 Arbitrary: An arbitrary processor is allowed to
proceed with the write operation, and the rest fail
 Priority: Processors are prioritized a priori, the
processor with the highest priority writes and others
fail
 Sum: The sum of all the quantities is written
3.2: Processor Granularity
6
 Coarse-grained: Few powerful processors
 Fine-grained: Many less powerful processors
 Medium-grained: between the above two
 The granularity definition is relative
 Another definition of granularity is with respect to the
relative rates of communication to computation
Fine-grained: shorter duration between
communication
Coarse-grained: longer duration between
communication
3.3a: Interconnection Networks
7
 Static networks: Processing nodes are
connected by point-to-point communication
links (direct networks)
Mostly used for message-passing computers
 Dynamic networks: Communication links
are connected to one another dynamically by
the switches to establish paths among
processing nodes and memory banks
(indirect networks)
 Mostly used for shared memory computers
3.3c: Examples of Static Interconnections
Full-y connected
8
2D mesh with wraparound
3.3d: Switch Board Connections
9
3.3e: Dynamic Interconnection
10
3.3f: Multistage Dynamic Interconnection
11
3.3g: Switch Functionalities
12
 A single switch has a set of input ports and a set of
output ports
 The switch functionalities include:
1) a mapping from input to output ports (basic)
2) additional support for
internal buffering (when the requested output port
is busy)
routing (to alleviate network congestion), and
multicasting (same output on multiple ports)
 The degree of a switch is the total number of ports
3.3h: Cost of a Switch
13
 The cost of a switch is influenced by the cost
of mapping hardware, the peripheral
hardware, and packaging costs
 The mapping hardware typically grows as the
square of the degree of the switch
 The peripheral hardware grows linearly as
the degree
 The packaging costs grow linearly as the
number of pins
3.3h: Network Interface (Static)
14
 Network interface is to handle the connectivity
between the node and the network
 Network interface has input and output ports that
pipe data into and out of the network
 Its functionalities include:
1) packetizing data
2) computing routing information
3) buffering incoming and outgoing data
4) error checking
3.3i: Approximation of Network Costs
15
 For dynamic interconnection networks: Its
cost is proportional to the number of switches
used in the network
 For static Interconnection networks: Its cost
is proportional to the number of links
3.4a: Network Topologies
16
 Multiple processors must be working together to
solve a common task
 They must communicate during the course of
solving the task
 The communication is provided by the
interconnection networks
 How to connect multiple processors in a parallel
system --
This is a trade-off between cost and scalability with
performance
3.4b: Bus-Based Networks
17
 A bus-based network consists of a shared medium
that connects all nodes
 The cost of a bus-based network scales linearly with
respect to the number of processors p
 The distance between any two nodes in the network
is constant O(1)
 Ideal for broadcasting information
 Disadvantage: bounded bandwidth & blocking
Performance is not scalable with respect to the
number of processors p
3.6b: Bus-Based Interconnect with Cache
18
3.6c: Crossbar Network
19
 A crossbar network uses a grid of switches or
switching nodes to connect p processors to b
memory banks
 It is a non-blocking network
 The total number of switching nodes is Θ(pb)
 In many cases, b is at least on the order of p, the
complexity of the crossbar network is Ω(p*p)
 Disadvantage: Switch complexity is difficult to realize
at high data rates
 Scalable in terms of performance, but not scalable
in terms of cost
3.6d: Crossbar Network (I)
20
3.6e: Crossbar Network (II)
21
3.6f: Multistage Networks
22
 To balance the scalability between performance and
costs
 Allowing multiple stages between processors and
memory banks
 Switches are installed at each stage
 It is more scalable than bus-based networks in
terms of performance
 It is more scalable than the crossbar networks in
terms of costs
 A special multistage interconnection network is the
omega network
3.7: Completely-Connected Network
 Each node has a direct
communication link to
every other node in the
network (non-blocking)
 How many
communication links
are needed?
 Scalable in terms of
performance, not
scalable in terms of
cost
23
3.8: Star-Connected Network
 One processor acts as the
central processor
 Every other processor has a
communication link with this
processor
 Congestion may happen at
the central processor
 This is a blocking network
 Scalable in terms of cost,
not scalable in terms of
performance
24
3.9: LinearArray and Ring Networks
Scalable in terms of costs, not scalable in terms
of performance
25
3.10: 2D Mesh Networks
2D mesh network
26
2D mesh network with
wraparound
3.11: 3D Mesh Network
Many physical simulations can be mapped naturally to a
3D network topology. 3D mesh interconnection is common
27
3.13a: Tree-Based Networks
28
 There is only one path between any pair of
nodes
 Linear array and star-connected networks are
special cases of tree networks
 Tree networks can be static or dynamic
 In case of dynamic interconnection, the
intermediate level processors are switching
nodes and the leaf nodes are processing
elements
3.13b: What is This Tree Network?
29
3.13c: Static and Dynamic Tree Networks
30
3.13d: Communication in Tree Networks
31
 Messages from one half tree to another half
tree are routed through the top level nodes
 Communication bottleneck forms at higher
levels of the trees
 The solution is to increase the number of
communication links and switching nodes at
the higher levels
 The fat tree is suitable for dynamic networks
3.14a: Evaluating Static Interconnection
Networks
32
 There are several criteria to characterize the
cost and performance of static
interconnection networks
 Diameter
 Connectivity
 Bisection Width
 Bisection Bandwidth
 Cost
3.14b: Diameter of a Network
 The diameter of a
network is the the
maximum distance
between any two
processing nodes in the
network
 The distance between
two processing nodes
is defined as the
shortest path between
them
33
3.14c: Diameters of Mesh Networks
34
3.15a: Connectivity of Networks
35
 The connectivity of a network is a measure
of the multiplicity of paths between any two
processing nodes
 The arc connectivity is the minimum number
of arcs that must be removed from the
network to break it into two disconnected
networks
 A network with high connectivity has lower
contentions for communication resources
3.15b: Connectivity of Mesh Array
36
3.16a: Bisection Width & Channel Width
37
 The bisection width is the minimum number
of communication links that must be removed
to partition the network into two equal halves
 The channel width is the number of bits that
can be communicated simultaneously over a
link connecting two nodes
 Channel width is equal to the number of
physical wires in each communication link
3.16b: Channel Rate &Channel
Bandwidth
38
 The peak rate a single physical wire can deliver bits
is called channel rate
 The channel bandwidth is the peak rate at which
data can be communicated between the ends of a
communication link
 Channel bandwidth is the product of channel rate
and channel width
 The bisection bandwidth is the minimum volume of
communication allowed between any two halves of
the network
 It is the product of bisection width and channel
bandwidth
3.16c: Characteristics of Static Networks
Network Diameter Bisection
Width
Arc
Connect.
Number
of Links
Fully conn-ted 1 p2
/4 p-1 p(p-1)/2
Star 2 1 1 p-1
Binary tree 2log((p 1)/ 2) 1 1 p-1
Linear array p-1 1 1 p-1
Ring |p-2| 2 2 p
2D mesh 2( p 1) p 2 2( p p)
2D meshwrap
2

p / 2
 2 p 4 2p
Hypercube log p p/2 log p (p log p) / 2
39
3.17: Cost of Static Interconnection
Networks
40
 The cost of a static network can be defined in
proportion to the number of communication links or
the number of wires required by the network
 Another measure is the bisection bandwidth of a
network
a lower bound on the area in a 2D packaging or the
volume in a 3D packaging
Definition is in terms of the order of magnitudes
 Completely connected and hypercube networks are
more expensive than others
3.18: Evaluating Dynamic Interconnection
Networks
41
 Need consider both processing nodes and switching
units
 Criteria similar to those used with the static
interconnection networks can be defined
 The diameter is defined as the maximum distance
between any two nodes in the network
 The connectivity is the maximum number of nodes
(or edges) that must fail to break the network
 The cost of a dynamic network is determined by the
number of switching nodes in the network

More Related Content

What's hot

Basic communication operations - One to all Broadcast
Basic communication operations - One to all BroadcastBasic communication operations - One to all Broadcast
Basic communication operations - One to all Broadcast
RashiJoshi11
 
System interconnect architecture
System interconnect architectureSystem interconnect architecture
System interconnect architecture
Gagan Kumar
 
Interconnection Network
Interconnection NetworkInterconnection Network
Interconnection Network
Heman Pathak
 
Pram model
Pram modelPram model
Pram model
MANASYJAYASURYA
 
Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)
Jyothishmathi Institute of Technology and Science Karimnagar
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
Ravindra Raju Kolahalam
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
BE Smârt
 
Distributed Coordination-Based Systems
Distributed Coordination-Based SystemsDistributed Coordination-Based Systems
Distributed Coordination-Based Systems
Ahmed Magdy Ezzeldin, MSc.
 
INTER PROCESS COMMUNICATION (IPC).pptx
INTER PROCESS COMMUNICATION (IPC).pptxINTER PROCESS COMMUNICATION (IPC).pptx
INTER PROCESS COMMUNICATION (IPC).pptx
LECO9
 
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERS
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION)  SOLVED PAPERSVTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION)  SOLVED PAPERS
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERS
vtunotesbysree
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
Arpan Baishya
 
Lecture 4 principles of parallel algorithm design updated
Lecture 4   principles of parallel algorithm design updatedLecture 4   principles of parallel algorithm design updated
Lecture 4 principles of parallel algorithm design updated
Vajira Thambawita
 
All-Reduce and Prefix-Sum Operations
All-Reduce and Prefix-Sum Operations All-Reduce and Prefix-Sum Operations
All-Reduce and Prefix-Sum Operations
Syed Zaid Irshad
 
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer Architecture
Pankaj Kumar Jain
 
MPI message passing interface
MPI message passing interfaceMPI message passing interface
MPI message passing interface
Mohit Raghuvanshi
 
Parallel computing persentation
Parallel computing persentationParallel computing persentation
Parallel computing persentation
VIKAS SINGH BHADOURIA
 
Physical organization of parallel platforms
Physical organization of parallel platformsPhysical organization of parallel platforms
Physical organization of parallel platforms
Syed Zaid Irshad
 
Centralized shared memory architectures
Centralized shared memory architecturesCentralized shared memory architectures
Centralized shared memory architectures
Gokuldhev mony
 
Design issues of dos
Design issues of dosDesign issues of dos
Design issues of dos
vanamali_vanu
 
Multiprocessor Architecture (Advanced computer architecture)
Multiprocessor Architecture  (Advanced computer architecture)Multiprocessor Architecture  (Advanced computer architecture)
Multiprocessor Architecture (Advanced computer architecture)
vani261
 

What's hot (20)

Basic communication operations - One to all Broadcast
Basic communication operations - One to all BroadcastBasic communication operations - One to all Broadcast
Basic communication operations - One to all Broadcast
 
System interconnect architecture
System interconnect architectureSystem interconnect architecture
System interconnect architecture
 
Interconnection Network
Interconnection NetworkInterconnection Network
Interconnection Network
 
Pram model
Pram modelPram model
Pram model
 
Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)Mobile computing (Wireless) Medium Access Control (MAC)
Mobile computing (Wireless) Medium Access Control (MAC)
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 
Distributed Coordination-Based Systems
Distributed Coordination-Based SystemsDistributed Coordination-Based Systems
Distributed Coordination-Based Systems
 
INTER PROCESS COMMUNICATION (IPC).pptx
INTER PROCESS COMMUNICATION (IPC).pptxINTER PROCESS COMMUNICATION (IPC).pptx
INTER PROCESS COMMUNICATION (IPC).pptx
 
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERS
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION)  SOLVED PAPERSVTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION)  SOLVED PAPERS
VTU 5TH SEM CSE COMPUTER NETWORKS-1 (DATA COMMUNICATION) SOLVED PAPERS
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
 
Lecture 4 principles of parallel algorithm design updated
Lecture 4   principles of parallel algorithm design updatedLecture 4   principles of parallel algorithm design updated
Lecture 4 principles of parallel algorithm design updated
 
All-Reduce and Prefix-Sum Operations
All-Reduce and Prefix-Sum Operations All-Reduce and Prefix-Sum Operations
All-Reduce and Prefix-Sum Operations
 
program partitioning and scheduling IN Advanced Computer Architecture
program partitioning and scheduling  IN Advanced Computer Architectureprogram partitioning and scheduling  IN Advanced Computer Architecture
program partitioning and scheduling IN Advanced Computer Architecture
 
MPI message passing interface
MPI message passing interfaceMPI message passing interface
MPI message passing interface
 
Parallel computing persentation
Parallel computing persentationParallel computing persentation
Parallel computing persentation
 
Physical organization of parallel platforms
Physical organization of parallel platformsPhysical organization of parallel platforms
Physical organization of parallel platforms
 
Centralized shared memory architectures
Centralized shared memory architecturesCentralized shared memory architectures
Centralized shared memory architectures
 
Design issues of dos
Design issues of dosDesign issues of dos
Design issues of dos
 
Multiprocessor Architecture (Advanced computer architecture)
Multiprocessor Architecture  (Advanced computer architecture)Multiprocessor Architecture  (Advanced computer architecture)
Multiprocessor Architecture (Advanced computer architecture)
 

Similar to Lecture 05 - Chapter 3 - Models of parallel computers and interconnections

Static networks
Static networksStatic networks
Static networks
mohamed_awad121
 
chaptet 4 DC and CN.ppt
chaptet 4 DC and CN.pptchaptet 4 DC and CN.ppt
chaptet 4 DC and CN.ppt
EliasPetros
 
Three dimension hamiltonian broadcast
Three dimension hamiltonian broadcastThree dimension hamiltonian broadcast
Three dimension hamiltonian broadcast
IJCNCJournal
 
PDCLECTURE.pptx
PDCLECTURE.pptxPDCLECTURE.pptx
PDCLECTURE.pptx
ssuser5904d8
 
network.ppt
network.pptnetwork.ppt
network.ppt
Rahul11702
 
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
eSAT Publishing House
 
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
eSAT Journals
 
Concept of networking
Concept of networkingConcept of networking
Concept of networking
sumit dimri
 
B031201016019
B031201016019B031201016019
B031201016019
ijceronline
 
Class_notes_InternetTechnology
Class_notes_InternetTechnologyClass_notes_InternetTechnology
Class_notes_InternetTechnology
Gulrez Khan
 
Chapter 13
Chapter 13Chapter 13
Chapter 13
guest35417d
 
network layer.docx
network layer.docxnetwork layer.docx
network layer.docx
siddharthakayastha
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
kkhan745
 
Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01
Sabiulla Barkathullah
 
Ccna day 1
Ccna day 1Ccna day 1
Ccna day 1
Sachin Morya
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
Ccna day1Ccna day1
Ccna day1
danishrafiq
 
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATIONSCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
ijdms
 
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATIONSCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
ijdms
 
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATIONSCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
ijdms
 

Similar to Lecture 05 - Chapter 3 - Models of parallel computers and interconnections (20)

Static networks
Static networksStatic networks
Static networks
 
chaptet 4 DC and CN.ppt
chaptet 4 DC and CN.pptchaptet 4 DC and CN.ppt
chaptet 4 DC and CN.ppt
 
Three dimension hamiltonian broadcast
Three dimension hamiltonian broadcastThree dimension hamiltonian broadcast
Three dimension hamiltonian broadcast
 
PDCLECTURE.pptx
PDCLECTURE.pptxPDCLECTURE.pptx
PDCLECTURE.pptx
 
network.ppt
network.pptnetwork.ppt
network.ppt
 
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
 
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
Enhancement of qos in multihop wireless networks by delivering cbr using lb a...
 
Concept of networking
Concept of networkingConcept of networking
Concept of networking
 
B031201016019
B031201016019B031201016019
B031201016019
 
Class_notes_InternetTechnology
Class_notes_InternetTechnologyClass_notes_InternetTechnology
Class_notes_InternetTechnology
 
Chapter 13
Chapter 13Chapter 13
Chapter 13
 
network layer.docx
network layer.docxnetwork layer.docx
network layer.docx
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01Ccna day1-130802165909-phpapp01
Ccna day1-130802165909-phpapp01
 
Ccna day 1
Ccna day 1Ccna day 1
Ccna day 1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
Ccna day1
Ccna day1Ccna day1
Ccna day1
 
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATIONSCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
 
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATIONSCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
 
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATIONSCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
SCALING DISTRIBUTED DATABASE JOINS BY DECOUPLING COMPUTATION AND COMMUNICATION
 

More from National College of Business Administration & Economics ( NCBA&E)

Lecturre 07 - Chapter 05 - Basic Communications Operations
Lecturre 07 - Chapter 05 - Basic Communications  OperationsLecturre 07 - Chapter 05 - Basic Communications  Operations
Lecturre 07 - Chapter 05 - Basic Communications Operations
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 05 - Chapter 03 - Examples
Lecture 05 - Chapter 03 - ExamplesLecture 05 - Chapter 03 - Examples
Lecture # 02 - OOP with Python Language by Muhammad Haroon
Lecture # 02 - OOP with Python Language by Muhammad HaroonLecture # 02 - OOP with Python Language by Muhammad Haroon
Lecture # 02 - OOP with Python Language by Muhammad Haroon
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 06 - Chapter 4 - Communications in Networks
Lecture 06 - Chapter 4 - Communications in NetworksLecture 06 - Chapter 4 - Communications in Networks
Lecture 06 - Chapter 4 - Communications in Networks
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 01 - Basic Concept About OOP With Python
Lecture 01 - Basic Concept About OOP With PythonLecture 01 - Basic Concept About OOP With Python
Lecture 01 - Basic Concept About OOP With Python
National College of Business Administration & Economics ( NCBA&E)
 
Lecture01 Part(B) - Installing Visual Studio Code On All Version Of Windows O...
Lecture01 Part(B) - Installing Visual Studio Code On All Version Of Windows O...Lecture01 Part(B) - Installing Visual Studio Code On All Version Of Windows O...
Lecture01 Part(B) - Installing Visual Studio Code On All Version Of Windows O...
National College of Business Administration & Economics ( NCBA&E)
 
Lecture02 - Fundamental Programming with Python Language
Lecture02 - Fundamental Programming with Python LanguageLecture02 - Fundamental Programming with Python Language
Lecture02 - Fundamental Programming with Python Language
National College of Business Administration & Economics ( NCBA&E)
 
Lecture01 - Fundamental Programming with Python Language
Lecture01 - Fundamental Programming with Python LanguageLecture01 - Fundamental Programming with Python Language
Lecture01 - Fundamental Programming with Python Language
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 04 (Part 01) - Measure of Location
Lecture 04 (Part 01) - Measure of LocationLecture 04 (Part 01) - Measure of Location
Lecture 04 (Part 01) - Measure of Location
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 04 chapter 2 - Parallel Programming Platforms
Lecture 04  chapter 2 - Parallel Programming PlatformsLecture 04  chapter 2 - Parallel Programming Platforms
Lecture 04 chapter 2 - Parallel Programming Platforms
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 04 Chapter 1 - Introduction to Parallel Computing
Lecture 04  Chapter 1 - Introduction to Parallel ComputingLecture 04  Chapter 1 - Introduction to Parallel Computing
Lecture 04 Chapter 1 - Introduction to Parallel Computing
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 03 Part 02 - All Examples of Chapter 02 by Muhammad Haroon
Lecture 03 Part 02 - All Examples of Chapter 02 by Muhammad HaroonLecture 03 Part 02 - All Examples of Chapter 02 by Muhammad Haroon
Lecture 03 Part 02 - All Examples of Chapter 02 by Muhammad Haroon
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 03 - Chapter 02 - Part 02 - Probability & Statistics by Muhammad Haroon
Lecture 03 - Chapter 02 - Part 02 - Probability & Statistics by Muhammad HaroonLecture 03 - Chapter 02 - Part 02 - Probability & Statistics by Muhammad Haroon
Lecture 03 - Chapter 02 - Part 02 - Probability & Statistics by Muhammad Haroon
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 03 - Synchronous and Asynchronous Communication - Concurrency - Fault...
Lecture 03 - Synchronous and Asynchronous Communication - Concurrency - Fault...Lecture 03 - Synchronous and Asynchronous Communication - Concurrency - Fault...
Lecture 03 - Synchronous and Asynchronous Communication - Concurrency - Fault...
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 03 - Chapter 02 - Part 01 - Probability & Statistics by Muhammad Haroon
Lecture 03 - Chapter 02 - Part 01 - Probability & Statistics by Muhammad HaroonLecture 03 - Chapter 02 - Part 01 - Probability & Statistics by Muhammad Haroon
Lecture 03 - Chapter 02 - Part 01 - Probability & Statistics by Muhammad Haroon
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 02 - Chapter 01 - Probability & Statistics by Muhammad Haroon
Lecture 02 - Chapter 01 - Probability & Statistics by Muhammad HaroonLecture 02 - Chapter 01 - Probability & Statistics by Muhammad Haroon
Lecture 02 - Chapter 01 - Probability & Statistics by Muhammad Haroon
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 02 - Chapter 1 (Part 02): Grid/Cloud Computing Systems, Cluster Comp...
Lecture 02 - Chapter 1 (Part 02):  Grid/Cloud Computing Systems, Cluster Comp...Lecture 02 - Chapter 1 (Part 02):  Grid/Cloud Computing Systems, Cluster Comp...
Lecture 02 - Chapter 1 (Part 02): Grid/Cloud Computing Systems, Cluster Comp...
National College of Business Administration & Economics ( NCBA&E)
 
Lecture 01 - Chapter 1 (Part 01): Some basic concept of Operating System (OS)...
Lecture 01 - Chapter 1 (Part 01): Some basic concept of Operating System (OS)...Lecture 01 - Chapter 1 (Part 01): Some basic concept of Operating System (OS)...
Lecture 01 - Chapter 1 (Part 01): Some basic concept of Operating System (OS)...
National College of Business Administration & Economics ( NCBA&E)
 
WHO director-general's opening remarks at the media briefing on covid-19 - 23...
WHO director-general's opening remarks at the media briefing on covid-19 - 23...WHO director-general's opening remarks at the media briefing on covid-19 - 23...
WHO director-general's opening remarks at the media briefing on covid-19 - 23...
National College of Business Administration & Economics ( NCBA&E)
 
Course outline of parallel and distributed computing
Course outline of parallel and distributed computingCourse outline of parallel and distributed computing
Course outline of parallel and distributed computing
National College of Business Administration & Economics ( NCBA&E)
 

More from National College of Business Administration & Economics ( NCBA&E) (20)

Lecturre 07 - Chapter 05 - Basic Communications Operations
Lecturre 07 - Chapter 05 - Basic Communications  OperationsLecturre 07 - Chapter 05 - Basic Communications  Operations
Lecturre 07 - Chapter 05 - Basic Communications Operations
 
Lecture 05 - Chapter 03 - Examples
Lecture 05 - Chapter 03 - ExamplesLecture 05 - Chapter 03 - Examples
Lecture 05 - Chapter 03 - Examples
 
Lecture # 02 - OOP with Python Language by Muhammad Haroon
Lecture # 02 - OOP with Python Language by Muhammad HaroonLecture # 02 - OOP with Python Language by Muhammad Haroon
Lecture # 02 - OOP with Python Language by Muhammad Haroon
 
Lecture 06 - Chapter 4 - Communications in Networks
Lecture 06 - Chapter 4 - Communications in NetworksLecture 06 - Chapter 4 - Communications in Networks
Lecture 06 - Chapter 4 - Communications in Networks
 
Lecture 01 - Basic Concept About OOP With Python
Lecture 01 - Basic Concept About OOP With PythonLecture 01 - Basic Concept About OOP With Python
Lecture 01 - Basic Concept About OOP With Python
 
Lecture01 Part(B) - Installing Visual Studio Code On All Version Of Windows O...
Lecture01 Part(B) - Installing Visual Studio Code On All Version Of Windows O...Lecture01 Part(B) - Installing Visual Studio Code On All Version Of Windows O...
Lecture01 Part(B) - Installing Visual Studio Code On All Version Of Windows O...
 
Lecture02 - Fundamental Programming with Python Language
Lecture02 - Fundamental Programming with Python LanguageLecture02 - Fundamental Programming with Python Language
Lecture02 - Fundamental Programming with Python Language
 
Lecture01 - Fundamental Programming with Python Language
Lecture01 - Fundamental Programming with Python LanguageLecture01 - Fundamental Programming with Python Language
Lecture01 - Fundamental Programming with Python Language
 
Lecture 04 (Part 01) - Measure of Location
Lecture 04 (Part 01) - Measure of LocationLecture 04 (Part 01) - Measure of Location
Lecture 04 (Part 01) - Measure of Location
 
Lecture 04 chapter 2 - Parallel Programming Platforms
Lecture 04  chapter 2 - Parallel Programming PlatformsLecture 04  chapter 2 - Parallel Programming Platforms
Lecture 04 chapter 2 - Parallel Programming Platforms
 
Lecture 04 Chapter 1 - Introduction to Parallel Computing
Lecture 04  Chapter 1 - Introduction to Parallel ComputingLecture 04  Chapter 1 - Introduction to Parallel Computing
Lecture 04 Chapter 1 - Introduction to Parallel Computing
 
Lecture 03 Part 02 - All Examples of Chapter 02 by Muhammad Haroon
Lecture 03 Part 02 - All Examples of Chapter 02 by Muhammad HaroonLecture 03 Part 02 - All Examples of Chapter 02 by Muhammad Haroon
Lecture 03 Part 02 - All Examples of Chapter 02 by Muhammad Haroon
 
Lecture 03 - Chapter 02 - Part 02 - Probability & Statistics by Muhammad Haroon
Lecture 03 - Chapter 02 - Part 02 - Probability & Statistics by Muhammad HaroonLecture 03 - Chapter 02 - Part 02 - Probability & Statistics by Muhammad Haroon
Lecture 03 - Chapter 02 - Part 02 - Probability & Statistics by Muhammad Haroon
 
Lecture 03 - Synchronous and Asynchronous Communication - Concurrency - Fault...
Lecture 03 - Synchronous and Asynchronous Communication - Concurrency - Fault...Lecture 03 - Synchronous and Asynchronous Communication - Concurrency - Fault...
Lecture 03 - Synchronous and Asynchronous Communication - Concurrency - Fault...
 
Lecture 03 - Chapter 02 - Part 01 - Probability & Statistics by Muhammad Haroon
Lecture 03 - Chapter 02 - Part 01 - Probability & Statistics by Muhammad HaroonLecture 03 - Chapter 02 - Part 01 - Probability & Statistics by Muhammad Haroon
Lecture 03 - Chapter 02 - Part 01 - Probability & Statistics by Muhammad Haroon
 
Lecture 02 - Chapter 01 - Probability & Statistics by Muhammad Haroon
Lecture 02 - Chapter 01 - Probability & Statistics by Muhammad HaroonLecture 02 - Chapter 01 - Probability & Statistics by Muhammad Haroon
Lecture 02 - Chapter 01 - Probability & Statistics by Muhammad Haroon
 
Lecture 02 - Chapter 1 (Part 02): Grid/Cloud Computing Systems, Cluster Comp...
Lecture 02 - Chapter 1 (Part 02):  Grid/Cloud Computing Systems, Cluster Comp...Lecture 02 - Chapter 1 (Part 02):  Grid/Cloud Computing Systems, Cluster Comp...
Lecture 02 - Chapter 1 (Part 02): Grid/Cloud Computing Systems, Cluster Comp...
 
Lecture 01 - Chapter 1 (Part 01): Some basic concept of Operating System (OS)...
Lecture 01 - Chapter 1 (Part 01): Some basic concept of Operating System (OS)...Lecture 01 - Chapter 1 (Part 01): Some basic concept of Operating System (OS)...
Lecture 01 - Chapter 1 (Part 01): Some basic concept of Operating System (OS)...
 
WHO director-general's opening remarks at the media briefing on covid-19 - 23...
WHO director-general's opening remarks at the media briefing on covid-19 - 23...WHO director-general's opening remarks at the media briefing on covid-19 - 23...
WHO director-general's opening remarks at the media briefing on covid-19 - 23...
 
Course outline of parallel and distributed computing
Course outline of parallel and distributed computingCourse outline of parallel and distributed computing
Course outline of parallel and distributed computing
 

Recently uploaded

PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
Kavitha Krishnan
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 

Recently uploaded (20)

PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Assessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptxAssessment and Planning in Educational technology.pptx
Assessment and Planning in Educational technology.pptx
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 

Lecture 05 - Chapter 3 - Models of parallel computers and interconnections

  • 1. Parallel and Distributed Computing Chapter 3: Models of Parallel Computers and Interconnections 1 Muhammad Haroon mr.harunahmad2014@gmail.com Cell# +92300-7327761 Department of Computer Science Hitec University Taxila Cantt Pakistan
  • 2. 3.1a: Architecture of Theoretical Parallel Computer 2  Parallel Random Access Machine (PRAM) is a theoretical model of parallel computer, with 1.) p identical processors 2.) a global memory of unbounded size 3.) memory is uniformly accessible to all processors  Processors share a common clock  They may execute different instructions in each cycle  There are four subclasses of PRAM, based on the memory access protocols
  • 3. 3.1b: Illustration of the PRAM Model 3
  • 4. 3.1c: PRAM Subclasses 4  Exclusive-read, exclusive-write (EREW) PRAM: Access to a memory location is exclusive. No concurrent read or write operations are allowed The weakest PRAM model, affording minimum concurrency in memory access  Concurrent-read, exclusive-write (CREW) PRAM: Multiple read accesses to a memory location is allowed. Multiple write accesses to a memory location is serialized  Exclusive-read, concurrent-write (ERCW) PRAM: Multiple write accesses are allowed to a memory location. Multiple read accesses are serialized  Concurrent-read, concurrent-write (CRCW) PRAM: Both multiple read and multiple write accesses to a memory location are allowed This is the most powerful PRAM model
  • 5. 3.1d: PRAM Semantics 5  Concurrent read access to a memory location by all processors is OK.  Concurrent write access to a memory location presents semantic discrepancy and requires arbitration  The most frequently used arbitration protocols are:  Common: Concurrent write is allowed if all the writing processors have the same value  Arbitrary: An arbitrary processor is allowed to proceed with the write operation, and the rest fail  Priority: Processors are prioritized a priori, the processor with the highest priority writes and others fail  Sum: The sum of all the quantities is written
  • 6. 3.2: Processor Granularity 6  Coarse-grained: Few powerful processors  Fine-grained: Many less powerful processors  Medium-grained: between the above two  The granularity definition is relative  Another definition of granularity is with respect to the relative rates of communication to computation Fine-grained: shorter duration between communication Coarse-grained: longer duration between communication
  • 7. 3.3a: Interconnection Networks 7  Static networks: Processing nodes are connected by point-to-point communication links (direct networks) Mostly used for message-passing computers  Dynamic networks: Communication links are connected to one another dynamically by the switches to establish paths among processing nodes and memory banks (indirect networks)  Mostly used for shared memory computers
  • 8. 3.3c: Examples of Static Interconnections Full-y connected 8 2D mesh with wraparound
  • 9. 3.3d: Switch Board Connections 9
  • 11. 3.3f: Multistage Dynamic Interconnection 11
  • 12. 3.3g: Switch Functionalities 12  A single switch has a set of input ports and a set of output ports  The switch functionalities include: 1) a mapping from input to output ports (basic) 2) additional support for internal buffering (when the requested output port is busy) routing (to alleviate network congestion), and multicasting (same output on multiple ports)  The degree of a switch is the total number of ports
  • 13. 3.3h: Cost of a Switch 13  The cost of a switch is influenced by the cost of mapping hardware, the peripheral hardware, and packaging costs  The mapping hardware typically grows as the square of the degree of the switch  The peripheral hardware grows linearly as the degree  The packaging costs grow linearly as the number of pins
  • 14. 3.3h: Network Interface (Static) 14  Network interface is to handle the connectivity between the node and the network  Network interface has input and output ports that pipe data into and out of the network  Its functionalities include: 1) packetizing data 2) computing routing information 3) buffering incoming and outgoing data 4) error checking
  • 15. 3.3i: Approximation of Network Costs 15  For dynamic interconnection networks: Its cost is proportional to the number of switches used in the network  For static Interconnection networks: Its cost is proportional to the number of links
  • 16. 3.4a: Network Topologies 16  Multiple processors must be working together to solve a common task  They must communicate during the course of solving the task  The communication is provided by the interconnection networks  How to connect multiple processors in a parallel system -- This is a trade-off between cost and scalability with performance
  • 17. 3.4b: Bus-Based Networks 17  A bus-based network consists of a shared medium that connects all nodes  The cost of a bus-based network scales linearly with respect to the number of processors p  The distance between any two nodes in the network is constant O(1)  Ideal for broadcasting information  Disadvantage: bounded bandwidth & blocking Performance is not scalable with respect to the number of processors p
  • 19. 3.6c: Crossbar Network 19  A crossbar network uses a grid of switches or switching nodes to connect p processors to b memory banks  It is a non-blocking network  The total number of switching nodes is Θ(pb)  In many cases, b is at least on the order of p, the complexity of the crossbar network is Ω(p*p)  Disadvantage: Switch complexity is difficult to realize at high data rates  Scalable in terms of performance, but not scalable in terms of cost
  • 22. 3.6f: Multistage Networks 22  To balance the scalability between performance and costs  Allowing multiple stages between processors and memory banks  Switches are installed at each stage  It is more scalable than bus-based networks in terms of performance  It is more scalable than the crossbar networks in terms of costs  A special multistage interconnection network is the omega network
  • 23. 3.7: Completely-Connected Network  Each node has a direct communication link to every other node in the network (non-blocking)  How many communication links are needed?  Scalable in terms of performance, not scalable in terms of cost 23
  • 24. 3.8: Star-Connected Network  One processor acts as the central processor  Every other processor has a communication link with this processor  Congestion may happen at the central processor  This is a blocking network  Scalable in terms of cost, not scalable in terms of performance 24
  • 25. 3.9: LinearArray and Ring Networks Scalable in terms of costs, not scalable in terms of performance 25
  • 26. 3.10: 2D Mesh Networks 2D mesh network 26 2D mesh network with wraparound
  • 27. 3.11: 3D Mesh Network Many physical simulations can be mapped naturally to a 3D network topology. 3D mesh interconnection is common 27
  • 28. 3.13a: Tree-Based Networks 28  There is only one path between any pair of nodes  Linear array and star-connected networks are special cases of tree networks  Tree networks can be static or dynamic  In case of dynamic interconnection, the intermediate level processors are switching nodes and the leaf nodes are processing elements
  • 29. 3.13b: What is This Tree Network? 29
  • 30. 3.13c: Static and Dynamic Tree Networks 30
  • 31. 3.13d: Communication in Tree Networks 31  Messages from one half tree to another half tree are routed through the top level nodes  Communication bottleneck forms at higher levels of the trees  The solution is to increase the number of communication links and switching nodes at the higher levels  The fat tree is suitable for dynamic networks
  • 32. 3.14a: Evaluating Static Interconnection Networks 32  There are several criteria to characterize the cost and performance of static interconnection networks  Diameter  Connectivity  Bisection Width  Bisection Bandwidth  Cost
  • 33. 3.14b: Diameter of a Network  The diameter of a network is the the maximum distance between any two processing nodes in the network  The distance between two processing nodes is defined as the shortest path between them 33
  • 34. 3.14c: Diameters of Mesh Networks 34
  • 35. 3.15a: Connectivity of Networks 35  The connectivity of a network is a measure of the multiplicity of paths between any two processing nodes  The arc connectivity is the minimum number of arcs that must be removed from the network to break it into two disconnected networks  A network with high connectivity has lower contentions for communication resources
  • 36. 3.15b: Connectivity of Mesh Array 36
  • 37. 3.16a: Bisection Width & Channel Width 37  The bisection width is the minimum number of communication links that must be removed to partition the network into two equal halves  The channel width is the number of bits that can be communicated simultaneously over a link connecting two nodes  Channel width is equal to the number of physical wires in each communication link
  • 38. 3.16b: Channel Rate &Channel Bandwidth 38  The peak rate a single physical wire can deliver bits is called channel rate  The channel bandwidth is the peak rate at which data can be communicated between the ends of a communication link  Channel bandwidth is the product of channel rate and channel width  The bisection bandwidth is the minimum volume of communication allowed between any two halves of the network  It is the product of bisection width and channel bandwidth
  • 39. 3.16c: Characteristics of Static Networks Network Diameter Bisection Width Arc Connect. Number of Links Fully conn-ted 1 p2 /4 p-1 p(p-1)/2 Star 2 1 1 p-1 Binary tree 2log((p 1)/ 2) 1 1 p-1 Linear array p-1 1 1 p-1 Ring |p-2| 2 2 p 2D mesh 2( p 1) p 2 2( p p) 2D meshwrap 2  p / 2  2 p 4 2p Hypercube log p p/2 log p (p log p) / 2 39
  • 40. 3.17: Cost of Static Interconnection Networks 40  The cost of a static network can be defined in proportion to the number of communication links or the number of wires required by the network  Another measure is the bisection bandwidth of a network a lower bound on the area in a 2D packaging or the volume in a 3D packaging Definition is in terms of the order of magnitudes  Completely connected and hypercube networks are more expensive than others
  • 41. 3.18: Evaluating Dynamic Interconnection Networks 41  Need consider both processing nodes and switching units  Criteria similar to those used with the static interconnection networks can be defined  The diameter is defined as the maximum distance between any two nodes in the network  The connectivity is the maximum number of nodes (or edges) that must fail to break the network  The cost of a dynamic network is determined by the number of switching nodes in the network