SlideShare a Scribd company logo
Unit VI
Multiprocessors
Contents
 Characteristics of Multiprocessors
Interconnection Structure
 Interprocessor Arbitration
 Interprocessor Communication and
Synchronization
 Cache Coherence
 Shared Memory Multiprocessors
Unit VI (Cont.)
Interconnection Structure
Introduction
 The components that form a multiprocessor system
are CPUs, IOPs connected to input-output devices,
and a memory unit.
 The interconnection between the components can
have different physical configurations, depending on
the number of transfer paths that are available
 Between the processors and memory in a shared memory system
 Among the processing elements in a loosely coupled system
Introduction(cont.)
 There are several physical forms available for
establishing an interconnection network.
 Time-shared common bus
 Multiport memory
 Crossbar switch
 Multistage switching network
 Hypercube system
Time-shared common bus
 A common-bus multiprocessor system consists of a
number of processors connected through a common
path to a memory unit.
 Disadv.:
 Only one processor can communicate with the memory or another
processor at any given time.
 As a consequence, the total overall transfer rate within the system
is limited by the speed of the single path
 A more economical implementation of a dual bus
structure is depicted in Fig. 2.
 Part of the local memory may be designed as a cache
memory attached to the CPU.
Time-shared common bus organization
Memory unit
CPU 1 CPU 2 CPU 3 IOP 1 IOP 2
System bus structure for multiprocessors
Fig. 2
CPU IOP
Local
memory
Common
shared
memory
System
bus
controller
CPU IOP
Local
memory
System
Bus
controller
CPU
Local
memory
Local bus Local bus
Local bus
System bus
System
bus
controller
Multiport memory
 A multiport memory system employs separate buses
between each memory module and each CPU.
 The module must have internal control logic to
determine which port will have access to memory at
any given time.
 Memory access conflicts are resolved by assigning
fixed priorities to each memory port.
 Adv.:
 The high transfer rate can be achieved because of the multiple
paths.
 Disadv.:
 It requires expensive memory control logic and a large number of
cables and connections
Multiport memory organization
CPU 1
CPU 2
CPU 3
CPU 4
MM 1




MM 2




MM 3



MM 4
Memory
modules
Crossbar switch
 Consists of a number of crosspoints that are placed at
intersections between processor buses and memory
module paths.
 The small square in each crosspoint is a switch that
determines the path from a processor to a memory
module.
 Adv.:
 Supports simultaneous transfers from all memory modules
 Disadv.:
 The hardware required to implement the switch can become quite large
and complex.
 Fig. 5 shows the functional design of a crossbar switch
connected to one memory module.
Crossbar switch
CPU 1
CPU 2
CPU 3
CPU 4
MM 1 MM 2 MM 3 MM 4Memory
modules
Block diagram of crossbar switch
Fig. 5
Memory
module
Multiplexers
and
arbitration
logic
Data
Address
Read/write
Memory enable
Data, address, and
control from CPU 1
Data, address, and
control from CPU 2
Data, address, and
control from CPU 3
Data, address, and
control from CPU 4
Multistage switching network
 The basic component of a multistage network is a
two-input, two-output interchange switch as shown
in Fig. 6.
 Using the 2x2 switch as a building block, it is possible
to build a multistage network to control the
communication between a number of sources and
destinations.
 To see how this is done, consider the binary tree shown in Fig. 13-7.
 Certain request patterns cannot be satisfied simultaneously. i.e., if
P1  000~011, then P2  100~111
Multistage switching network(cont.)
 One such topology is the omega switching network
shown in Fig. 8.
 Some request patterns cannot be connected simultaneously.
i.e., any two sources cannot be connected simultaneously to
destination 000 and 001
 In a tightly coupled multiprocessor system, the
source is a processor and the destination is a
memory module.
 Set up the path  transfer the address into memory 
transfer the data
 In a loosely coupled multiprocessor system, both the
source and destination are processing elements.
Operation of a 2 x 2 interchange switch
Fig. 6
A
B
0
1
A
B
0
1
A connected to 0
B connected to 0
A
B
0
1
A connected to 1
A
B
0
1
B connected to 1
Binary tree with 2 x 2 switches
0
1
0
1
0
1
0
1
0
1
0
1
0
1
P1
P2
000
001
010
011
100
101
110
111
8 x 8 omega switching networking
Fig. 8
0
1
2
3
4
5
6
7
000
001
010
011
100
101
110
111
Hypercube system
 The hypercube or binary n-cube multiprocessor
structure is a loosely coupled system composed of
N=2n processors interconnected in an n-dimensional
binary cube.
 Each processor forms a node of the cube, in effect it contains not
only a CPU but also local memory and I/O interface.
 Each processor address differs from that of each of its n neighbors
by exactly one bit position.
 Fig. 9 shows the hypercube structure for n=1, 2, and
3.
Hypercube system(cont.)
 Routing messages through an n-cube structure may
take from one to n links from a source node to a
destination node.
 A routing procedure can be developed by computing the exclusive-
OR of the source node address with the destination node address.
 The message is then sent along any one of the axes that the
resulting binary value will have 1 bits corresponding to the axes on
which the two nodes differ.
 A representative of the hypercube architecture is the
Intel iPSC computer complex.
 It consists of 128(n=7) microcomputers, each node consists of a
CPU, a floating-point processor, local memory, and serial
communication interface units.
Hypercube structures for n=1, 2, 3
Fig. 9

 







 


000
001
010
011
100
101
110
111
00 10
01 11
1
0
One-cube Two-cube Three-cube
Source node 010
Destination node 001
Exclusive-OR 011

More Related Content

What's hot

Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O Devices
Slideshare
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
myrajendra
 
Bus aribration
Bus aribrationBus aribration
Bus aribration
Saiyam Agrawal
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
PreethiSureshkumar1
 
CPU Scheduling in OS Presentation
CPU Scheduling in OS  PresentationCPU Scheduling in OS  Presentation
CPU Scheduling in OS Presentation
usmankiyani1
 
Point to point interconnect
Point to point interconnectPoint to point interconnect
Point to point interconnect
Kinza Razzaq
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
Neel Patel
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
Ravindra Raju Kolahalam
 
types of operating system
types of operating systemtypes of operating system
types of operating system
Mahira Rashdi
 
Multiprocessing operating systems
Multiprocessing operating systemsMultiprocessing operating systems
Multiprocessing operating systems
Chathurangi Shyalika
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
Kamal Acharya
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
chauhankapil
 
Multi processor scheduling
Multi  processor schedulingMulti  processor scheduling
Multi processor scheduling
Shashank Kapoor
 
Interrupts
InterruptsInterrupts
Interrupts
guest2e9811e
 
Scheduling algorithms
Scheduling algorithmsScheduling algorithms
Scheduling algorithms
Chankey Pathak
 
DMA and DMA controller
DMA and DMA controllerDMA and DMA controller
DMA and DMA controller
nishant upadhyay
 
Processes and threads
Processes and threadsProcesses and threads
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
vampugani
 
Cache memory
Cache memoryCache memory
Cache memory
Ahsan Ashfaq
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
shubham kuwar
 

What's hot (20)

Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O Devices
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
 
Bus aribration
Bus aribrationBus aribration
Bus aribration
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
CPU Scheduling in OS Presentation
CPU Scheduling in OS  PresentationCPU Scheduling in OS  Presentation
CPU Scheduling in OS Presentation
 
Point to point interconnect
Point to point interconnectPoint to point interconnect
Point to point interconnect
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
 
types of operating system
types of operating systemtypes of operating system
types of operating system
 
Multiprocessing operating systems
Multiprocessing operating systemsMultiprocessing operating systems
Multiprocessing operating systems
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Multi processor scheduling
Multi  processor schedulingMulti  processor scheduling
Multi processor scheduling
 
Interrupts
InterruptsInterrupts
Interrupts
 
Scheduling algorithms
Scheduling algorithmsScheduling algorithms
Scheduling algorithms
 
DMA and DMA controller
DMA and DMA controllerDMA and DMA controller
DMA and DMA controller
 
Processes and threads
Processes and threadsProcesses and threads
Processes and threads
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
Cache memory
Cache memoryCache memory
Cache memory
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 

Similar to Unit 6 interconnection structure

Multiprocessor structures
Multiprocessor structuresMultiprocessor structures
Multiprocessor structures
Shareb Ismaeel
 
Unit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessorUnit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessor
vishal choudhary
 
A ULTRA-LOW POWER ROUTER DESIGN FOR NETWORK ON CHIP
A ULTRA-LOW POWER ROUTER DESIGN FOR NETWORK ON CHIPA ULTRA-LOW POWER ROUTER DESIGN FOR NETWORK ON CHIP
A ULTRA-LOW POWER ROUTER DESIGN FOR NETWORK ON CHIP
ijaceeejournal
 
Multiprocessor
Multiprocessor Multiprocessor
Multiprocessor
Irfan Khan
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
Kaviya452563
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
wajanga
 
Distributed system lectures
Distributed system lecturesDistributed system lectures
Distributed system lectures
marwaeng
 
ICT III - MPMC - Answer Key.pdf
ICT III - MPMC - Answer Key.pdfICT III - MPMC - Answer Key.pdf
ICT III - MPMC - Answer Key.pdf
GowriShankar881783
 
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSORPHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
ijad journal
 
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSORPHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
ijcseit
 
1
11
02 the cpu
02 the cpu02 the cpu
02 the cpu
Jim Finn
 
Multi processor
Multi processorMulti processor
Multi processor
Ibrahim Hassan
 
CH03 COMBUTER 000000000000000000000.pptx
CH03 COMBUTER 000000000000000000000.pptxCH03 COMBUTER 000000000000000000000.pptx
CH03 COMBUTER 000000000000000000000.pptx
227567
 
Michael Gschwind et al, "An Open Source Environment for Cell Broadband Engine...
Michael Gschwind et al, "An Open Source Environment for Cell Broadband Engine...Michael Gschwind et al, "An Open Source Environment for Cell Broadband Engine...
Michael Gschwind et al, "An Open Source Environment for Cell Broadband Engine...
Michael Gschwind
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
Sweety Singhal
 
Design and implementation of microprocessor trainer bus system
Design and implementation of microprocessor trainer bus systemDesign and implementation of microprocessor trainer bus system
Design and implementation of microprocessor trainer bus system
IJARIIT
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
Brenda Debra
 
computer Unit 3
computer Unit 3computer Unit 3
computer Unit 3
Aqeel Rehman
 
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
VLSICS Design
 

Similar to Unit 6 interconnection structure (20)

Multiprocessor structures
Multiprocessor structuresMultiprocessor structures
Multiprocessor structures
 
Unit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessorUnit 5 lect-3-multiprocessor
Unit 5 lect-3-multiprocessor
 
A ULTRA-LOW POWER ROUTER DESIGN FOR NETWORK ON CHIP
A ULTRA-LOW POWER ROUTER DESIGN FOR NETWORK ON CHIPA ULTRA-LOW POWER ROUTER DESIGN FOR NETWORK ON CHIP
A ULTRA-LOW POWER ROUTER DESIGN FOR NETWORK ON CHIP
 
Multiprocessor
Multiprocessor Multiprocessor
Multiprocessor
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
Distributed system lectures
Distributed system lecturesDistributed system lectures
Distributed system lectures
 
ICT III - MPMC - Answer Key.pdf
ICT III - MPMC - Answer Key.pdfICT III - MPMC - Answer Key.pdf
ICT III - MPMC - Answer Key.pdf
 
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSORPHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
 
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSORPHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
PHASE-PRIORITY BASED DIRECTORY COHERENCE FOR MULTICORE PROCESSOR
 
1
11
1
 
02 the cpu
02 the cpu02 the cpu
02 the cpu
 
Multi processor
Multi processorMulti processor
Multi processor
 
CH03 COMBUTER 000000000000000000000.pptx
CH03 COMBUTER 000000000000000000000.pptxCH03 COMBUTER 000000000000000000000.pptx
CH03 COMBUTER 000000000000000000000.pptx
 
Michael Gschwind et al, "An Open Source Environment for Cell Broadband Engine...
Michael Gschwind et al, "An Open Source Environment for Cell Broadband Engine...Michael Gschwind et al, "An Open Source Environment for Cell Broadband Engine...
Michael Gschwind et al, "An Open Source Environment for Cell Broadband Engine...
 
Multiprocessor
MultiprocessorMultiprocessor
Multiprocessor
 
Design and implementation of microprocessor trainer bus system
Design and implementation of microprocessor trainer bus systemDesign and implementation of microprocessor trainer bus system
Design and implementation of microprocessor trainer bus system
 
Computer System Architecture
Computer System ArchitectureComputer System Architecture
Computer System Architecture
 
computer Unit 3
computer Unit 3computer Unit 3
computer Unit 3
 
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
 

Recently uploaded

The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
171ticu
 

Recently uploaded (20)

The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样学校原版美国波士顿大学毕业证学历学位证书原版一模一样
学校原版美国波士顿大学毕业证学历学位证书原版一模一样
 

Unit 6 interconnection structure

  • 2. Contents  Characteristics of Multiprocessors Interconnection Structure  Interprocessor Arbitration  Interprocessor Communication and Synchronization  Cache Coherence  Shared Memory Multiprocessors
  • 4. Introduction  The components that form a multiprocessor system are CPUs, IOPs connected to input-output devices, and a memory unit.  The interconnection between the components can have different physical configurations, depending on the number of transfer paths that are available  Between the processors and memory in a shared memory system  Among the processing elements in a loosely coupled system
  • 5. Introduction(cont.)  There are several physical forms available for establishing an interconnection network.  Time-shared common bus  Multiport memory  Crossbar switch  Multistage switching network  Hypercube system
  • 6. Time-shared common bus  A common-bus multiprocessor system consists of a number of processors connected through a common path to a memory unit.  Disadv.:  Only one processor can communicate with the memory or another processor at any given time.  As a consequence, the total overall transfer rate within the system is limited by the speed of the single path  A more economical implementation of a dual bus structure is depicted in Fig. 2.  Part of the local memory may be designed as a cache memory attached to the CPU.
  • 7. Time-shared common bus organization Memory unit CPU 1 CPU 2 CPU 3 IOP 1 IOP 2
  • 8. System bus structure for multiprocessors Fig. 2 CPU IOP Local memory Common shared memory System bus controller CPU IOP Local memory System Bus controller CPU Local memory Local bus Local bus Local bus System bus System bus controller
  • 9. Multiport memory  A multiport memory system employs separate buses between each memory module and each CPU.  The module must have internal control logic to determine which port will have access to memory at any given time.  Memory access conflicts are resolved by assigning fixed priorities to each memory port.  Adv.:  The high transfer rate can be achieved because of the multiple paths.  Disadv.:  It requires expensive memory control logic and a large number of cables and connections
  • 10. Multiport memory organization CPU 1 CPU 2 CPU 3 CPU 4 MM 1     MM 2     MM 3    MM 4 Memory modules
  • 11. Crossbar switch  Consists of a number of crosspoints that are placed at intersections between processor buses and memory module paths.  The small square in each crosspoint is a switch that determines the path from a processor to a memory module.  Adv.:  Supports simultaneous transfers from all memory modules  Disadv.:  The hardware required to implement the switch can become quite large and complex.  Fig. 5 shows the functional design of a crossbar switch connected to one memory module.
  • 12. Crossbar switch CPU 1 CPU 2 CPU 3 CPU 4 MM 1 MM 2 MM 3 MM 4Memory modules
  • 13. Block diagram of crossbar switch Fig. 5 Memory module Multiplexers and arbitration logic Data Address Read/write Memory enable Data, address, and control from CPU 1 Data, address, and control from CPU 2 Data, address, and control from CPU 3 Data, address, and control from CPU 4
  • 14. Multistage switching network  The basic component of a multistage network is a two-input, two-output interchange switch as shown in Fig. 6.  Using the 2x2 switch as a building block, it is possible to build a multistage network to control the communication between a number of sources and destinations.  To see how this is done, consider the binary tree shown in Fig. 13-7.  Certain request patterns cannot be satisfied simultaneously. i.e., if P1  000~011, then P2  100~111
  • 15. Multistage switching network(cont.)  One such topology is the omega switching network shown in Fig. 8.  Some request patterns cannot be connected simultaneously. i.e., any two sources cannot be connected simultaneously to destination 000 and 001  In a tightly coupled multiprocessor system, the source is a processor and the destination is a memory module.  Set up the path  transfer the address into memory  transfer the data  In a loosely coupled multiprocessor system, both the source and destination are processing elements.
  • 16. Operation of a 2 x 2 interchange switch Fig. 6 A B 0 1 A B 0 1 A connected to 0 B connected to 0 A B 0 1 A connected to 1 A B 0 1 B connected to 1
  • 17. Binary tree with 2 x 2 switches 0 1 0 1 0 1 0 1 0 1 0 1 0 1 P1 P2 000 001 010 011 100 101 110 111
  • 18. 8 x 8 omega switching networking Fig. 8 0 1 2 3 4 5 6 7 000 001 010 011 100 101 110 111
  • 19. Hypercube system  The hypercube or binary n-cube multiprocessor structure is a loosely coupled system composed of N=2n processors interconnected in an n-dimensional binary cube.  Each processor forms a node of the cube, in effect it contains not only a CPU but also local memory and I/O interface.  Each processor address differs from that of each of its n neighbors by exactly one bit position.  Fig. 9 shows the hypercube structure for n=1, 2, and 3.
  • 20. Hypercube system(cont.)  Routing messages through an n-cube structure may take from one to n links from a source node to a destination node.  A routing procedure can be developed by computing the exclusive- OR of the source node address with the destination node address.  The message is then sent along any one of the axes that the resulting binary value will have 1 bits corresponding to the axes on which the two nodes differ.  A representative of the hypercube architecture is the Intel iPSC computer complex.  It consists of 128(n=7) microcomputers, each node consists of a CPU, a floating-point processor, local memory, and serial communication interface units.
  • 21. Hypercube structures for n=1, 2, 3 Fig. 9               000 001 010 011 100 101 110 111 00 10 01 11 1 0 One-cube Two-cube Three-cube Source node 010 Destination node 001 Exclusive-OR 011