SlideShare a Scribd company logo
1 of 4
Download to read offline
PARALLEL & DISTRIBUTED COMPUTING LECTURE NOTES
Author: Rizwan Fazal
Date: 06.10.2017
FLYNN’S TAXONOMY OF COMPUTER ARCHITECTURE
Two types of information flow into the processor, instructions and data.
Instruction Stream:
The instruction stream is defined as the sequence of instructions performed by the processing unit.
Data Stream:
The data stream is defined as the data traffic exchanged between the memory and the processing unit.
Computer architectures can be classified into the following four distinct categories;
 Single-instruction single-data streams (SISD)
o Conventional single-processor von Neuman computers are classified as SISD systems
 Single-instruction multiple-data streams (SIMD)
o There is only one control unit and all processors execute the same instruction in a
synchronized fashion.
 Multiple-instruction single-data streams (MISD)
o The same stream of data flows through a linear array of processors executing different
instruction streams
 Multiple-instruction multiple-data streams (MIMD)
o Each processor has its own control unit and can execute different instructions on different
data
o Shared memory systems are also called Symmetric Multiprocessor (SMP) because of
balanced access to memory. Equal opportunity to read/write to memory with equal speed
o Scalability is achieved in distributed (message-passing) system while programming shared
memory system is easier
o In distributed-shared-memory (DSM) system, memory is physically distributed but the
programming model follows the shared memory school of thought
SHARED MEMORY ORGANIZATION
Issues in shared memory system include access control, synchronization, protection and security. Can be
classified as Uniform Memory Access (UMA), Non-uniform Memory Access (NUMA) and Cache-only
memory architecture (COMA).
UMA:
 Shared memory is accessible to all processors through an interconnection network in a way like a
single processor accesses its memory
 Equal access time to any memory location by all processors
 A single bus, multiple busses, crossbar or a multiport memory can be the options for
interconnection network
NUMA:
 Each processor has part of the shared memory attached
 Any processor could access any memory location directly using its real address
 The access time to modules depends on the distance to the processor hence results in non-
uniform memory access time
COMA:
 The shared memory consists of cache memory
 Like NUMA, each processor has part of the shared memory
 Data be migrated to processor requesting it
MESSAGE PASSING ORGANIZATION
A class of multiprocessors in which each processor has access to its own local memory. Communication is
performed via Send and Receive operations.
 A node in such a system consists of a processor and its local memory
 Buffers are temporary memory locations where messages wait until they can be sent or received
 Architecture-specific interconnection structures to geographically dispersed networks are
possible for processing nodes communication
 The message passing systems are scalable to large proportions
 Hypercube networks and nearest neighbor 2 and 3 dimensional mesh networks have been used
 Link bandwidth and network latency are important design factors to consider for interconnection
 Bandwidth refers to number of bits transmitted per unit time (bits/s)
 Time to complete a message transfer is called network latency
Wormhole routing introduced in 1987 as an alternative to traditional store-and-forward routing in order
to reduce the size of the required buffers and to decrease message latency. A packet is divide into smaller
units called flits (flow control bits) such that they move in a pipeline fashion. Header flit leads the way to
the destination node and if blocked due to network congestion, causes remaining flits to get blocked too.
INTERCONNECTION NETWORKS
Criteria to classify interconnection networks (INs) are as follows;
 Mode of operation (synchronous vs. asynchronous)
o Synchronous
 A single global clock is used by all components in the system (Synchronous)
 Tend to be slower but race and hazard-free
o Asynchronous
 Handshaking signals are used in order to coordinate the operation
 Comparatively faster than synchronous systems
 Control strategy (Centralized vs. decentralized)
o Centralized
 A single central control unit is used to oversee and control the operation of the
components of the system
 Crossbar is a centralized system
o Decentralized
 Control function is distributed among different components in the system
 The multistage interconnection networks are decentralized
 Switching technique (circuit vs. packet)
o Circuit
 A complete path has to be established prior to the start of communication
between a source and a destination
 The path will remain in existence during the whole communication period
o Packet
 Messages are divided into packets that lead to their destination by traversing
node by node in a store-and-forward fashion
 Use network resources more efficiently but suffer from variable packet delays
 Topology (static vs. dynamic)
A topology describes how to connect processors and memories to other processors and memories
o Static
 Direct fixed links are established among nodes to form a fixed network
o Dynamic
 Connections are established as needed
Switching elements are used to establish connections among inputs and outputs. Depending on
the switch settings, different interconnections can be established.
INs FOR SHARED AND MESSAGE PASSING SYSTEMS
Shared Memory System
 Can be designed using bus-based or switch-based INs
 The bus may get saturated if multiple processors are trying to access the shared memory
simultaneously
 Caches are used to solve bus contention problem
 Crossbar switch can be used to connect multiple processors to multiple memory modules
 Crossbar switch is a mesh of wires with switches at the points of intersection
Message Passing System
 Can be divided into static and dynamic
 Static networks form all connections when the system is designed rather than when the
connection is needed
 Messages must be routed using established links in static networks
 Dynamic links are established on the fly as messages are routed
 Number of point to point links a message traverses to reach its destination is called hop count
Popular static topologies are;
Linear array, ring, mesh, tree and hypercube
The single stage interconnection network (dynamic) may connect each of the inputs to some but not all
outputs. If we cascade enough single-stage networks together, we can form a completely connected
Multi-stage Interconnection Network (MIN). A function of bits of the source and destination addresses as
instructions are used for dynamically selecting a path through switches between source and destination.
N2
components are needed to connect N x N source/destination pairs in crossbar switch. On the other
hand, N/2(log N) components are required to connect N x N pairs in omega MIN network.
The crossbar switch can establish a connection between source and destination in one clock which is its
major advantage.
The diameter of the crossbar is one. It is defined as the maximum shortest paths between any two nodes
in the network of N nodes. Omega MIN requires log N clocks to make a connection and hence its diameter.
A network that can handle all possible connections without blocking is called a nonblocking network. In
the other case, the network is said to be blocking or blocking network.

More Related Content

What's hot

Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsAya Mahmoud
 
Operating Systems - Network Management
Operating Systems - Network ManagementOperating Systems - Network Management
Operating Systems - Network ManagementDamian T. Gordon
 
Network topology 20.1.2020
Network topology 20.1.2020Network topology 20.1.2020
Network topology 20.1.2020jhunudb
 
Advance Operating Systems
Advance Operating SystemsAdvance Operating Systems
Advance Operating SystemsRaghu nath
 
Message Passing, Remote Procedure Calls and Distributed Shared Memory as Com...
Message Passing, Remote Procedure Calls and  Distributed Shared Memory as Com...Message Passing, Remote Procedure Calls and  Distributed Shared Memory as Com...
Message Passing, Remote Procedure Calls and Distributed Shared Memory as Com...Sehrish Asif
 
Lecture2 networkclassification
Lecture2 networkclassificationLecture2 networkclassification
Lecture2 networkclassificationH K
 
Communication model of parallel platforms
Communication model of parallel platformsCommunication model of parallel platforms
Communication model of parallel platformsSyed Zaid Irshad
 
Interprocess communication
Interprocess communicationInterprocess communication
Interprocess communicationSushil Singh
 
Changes in the standard ppt
Changes in the standard pptChanges in the standard ppt
Changes in the standard pptMalik obeisat
 
Limitations of memory system performance
Limitations of memory system performanceLimitations of memory system performance
Limitations of memory system performanceSyed Zaid Irshad
 

What's hot (20)

Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systems
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
Seminar on sunday
Seminar on sundaySeminar on sunday
Seminar on sunday
 
An Insight on Routing
An Insight on RoutingAn Insight on Routing
An Insight on Routing
 
Operating Systems - Network Management
Operating Systems - Network ManagementOperating Systems - Network Management
Operating Systems - Network Management
 
Network topology 20.1.2020
Network topology 20.1.2020Network topology 20.1.2020
Network topology 20.1.2020
 
Static networks
Static networksStatic networks
Static networks
 
Advance Operating Systems
Advance Operating SystemsAdvance Operating Systems
Advance Operating Systems
 
Message Passing, Remote Procedure Calls and Distributed Shared Memory as Com...
Message Passing, Remote Procedure Calls and  Distributed Shared Memory as Com...Message Passing, Remote Procedure Calls and  Distributed Shared Memory as Com...
Message Passing, Remote Procedure Calls and Distributed Shared Memory as Com...
 
Atm work
Atm workAtm work
Atm work
 
Lecture2 networkclassification
Lecture2 networkclassificationLecture2 networkclassification
Lecture2 networkclassification
 
Communication model of parallel platforms
Communication model of parallel platformsCommunication model of parallel platforms
Communication model of parallel platforms
 
IPC
IPCIPC
IPC
 
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
 
Computer network solution
Computer network solutionComputer network solution
Computer network solution
 
Interprocess communication
Interprocess communicationInterprocess communication
Interprocess communication
 
Changes in the standard ppt
Changes in the standard pptChanges in the standard ppt
Changes in the standard ppt
 
Data communication q and a
Data communication q and aData communication q and a
Data communication q and a
 
Open Systems Interconnection (OSI)
Open Systems Interconnection (OSI)Open Systems Interconnection (OSI)
Open Systems Interconnection (OSI)
 
Limitations of memory system performance
Limitations of memory system performanceLimitations of memory system performance
Limitations of memory system performance
 

Similar to Pdc chapter1

Multiprocessor structures
Multiprocessor structuresMultiprocessor structures
Multiprocessor structuresShareb Ismaeel
 
Distributed system lectures
Distributed system lecturesDistributed system lectures
Distributed system lecturesmarwaeng
 
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 COMMUNICATIONijdms
 
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 COMMUNICATIONijdms
 
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 COMMUNICATIONijdms
 
Computer architecture multi processor
Computer architecture multi processorComputer architecture multi processor
Computer architecture multi processorMazin Alwaaly
 
basics of computer network
basics of computer networkbasics of computer network
basics of computer networkProf Ansari
 
Hubs and switches connect computers to create a LAN.HubA Hub co.pdf
Hubs and switches connect computers to create a LAN.HubA Hub co.pdfHubs and switches connect computers to create a LAN.HubA Hub co.pdf
Hubs and switches connect computers to create a LAN.HubA Hub co.pdfinfo54093
 
Distributed os
Distributed osDistributed os
Distributed ossidra naz
 
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037Upendra Sengar
 
Unit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessorUnit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessorvishal choudhary
 
COMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptx
COMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptxCOMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptx
COMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptxHalimaTarin
 

Similar to Pdc chapter1 (20)

Multiprocessor structures
Multiprocessor structuresMultiprocessor structures
Multiprocessor structures
 
computer network basics
computer network basicscomputer network basics
computer network basics
 
Router bridge
Router bridgeRouter bridge
Router bridge
 
Computer networking
Computer networkingComputer networking
Computer networking
 
Basics of networking and routing
Basics of networking and routingBasics of networking and routing
Basics of networking and routing
 
Dos unit1
Dos unit1Dos unit1
Dos unit1
 
3. WIRELESS_PROTOCOLS.pptx
3. WIRELESS_PROTOCOLS.pptx3. WIRELESS_PROTOCOLS.pptx
3. WIRELESS_PROTOCOLS.pptx
 
Distributed system lectures
Distributed system lecturesDistributed system lectures
Distributed system lectures
 
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
 
Computer architecture multi processor
Computer architecture multi processorComputer architecture multi processor
Computer architecture multi processor
 
Introduction to Computer Networks.
Introduction to Computer Networks.Introduction to Computer Networks.
Introduction to Computer Networks.
 
basics of computer network
basics of computer networkbasics of computer network
basics of computer network
 
Hubs and switches connect computers to create a LAN.HubA Hub co.pdf
Hubs and switches connect computers to create a LAN.HubA Hub co.pdfHubs and switches connect computers to create a LAN.HubA Hub co.pdf
Hubs and switches connect computers to create a LAN.HubA Hub co.pdf
 
Distributed os
Distributed osDistributed os
Distributed os
 
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
 
Unit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessorUnit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessor
 
Distributed Operating System_4
Distributed Operating System_4Distributed Operating System_4
Distributed Operating System_4
 
COMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptx
COMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptxCOMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptx
COMPUTER NETWORK(Introduction, classification)NETWORK TOPOLOGY.pptx
 

Recently uploaded

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 

Recently uploaded (20)

Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 

Pdc chapter1

  • 1. PARALLEL & DISTRIBUTED COMPUTING LECTURE NOTES Author: Rizwan Fazal Date: 06.10.2017 FLYNN’S TAXONOMY OF COMPUTER ARCHITECTURE Two types of information flow into the processor, instructions and data. Instruction Stream: The instruction stream is defined as the sequence of instructions performed by the processing unit. Data Stream: The data stream is defined as the data traffic exchanged between the memory and the processing unit. Computer architectures can be classified into the following four distinct categories;  Single-instruction single-data streams (SISD) o Conventional single-processor von Neuman computers are classified as SISD systems  Single-instruction multiple-data streams (SIMD) o There is only one control unit and all processors execute the same instruction in a synchronized fashion.  Multiple-instruction single-data streams (MISD) o The same stream of data flows through a linear array of processors executing different instruction streams  Multiple-instruction multiple-data streams (MIMD) o Each processor has its own control unit and can execute different instructions on different data o Shared memory systems are also called Symmetric Multiprocessor (SMP) because of balanced access to memory. Equal opportunity to read/write to memory with equal speed o Scalability is achieved in distributed (message-passing) system while programming shared memory system is easier o In distributed-shared-memory (DSM) system, memory is physically distributed but the programming model follows the shared memory school of thought SHARED MEMORY ORGANIZATION Issues in shared memory system include access control, synchronization, protection and security. Can be classified as Uniform Memory Access (UMA), Non-uniform Memory Access (NUMA) and Cache-only memory architecture (COMA). UMA:  Shared memory is accessible to all processors through an interconnection network in a way like a single processor accesses its memory  Equal access time to any memory location by all processors  A single bus, multiple busses, crossbar or a multiport memory can be the options for interconnection network NUMA:  Each processor has part of the shared memory attached
  • 2.  Any processor could access any memory location directly using its real address  The access time to modules depends on the distance to the processor hence results in non- uniform memory access time COMA:  The shared memory consists of cache memory  Like NUMA, each processor has part of the shared memory  Data be migrated to processor requesting it MESSAGE PASSING ORGANIZATION A class of multiprocessors in which each processor has access to its own local memory. Communication is performed via Send and Receive operations.  A node in such a system consists of a processor and its local memory  Buffers are temporary memory locations where messages wait until they can be sent or received  Architecture-specific interconnection structures to geographically dispersed networks are possible for processing nodes communication  The message passing systems are scalable to large proportions  Hypercube networks and nearest neighbor 2 and 3 dimensional mesh networks have been used  Link bandwidth and network latency are important design factors to consider for interconnection  Bandwidth refers to number of bits transmitted per unit time (bits/s)  Time to complete a message transfer is called network latency Wormhole routing introduced in 1987 as an alternative to traditional store-and-forward routing in order to reduce the size of the required buffers and to decrease message latency. A packet is divide into smaller units called flits (flow control bits) such that they move in a pipeline fashion. Header flit leads the way to the destination node and if blocked due to network congestion, causes remaining flits to get blocked too. INTERCONNECTION NETWORKS Criteria to classify interconnection networks (INs) are as follows;  Mode of operation (synchronous vs. asynchronous) o Synchronous  A single global clock is used by all components in the system (Synchronous)  Tend to be slower but race and hazard-free o Asynchronous  Handshaking signals are used in order to coordinate the operation  Comparatively faster than synchronous systems  Control strategy (Centralized vs. decentralized) o Centralized  A single central control unit is used to oversee and control the operation of the components of the system  Crossbar is a centralized system o Decentralized  Control function is distributed among different components in the system
  • 3.  The multistage interconnection networks are decentralized  Switching technique (circuit vs. packet) o Circuit  A complete path has to be established prior to the start of communication between a source and a destination  The path will remain in existence during the whole communication period o Packet  Messages are divided into packets that lead to their destination by traversing node by node in a store-and-forward fashion  Use network resources more efficiently but suffer from variable packet delays  Topology (static vs. dynamic) A topology describes how to connect processors and memories to other processors and memories o Static  Direct fixed links are established among nodes to form a fixed network o Dynamic  Connections are established as needed Switching elements are used to establish connections among inputs and outputs. Depending on the switch settings, different interconnections can be established. INs FOR SHARED AND MESSAGE PASSING SYSTEMS Shared Memory System  Can be designed using bus-based or switch-based INs  The bus may get saturated if multiple processors are trying to access the shared memory simultaneously  Caches are used to solve bus contention problem  Crossbar switch can be used to connect multiple processors to multiple memory modules  Crossbar switch is a mesh of wires with switches at the points of intersection Message Passing System  Can be divided into static and dynamic  Static networks form all connections when the system is designed rather than when the connection is needed  Messages must be routed using established links in static networks  Dynamic links are established on the fly as messages are routed  Number of point to point links a message traverses to reach its destination is called hop count Popular static topologies are; Linear array, ring, mesh, tree and hypercube The single stage interconnection network (dynamic) may connect each of the inputs to some but not all outputs. If we cascade enough single-stage networks together, we can form a completely connected Multi-stage Interconnection Network (MIN). A function of bits of the source and destination addresses as instructions are used for dynamically selecting a path through switches between source and destination.
  • 4. N2 components are needed to connect N x N source/destination pairs in crossbar switch. On the other hand, N/2(log N) components are required to connect N x N pairs in omega MIN network. The crossbar switch can establish a connection between source and destination in one clock which is its major advantage. The diameter of the crossbar is one. It is defined as the maximum shortest paths between any two nodes in the network of N nodes. Omega MIN requires log N clocks to make a connection and hence its diameter. A network that can handle all possible connections without blocking is called a nonblocking network. In the other case, the network is said to be blocking or blocking network.