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

Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
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
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
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
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
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 )
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
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
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 

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.