SlideShare a Scribd company logo
1 of 28
DYNAMIC
INTERCONNECTION
NETWORKS
Dr. Prasenjit Dey
Basics
2
 Interconnection networks consists of multiple processors
and memory modules
 The processors and memory modules can be connected
with each other in various ways
 These connections can be static or dynamic
 In static networks, connections are fixed links
 In dynamic network, connections are built on the fly as
required
Network properties
3
 Degree of a node (d)
 The number of edges incident on a node
 In-degree
 Out-degree
 In-Degree of a node
 The number of incoming edges of a node
 Out-Degree of a node
 The number of outgoing edges of a node
 Diameter of a node (D)
 The maximum shortest path between any two
nodes
 Network latency
 Worst-case time for a information to be
transferred
d = 5
In-degree = 3
Out-degree = 2
D = max(1,1,2,1,2,1)
= 2
1
2
3
4
Bisection of a network
4
 Bisection width
 The minimum number of wires that must be cut to divide the network
into two equal halves.
 A cut of a network C(A, B) is a set of channels, which partition the
set of all nodes into 2 disjoint sets, where each element of C(A, B) is
a channel with a source in A and destination in B or vice versa
 A bisection of a network is a cut that partitions the network into
equal halves, such that |A|≤|B|≤|A+1|
 The channel bisection of a network is the minimum channel count
over all bisections of the network
|
)
,
(
|
min
sec
B
A
C
Bc
tions
bi

Types of Interconnections
5
Interconnection networks
Static networks Dynamic networks
2-dimension Bus based
1 -dimension Hypercube Switch based
Single Multiple Single stage Multi Stage Crossbar
Bus based Interconnection
Networks
6
 All the processors and memory modules are interconnected
with each other by buses
 Two types of bus based networks
 Single bus networks
 Multiple bus networks
Single Bus Interconnected
Systems
7
 Multiple processors are interconnected by a single shared bus
 Each processor has its own cache, less traffic
 All processors communicate with a single shared memory
 Number of buses used is 1, so the network complexity is O(1)
 Maximum input to output delay is n, so time complexity is O(n)
P1 P2 P3 Pn
Shared
Memory
I/O
devices
Shared bus
Multiple Bus Interconnected
Systems
8
 Multiple processors and multiple memory modules are
interconnected by multiple parallel buses
 High Reliability: A single bus failure will leave (m-1) distinct
fault-free paths between the processors and the memory
modules
 It can be configured in different ways:, e.g., MBFBMC, MBSBMC,
MBPBMC, MBCBMC
P1 P2 P3 Pn
M1 M2 M3 Mm
Fig. 1
Multiple Bus Interconnected
Systems
9
 MBFBMC: multiple bus with full bus–memory connection
 All memory modules are connected with all buses (Fig. 1)
 MBSBMC: multiple bus with single bus memory connection
 One memory module is connected with one specific bus (Fig. 2)
 MBPBMC: multiple bus with partial bus–memory connection
 One memory module is connected to a subset of buses (Fig. 3)
 MBCBMC: multiple bus with class-based memory connection
 Memory modules grouped into classes whereby each class is connected to a
specific subset of buses (Fig. 4)
P1 P2 P3 Pn
M1 M2 M3 Mn
Fig. 2
Multiple Bus Interconnected
Systems
P1 P2 P3 Pn
M1 M2 M3 M4
Fig. 4
P1 P2 P3 Pn
M1 M2 M3 M4
Fig. 3
Class 1 Class 2
Switch-Based Interconnection
Networks
11
 All the processors and memory modules are interconnected
with each other via switches
 Types of switch based networks
 Crossbar Networks
 Single-Stage Networks
 Multistage Networks
Crossbar Networks
12
 Crossbar networks provide simultaneous connections among all
inputs and outputs
 It contains a switching element (SE) at the intersection of any two
lines extended horizontally or vertically inside the switch
 Each junction is a switching component, connecting the row to the column
 A 4 x 4 crossbar network consists of 16 SEs
P1
P2
P3
P4
M1 M2 M3 M4
SE
Crossbar Networks
13
 Two types of settings for SE
1. Straight
2. Diagonal
 In an N x N crossbar, the number of switching points is N2,
so the network complexity is O(N2)
 Not scalable
 Maximum input to output delay is 1, so time complexity is O(1)
 Fast Transfer
 Blocking if the destination is in use
Straight switch
Diagonal switch
Switches
Switch size Permutation
connection
Legitimate states
2 × 2 2 4
4 × 4 24 256
8 × 8 40,320 16,777,216
N × N N! NN
14
 Permutation connection
 Each input can only be connected to a single output
 Legitimate state
 Each input can be connected to multiple outputs, but
each output can only be connected to a single input
Single Stage Networks
15
 In single stage Interconnection Networks (INs), a simple 2 x 2
switching element (SE) is used
 Four types of settings for SE
 Shuffle-Exchange interconnection pattern is used to
establish the connections between inputs and outputs
 For m-bit input address Pm-1, Pm-2, …, P1, P0
 Shuffle operation performs 1bit circular left shift on the bits
 Shuffle(Pm-1, Pm-2, …, P1, P0) = Pm-2, Pm-3, …, P0, Pm-1
 Exchange operation inverts the LSB
 Exchange(Pm-1, Pm-2, …, P1, P0) = Pm-1, Pm-2, …, P1, 𝑃0
*From Advanced Computer Architectures, K. Hwang, 1993.
16
 Single stage Shuffle-Exchange IN
 Perfect shuffle operation
 cyclic shift 1 place left
 000(0)  000(0)
 001(1)  010(2)
 010(2)  100(4)
 011(3)  110(6)
 100(4)  001(1)
 101(5)  011(3)
 110(6)  101(5)
 111(7)  111(7)
 Exchange operation
 Invert least significant bit
 E.g., 101(5)  100(4)
*From Ben Macey at http://www.ee.uwa.edu.au/~maceyb/aca319-2003
Single Stage Networks
Demonstration
17
 In an 8-input single stage IN, create a dynamic connection between
input 0 (000) and output (110) by using Shuffle–Exchange
interconnection pattern.
 The following sequence of shuffle/exchange operations is needed
 E(000)  001
 S(001)  010
 E(010)  011
 S(011)  110
Single Stage Networks
18
 For N number of inputs(processors) and N number of
outputs (memory modules), the number of SEs is N/2
 The maximum length of a path from an input to an output in
the network, measured by the number of SEs along the path,
is log2 N.
 In single stage IN, the network complexity is O(N)
 In single stage IN, the time complexity is O(N)
 A single path between the inputs (processors) and the
outputs (memory modules)
Multistage Networks
19
 Multistage Interconnection Network (MIN) are formed by
cascading multiple single stage IN each with a set of 2 x 2 SEs
 Stages are connected to each other using Inter Stage Connection
(ISC) Pattern
 The patterns can use any routing function
 E.g., Shuffle–Exchange, Butterfly, Cube, etc.
 Two types of MIN
 Single path MIN
 One unique path between any input/output pair
 Banyan network
 Multipath MIN
 Multiple paths between any input/output pair
 Delta network is a subset of Banyan network which shows self-
routing property
Types of MIN
20
MIN
Single-sided Two-sided
Multiple Path Single Path
Clos Benes PM2I Banyan Batcher
Delta
Multistage Networks
21
 Based on blocking, there are 3 types of MINs
 Nonblocking
 A network is called nonblocking if it is possible to establish a
connection between an input and an output regardless of what
other connections are currently in process
 Rearrangeable nonblocking
 A network is called rearrangeable nonblocking if it is possible to
establish all possible connections between inputs and outputs by
rearranging its existing connections
 Blocking interconnection
 A network is called blocking if some connections between inputs
and outputs block other input-output connections
 E.g., Omega network, Baseline network, Banyan network, etc.
Single Path: Omega network
22
Connect input (processor) 101 to output (memory module) 001
*From Ben Macey at http://www.ee.uwa.edu.au/~maceyb/aca319-2003
Algorithm
At stage k, look at the kth bit of the
destination address
If (kth bit == 0)
consider upper o/p port of the switch
Else
consider lower o/p port of the switch
Input = 101(5)
Shuffle(101) 011(3)
Consider upper port of switch B #1st bit of the
destination address at stage 1 is 0
Shuffle(010) 100(4)
Consider upper port of switch G #2nd bit of the
destination address at stage 2 is 0
Shuffle(100) 001(1)
Consider lower port of switch I #3rd bit of
the destination address at stage 3 is 1
 Suppose there is a connection from input 001 to output 100
 Try to establish a connection between input 011 and output 101
 It will make a collision at the upper output of 4th switch in 2nd
stage, therefore blocking the connection between input 011 and
output 101
Blocking in Omega network
Omega networks
24
 Uses 2 × 2 switches and perfect shuffle interconnect
pattern between the stages
 One unique path from each input to each output, no
redundant paths
 no fault tolerance and the possibility of blocking
 For N number of inputs and N number of outputs
 Number of stages is log2N (for 2 × 2 switches)
 Number of SEs per stage is N/2
 Total number of SEs is (N/2) log2(N)
 Number of permutations in a omega network is 2(N/2) log2(N)
Baseline networks
25
 This is another type of blocking network that can be generated
recursively
 The 1st stage N × N, the second (N/2) × (N/2), and so on
 Networks are topologically equivalent
 A network can be reproduced from the other networks by rearranging the
nodes at each stage.
*From Advanced Computer Architectures, K. Hwang, 1993.
 It is an 8 x 8 Benes network
 Here, the connection 110-100 blocks the connection between
input 100 and output 010
 However, by rearranging the 110-100 connection, it is possible
to establish a connection between input 100 and output 010
001
010
011
100
101
000
110
111
001
010
011
100
101
000
110
111
001
010
011
100
101
000
110
111
001
010
011
100
101
000
110
111
Multiple Path: Benes network
Performance Comparison
27
 Bus network
 Blocking
 Network complexity O(1)
 Network latency O(N)
 Crossbar network
 Non blocking
 Network complexity O(N2)
 Network latency O(1)
 Single stage IN
 Blocking
 Network complexity O(N)
 Network latency O(N)
 Multistage IN
 Blocking
 Network complexity O(N log2 N)
 Network latency O(log2 N)
28
Thank You

More Related Content

What's hot

Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCPselvakumar_b1985
 
Flynns classification
Flynns classificationFlynns classification
Flynns classificationYasir Khan
 
system interconnect architectures in ACA
system interconnect architectures in ACAsystem interconnect architectures in ACA
system interconnect architectures in ACAPankaj Kumar Jain
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithmBushra M
 
SYNCHRONIZATION IN MULTIPROCESSING
SYNCHRONIZATION IN MULTIPROCESSINGSYNCHRONIZATION IN MULTIPROCESSING
SYNCHRONIZATION IN MULTIPROCESSINGAparna Bhadran
 
Controlled Access Protocols
Controlled Access ProtocolsControlled Access Protocols
Controlled Access ProtocolsPruthviraj Konu
 
Design issues for the layers
Design issues for the layersDesign issues for the layers
Design issues for the layersjayaprakash
 
Communication costs in parallel machines
Communication costs in parallel machinesCommunication costs in parallel machines
Communication costs in parallel machinesSyed Zaid Irshad
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP PresentationHarish Chand
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSDr. SELVAGANESAN S
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating SystemsNitish Gulati
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networksguesta81d4b
 
Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And CorrectionRenu Kewalramani
 
ELEMENTS OF TRANSPORT PROTOCOL
ELEMENTS OF TRANSPORT PROTOCOLELEMENTS OF TRANSPORT PROTOCOL
ELEMENTS OF TRANSPORT PROTOCOLShashank Rustagi
 

What's hot (20)

Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCP
 
Flynns classification
Flynns classificationFlynns classification
Flynns classification
 
system interconnect architectures in ACA
system interconnect architectures in ACAsystem interconnect architectures in ACA
system interconnect architectures in ACA
 
Multiprocessor system
Multiprocessor system Multiprocessor system
Multiprocessor system
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
SYNCHRONIZATION IN MULTIPROCESSING
SYNCHRONIZATION IN MULTIPROCESSINGSYNCHRONIZATION IN MULTIPROCESSING
SYNCHRONIZATION IN MULTIPROCESSING
 
Controlled Access Protocols
Controlled Access ProtocolsControlled Access Protocols
Controlled Access Protocols
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Design issues for the layers
Design issues for the layersDesign issues for the layers
Design issues for the layers
 
Communication costs in parallel machines
Communication costs in parallel machinesCommunication costs in parallel machines
Communication costs in parallel machines
 
TCP - IP Presentation
TCP - IP PresentationTCP - IP Presentation
TCP - IP Presentation
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
Data link layer
Data link layerData link layer
Data link layer
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating Systems
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
 
Transport layer
Transport layer Transport layer
Transport layer
 
Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And Correction
 
ELEMENTS OF TRANSPORT PROTOCOL
ELEMENTS OF TRANSPORT PROTOCOLELEMENTS OF TRANSPORT PROTOCOL
ELEMENTS OF TRANSPORT PROTOCOL
 

Similar to Dynamic interconnection networks

MODELLING AND SIMULATION OF 128-BIT CROSSBAR SWITCH FOR NETWORK -ONCHIP
MODELLING AND SIMULATION OF 128-BIT CROSSBAR SWITCH FOR NETWORK -ONCHIPMODELLING AND SIMULATION OF 128-BIT CROSSBAR SWITCH FOR NETWORK -ONCHIP
MODELLING AND SIMULATION OF 128-BIT CROSSBAR SWITCH FOR NETWORK -ONCHIPVLSICS Design
 
Chapter10 switching
Chapter10 switchingChapter10 switching
Chapter10 switchingSuneel Varma
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architectureKaviya452563
 
Review of crosstalk free Network
Review of crosstalk free NetworkReview of crosstalk free Network
Review of crosstalk free NetworkIJMER
 
Interconnection Network
Interconnection NetworkInterconnection Network
Interconnection NetworkAli A Jalil
 
10 Slides to Sonet
10 Slides to Sonet10 Slides to Sonet
10 Slides to Sonetseanraz
 
A report on 2 to 1 mux using tg
A report on 2 to 1 mux using tgA report on 2 to 1 mux using tg
A report on 2 to 1 mux using tgvijay rastogi
 
Dccn solution
Dccn solutionDccn solution
Dccn solutionsukla
 
IEEE 802.11a Physical Layer Simulation
IEEE 802.11a Physical Layer SimulationIEEE 802.11a Physical Layer Simulation
IEEE 802.11a Physical Layer SimulationMichail Grigoropoulos
 
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode LogicDesign of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode LogicVLSICS Design
 
Changes in the standard ppt
Changes in the standard pptChanges in the standard ppt
Changes in the standard pptMalik obeisat
 

Similar to Dynamic interconnection networks (20)

MODELLING AND SIMULATION OF 128-BIT CROSSBAR SWITCH FOR NETWORK -ONCHIP
MODELLING AND SIMULATION OF 128-BIT CROSSBAR SWITCH FOR NETWORK -ONCHIPMODELLING AND SIMULATION OF 128-BIT CROSSBAR SWITCH FOR NETWORK -ONCHIP
MODELLING AND SIMULATION OF 128-BIT CROSSBAR SWITCH FOR NETWORK -ONCHIP
 
Chapter10 switching
Chapter10 switchingChapter10 switching
Chapter10 switching
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
 
Review of crosstalk free Network
Review of crosstalk free NetworkReview of crosstalk free Network
Review of crosstalk free Network
 
Interconnection Network
Interconnection NetworkInterconnection Network
Interconnection Network
 
Unit_I - 5
Unit_I - 5Unit_I - 5
Unit_I - 5
 
X4408127130
X4408127130X4408127130
X4408127130
 
Multiplexer and De multiplexers.docx
Multiplexer and De multiplexers.docxMultiplexer and De multiplexers.docx
Multiplexer and De multiplexers.docx
 
10 Slides to Sonet
10 Slides to Sonet10 Slides to Sonet
10 Slides to Sonet
 
A report on 2 to 1 mux using tg
A report on 2 to 1 mux using tgA report on 2 to 1 mux using tg
A report on 2 to 1 mux using tg
 
Dccn solution
Dccn solutionDccn solution
Dccn solution
 
Synchronous optical networking (SONET)
Synchronous optical networking (SONET) Synchronous optical networking (SONET)
Synchronous optical networking (SONET)
 
Network switching
Network switchingNetwork switching
Network switching
 
network.ppt
network.pptnetwork.ppt
network.ppt
 
IEEE 802.11a Physical Layer Simulation
IEEE 802.11a Physical Layer SimulationIEEE 802.11a Physical Layer Simulation
IEEE 802.11a Physical Layer Simulation
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Ch08
Ch08Ch08
Ch08
 
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode LogicDesign of Quaternary Logical Circuit Using Voltage and Current Mode Logic
Design of Quaternary Logical Circuit Using Voltage and Current Mode Logic
 
Changes in the standard ppt
Changes in the standard pptChanges in the standard ppt
Changes in the standard ppt
 
3_pstn2.ppt
3_pstn2.ppt3_pstn2.ppt
3_pstn2.ppt
 

More from Prasenjit Dey

Machine Learning in Agriculture Module 6: classification
Machine Learning in Agriculture Module 6: classificationMachine Learning in Agriculture Module 6: classification
Machine Learning in Agriculture Module 6: classificationPrasenjit Dey
 
Machine Learning in Agriculture Module 3: linear regression
Machine Learning in Agriculture Module 3: linear regressionMachine Learning in Agriculture Module 3: linear regression
Machine Learning in Agriculture Module 3: linear regressionPrasenjit Dey
 
Machine learning in agriculture module 2
Machine learning in agriculture module 2Machine learning in agriculture module 2
Machine learning in agriculture module 2Prasenjit Dey
 
Machine Learning in Agriculture Module 1
Machine Learning in Agriculture Module 1Machine Learning in Agriculture Module 1
Machine Learning in Agriculture Module 1Prasenjit Dey
 
Support vector machine
Support vector machineSupport vector machine
Support vector machinePrasenjit Dey
 
Numerical on general pipelines
Numerical on general pipelinesNumerical on general pipelines
Numerical on general pipelinesPrasenjit Dey
 
General pipeline concepts
General pipeline conceptsGeneral pipeline concepts
General pipeline conceptsPrasenjit Dey
 
Evaluation of computer performance
Evaluation of computer performanceEvaluation of computer performance
Evaluation of computer performancePrasenjit Dey
 
Instruction Set Architecture: MIPS
Instruction Set Architecture: MIPSInstruction Set Architecture: MIPS
Instruction Set Architecture: MIPSPrasenjit Dey
 
Page replacement and thrashing
Page replacement and thrashingPage replacement and thrashing
Page replacement and thrashingPrasenjit Dey
 
Register transfer and microoperations part 2
Register transfer and microoperations part 2Register transfer and microoperations part 2
Register transfer and microoperations part 2Prasenjit Dey
 
Instruction set (prasenjit dey)
Instruction set (prasenjit dey)Instruction set (prasenjit dey)
Instruction set (prasenjit dey)Prasenjit Dey
 
Register transfer and microoperations part 1
Register transfer and microoperations part 1Register transfer and microoperations part 1
Register transfer and microoperations part 1Prasenjit Dey
 
Different types of memory and hardware designs of RAM and ROM
Different types of memory and hardware designs of RAM and ROMDifferent types of memory and hardware designs of RAM and ROM
Different types of memory and hardware designs of RAM and ROMPrasenjit Dey
 
Carry look ahead adder
Carry look ahead adder Carry look ahead adder
Carry look ahead adder Prasenjit Dey
 
Binary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmBinary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmPrasenjit Dey
 
Computer organization basics and number systems
Computer organization basics and number systemsComputer organization basics and number systems
Computer organization basics and number systemsPrasenjit Dey
 

More from Prasenjit Dey (20)

Machine Learning in Agriculture Module 6: classification
Machine Learning in Agriculture Module 6: classificationMachine Learning in Agriculture Module 6: classification
Machine Learning in Agriculture Module 6: classification
 
Machine Learning in Agriculture Module 3: linear regression
Machine Learning in Agriculture Module 3: linear regressionMachine Learning in Agriculture Module 3: linear regression
Machine Learning in Agriculture Module 3: linear regression
 
Machine learning in agriculture module 2
Machine learning in agriculture module 2Machine learning in agriculture module 2
Machine learning in agriculture module 2
 
Machine Learning in Agriculture Module 1
Machine Learning in Agriculture Module 1Machine Learning in Agriculture Module 1
Machine Learning in Agriculture Module 1
 
Support vector machine
Support vector machineSupport vector machine
Support vector machine
 
Numerical on general pipelines
Numerical on general pipelinesNumerical on general pipelines
Numerical on general pipelines
 
General pipeline concepts
General pipeline conceptsGeneral pipeline concepts
General pipeline concepts
 
Evaluation of computer performance
Evaluation of computer performanceEvaluation of computer performance
Evaluation of computer performance
 
Instruction Set Architecture: MIPS
Instruction Set Architecture: MIPSInstruction Set Architecture: MIPS
Instruction Set Architecture: MIPS
 
Page replacement and thrashing
Page replacement and thrashingPage replacement and thrashing
Page replacement and thrashing
 
Addressing mode
Addressing modeAddressing mode
Addressing mode
 
Register transfer and microoperations part 2
Register transfer and microoperations part 2Register transfer and microoperations part 2
Register transfer and microoperations part 2
 
Instruction set (prasenjit dey)
Instruction set (prasenjit dey)Instruction set (prasenjit dey)
Instruction set (prasenjit dey)
 
Register transfer and microoperations part 1
Register transfer and microoperations part 1Register transfer and microoperations part 1
Register transfer and microoperations part 1
 
Different types of memory and hardware designs of RAM and ROM
Different types of memory and hardware designs of RAM and ROMDifferent types of memory and hardware designs of RAM and ROM
Different types of memory and hardware designs of RAM and ROM
 
Cache memory
Cache  memoryCache  memory
Cache memory
 
Carry look ahead adder
Carry look ahead adder Carry look ahead adder
Carry look ahead adder
 
Binary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmBinary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithm
 
Booth's algorithm
Booth's algorithm Booth's algorithm
Booth's algorithm
 
Computer organization basics and number systems
Computer organization basics and number systemsComputer organization basics and number systems
Computer organization basics and number systems
 

Recently uploaded

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 

Dynamic interconnection networks

  • 2. Basics 2  Interconnection networks consists of multiple processors and memory modules  The processors and memory modules can be connected with each other in various ways  These connections can be static or dynamic  In static networks, connections are fixed links  In dynamic network, connections are built on the fly as required
  • 3. Network properties 3  Degree of a node (d)  The number of edges incident on a node  In-degree  Out-degree  In-Degree of a node  The number of incoming edges of a node  Out-Degree of a node  The number of outgoing edges of a node  Diameter of a node (D)  The maximum shortest path between any two nodes  Network latency  Worst-case time for a information to be transferred d = 5 In-degree = 3 Out-degree = 2 D = max(1,1,2,1,2,1) = 2 1 2 3 4
  • 4. Bisection of a network 4  Bisection width  The minimum number of wires that must be cut to divide the network into two equal halves.  A cut of a network C(A, B) is a set of channels, which partition the set of all nodes into 2 disjoint sets, where each element of C(A, B) is a channel with a source in A and destination in B or vice versa  A bisection of a network is a cut that partitions the network into equal halves, such that |A|≤|B|≤|A+1|  The channel bisection of a network is the minimum channel count over all bisections of the network | ) , ( | min sec B A C Bc tions bi 
  • 5. Types of Interconnections 5 Interconnection networks Static networks Dynamic networks 2-dimension Bus based 1 -dimension Hypercube Switch based Single Multiple Single stage Multi Stage Crossbar
  • 6. Bus based Interconnection Networks 6  All the processors and memory modules are interconnected with each other by buses  Two types of bus based networks  Single bus networks  Multiple bus networks
  • 7. Single Bus Interconnected Systems 7  Multiple processors are interconnected by a single shared bus  Each processor has its own cache, less traffic  All processors communicate with a single shared memory  Number of buses used is 1, so the network complexity is O(1)  Maximum input to output delay is n, so time complexity is O(n) P1 P2 P3 Pn Shared Memory I/O devices Shared bus
  • 8. Multiple Bus Interconnected Systems 8  Multiple processors and multiple memory modules are interconnected by multiple parallel buses  High Reliability: A single bus failure will leave (m-1) distinct fault-free paths between the processors and the memory modules  It can be configured in different ways:, e.g., MBFBMC, MBSBMC, MBPBMC, MBCBMC P1 P2 P3 Pn M1 M2 M3 Mm Fig. 1
  • 9. Multiple Bus Interconnected Systems 9  MBFBMC: multiple bus with full bus–memory connection  All memory modules are connected with all buses (Fig. 1)  MBSBMC: multiple bus with single bus memory connection  One memory module is connected with one specific bus (Fig. 2)  MBPBMC: multiple bus with partial bus–memory connection  One memory module is connected to a subset of buses (Fig. 3)  MBCBMC: multiple bus with class-based memory connection  Memory modules grouped into classes whereby each class is connected to a specific subset of buses (Fig. 4) P1 P2 P3 Pn M1 M2 M3 Mn Fig. 2
  • 10. Multiple Bus Interconnected Systems P1 P2 P3 Pn M1 M2 M3 M4 Fig. 4 P1 P2 P3 Pn M1 M2 M3 M4 Fig. 3 Class 1 Class 2
  • 11. Switch-Based Interconnection Networks 11  All the processors and memory modules are interconnected with each other via switches  Types of switch based networks  Crossbar Networks  Single-Stage Networks  Multistage Networks
  • 12. Crossbar Networks 12  Crossbar networks provide simultaneous connections among all inputs and outputs  It contains a switching element (SE) at the intersection of any two lines extended horizontally or vertically inside the switch  Each junction is a switching component, connecting the row to the column  A 4 x 4 crossbar network consists of 16 SEs P1 P2 P3 P4 M1 M2 M3 M4 SE
  • 13. Crossbar Networks 13  Two types of settings for SE 1. Straight 2. Diagonal  In an N x N crossbar, the number of switching points is N2, so the network complexity is O(N2)  Not scalable  Maximum input to output delay is 1, so time complexity is O(1)  Fast Transfer  Blocking if the destination is in use Straight switch Diagonal switch
  • 14. Switches Switch size Permutation connection Legitimate states 2 × 2 2 4 4 × 4 24 256 8 × 8 40,320 16,777,216 N × N N! NN 14  Permutation connection  Each input can only be connected to a single output  Legitimate state  Each input can be connected to multiple outputs, but each output can only be connected to a single input
  • 15. Single Stage Networks 15  In single stage Interconnection Networks (INs), a simple 2 x 2 switching element (SE) is used  Four types of settings for SE  Shuffle-Exchange interconnection pattern is used to establish the connections between inputs and outputs  For m-bit input address Pm-1, Pm-2, …, P1, P0  Shuffle operation performs 1bit circular left shift on the bits  Shuffle(Pm-1, Pm-2, …, P1, P0) = Pm-2, Pm-3, …, P0, Pm-1  Exchange operation inverts the LSB  Exchange(Pm-1, Pm-2, …, P1, P0) = Pm-1, Pm-2, …, P1, 𝑃0 *From Advanced Computer Architectures, K. Hwang, 1993.
  • 16. 16  Single stage Shuffle-Exchange IN  Perfect shuffle operation  cyclic shift 1 place left  000(0)  000(0)  001(1)  010(2)  010(2)  100(4)  011(3)  110(6)  100(4)  001(1)  101(5)  011(3)  110(6)  101(5)  111(7)  111(7)  Exchange operation  Invert least significant bit  E.g., 101(5)  100(4) *From Ben Macey at http://www.ee.uwa.edu.au/~maceyb/aca319-2003 Single Stage Networks
  • 17. Demonstration 17  In an 8-input single stage IN, create a dynamic connection between input 0 (000) and output (110) by using Shuffle–Exchange interconnection pattern.  The following sequence of shuffle/exchange operations is needed  E(000)  001  S(001)  010  E(010)  011  S(011)  110
  • 18. Single Stage Networks 18  For N number of inputs(processors) and N number of outputs (memory modules), the number of SEs is N/2  The maximum length of a path from an input to an output in the network, measured by the number of SEs along the path, is log2 N.  In single stage IN, the network complexity is O(N)  In single stage IN, the time complexity is O(N)  A single path between the inputs (processors) and the outputs (memory modules)
  • 19. Multistage Networks 19  Multistage Interconnection Network (MIN) are formed by cascading multiple single stage IN each with a set of 2 x 2 SEs  Stages are connected to each other using Inter Stage Connection (ISC) Pattern  The patterns can use any routing function  E.g., Shuffle–Exchange, Butterfly, Cube, etc.  Two types of MIN  Single path MIN  One unique path between any input/output pair  Banyan network  Multipath MIN  Multiple paths between any input/output pair  Delta network is a subset of Banyan network which shows self- routing property
  • 20. Types of MIN 20 MIN Single-sided Two-sided Multiple Path Single Path Clos Benes PM2I Banyan Batcher Delta
  • 21. Multistage Networks 21  Based on blocking, there are 3 types of MINs  Nonblocking  A network is called nonblocking if it is possible to establish a connection between an input and an output regardless of what other connections are currently in process  Rearrangeable nonblocking  A network is called rearrangeable nonblocking if it is possible to establish all possible connections between inputs and outputs by rearranging its existing connections  Blocking interconnection  A network is called blocking if some connections between inputs and outputs block other input-output connections  E.g., Omega network, Baseline network, Banyan network, etc.
  • 22. Single Path: Omega network 22 Connect input (processor) 101 to output (memory module) 001 *From Ben Macey at http://www.ee.uwa.edu.au/~maceyb/aca319-2003 Algorithm At stage k, look at the kth bit of the destination address If (kth bit == 0) consider upper o/p port of the switch Else consider lower o/p port of the switch Input = 101(5) Shuffle(101) 011(3) Consider upper port of switch B #1st bit of the destination address at stage 1 is 0 Shuffle(010) 100(4) Consider upper port of switch G #2nd bit of the destination address at stage 2 is 0 Shuffle(100) 001(1) Consider lower port of switch I #3rd bit of the destination address at stage 3 is 1
  • 23.  Suppose there is a connection from input 001 to output 100  Try to establish a connection between input 011 and output 101  It will make a collision at the upper output of 4th switch in 2nd stage, therefore blocking the connection between input 011 and output 101 Blocking in Omega network
  • 24. Omega networks 24  Uses 2 × 2 switches and perfect shuffle interconnect pattern between the stages  One unique path from each input to each output, no redundant paths  no fault tolerance and the possibility of blocking  For N number of inputs and N number of outputs  Number of stages is log2N (for 2 × 2 switches)  Number of SEs per stage is N/2  Total number of SEs is (N/2) log2(N)  Number of permutations in a omega network is 2(N/2) log2(N)
  • 25. Baseline networks 25  This is another type of blocking network that can be generated recursively  The 1st stage N × N, the second (N/2) × (N/2), and so on  Networks are topologically equivalent  A network can be reproduced from the other networks by rearranging the nodes at each stage. *From Advanced Computer Architectures, K. Hwang, 1993.
  • 26.  It is an 8 x 8 Benes network  Here, the connection 110-100 blocks the connection between input 100 and output 010  However, by rearranging the 110-100 connection, it is possible to establish a connection between input 100 and output 010 001 010 011 100 101 000 110 111 001 010 011 100 101 000 110 111 001 010 011 100 101 000 110 111 001 010 011 100 101 000 110 111 Multiple Path: Benes network
  • 27. Performance Comparison 27  Bus network  Blocking  Network complexity O(1)  Network latency O(N)  Crossbar network  Non blocking  Network complexity O(N2)  Network latency O(1)  Single stage IN  Blocking  Network complexity O(N)  Network latency O(N)  Multistage IN  Blocking  Network complexity O(N log2 N)  Network latency O(log2 N)