interconnect networks - devi ahilya vishwavidyalaya · schaum’s outline of theory and problems of...

23
Lesson 04: Interconnect Networks Chapter 12: Multiprocessor Architectures

Upload: dinhnguyet

Post on 07-Sep-2018

231 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Lesson 04:Interconnect Networks

Chapter 12: Multiprocessor Architectures

Page 2: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

2

Objective

• To understand different interconnect networks• To learn crossbar switch, hypercube,

multistage and combining networks

Page 3: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

3

Crossbar Switches (Matrix Switch) for dynamic interconnections

Page 4: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

4

Crossbar switch

Page 5: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

5

Crossbar switches for dynamic interconnections

• Each processor has switch to memory bus horizontally and processor-to-switch links vertically

• A switch S having four I/O paths (0, 1, 2, 3) provides the following twelve paths (assume even paths horizontal, odd paths vertical): 0-2, 0-1, 0-3, 1-0, 1-2 1-3, 2-0, 2-1, 2-3, 3-0, 3-1, 3-2

Page 6: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

6

Hypercube Networks

Page 7: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

7

Hypercube (3-cube) networks

Page 8: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

8

Hypercube (n-cube) networks

Page 9: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

9

Multistage Networks

Page 10: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

10

Multistage (Butterfly) network m stage n switches multistage

Page 11: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

11

Butterfly connection

• The 0th output of stage j switch k connects to 1st

input of stage j +1 switch k–1 and 1stt output of stage j switch k–1 connects to 0th input of stage j+ 1 switch k

Page 12: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

12

Multistage (Butterfly) connection at 0th stage

Page 13: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

13

Butterfly and Shuffle connections in Banyan-Delta Networks

Page 14: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

14

Multistage Network

• Banyan network • m stage n switches multistage network example

with butterfly and shuffle connections

Page 15: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

15

Butterfly and Shuffle connections in Banyan-Delta Networks

• Butterfly help in one switch up or down, when the route path changes from stage j to j + 1

• One switch up or down, when the route path changes from stage j to j + 1

Page 16: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

16

Butterfly and Shuffle connections in Banyan-Delta Networks

• Shuffle helps the 1st output of stage j switch kconnects to 0th input of stage j +1 switch k + iand 0th output of stage j switch k + i –1 connects to 1st input of stage j + 1 switch k

Page 17: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

17

Multistage (Butterfly) and Shuffle connections at the stages

Page 18: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

18

Banyan Network Connections table for 4 ×××× 14 stages

Page 19: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

19

Combining in Networks

Page 20: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

20

Combining network bus requests

Page 21: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

21

Summary

Page 22: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

22

• Crossbar switch interconnects for multiprocessor networks

• Hypercube interconnects• Multistage interconnects• Combining the interconnect network

memory requests

We Learnt

Page 23: Interconnect Networks - Devi Ahilya Vishwavidyalaya · Schaum’s Outline of Theory and Problems of Computer Architecture ... Schaum’s Outline of Theory and Problems of Computer

Schaum’s Outline of Theory and Problems of Computer ArchitectureCopyright © The McGraw-Hill Companies Inc. Indian Special Edition 2009

23

End of Lesson 04 onInterconnect Networks