Docsity

Interconnection Network Design - Network Processing Architectures - Lecture Slides, Slides of Computer Architecture and Organization

Partial preview of the text

Download Interconnection Network Design - Network Processing Architectures - Lecture Slides and more Slides Computer Architecture and Organization in PDF only on Docsity!

Interconnection Network Design

Lecture 14

Multidimensional Meshes and Tori

• d -dimensional array

– n = kd-1 X ...X k O nodes

– described by d -vector of coordinates (i d-1, ..., i O )

• d -dimensional k -ary mesh: N = k

d

– k =

d

√N

– described by d -vector of radix k coordinate

• d -dimensional k -ary torus (or k -ary d -cube)?

2D Grid 3D Cube

Trees

• Diameter and ave distance logarithmic

  • k-ary tree, height d = log (^) k N
  • address specified d-vector of radix k coordinates describing path down from root

• Fixed degree

• Route up to common ancestor and down

  • R = B xor A
  • let i be position of most significant 1 in R, route up i+1 levels
  • down in direction given by low i+1 bits of B

• H-tree space is O(N) with O(√N) long wires

• Bisection BW?

Fat-Trees (SGI Altix)

• Fatter links (really more of them) as you go

up, so bisection BW scales with N

Hypercubes

• Also called binary n-cubes. # of nodes = N =

n

• O(logN) Hops

• Good bisection BW

• Complexity

– Out degree is n = logN

correct dimensions in order

– with random comm. 2 ports per processor

0-D 1-D 2-D 3-D 4-D

5-D!

How Many Dimensions?

• n = 2 or n = 3

– Short wires, easy to build

– Many hops, low bisection bandwidth

– Requires traffic locality

• n >= 4

– Harder to build, more wires, longer average length

– Fewer hops, better bisection bandwidth

– Can handle non-local traffic

• k-ary d-cubes provide a consistent frameworkDocsity.com

Traditional Scaling: Latency(P)

• Assumes equal channel width

– independent of node count or dimension

– dominated by average distance

0 20 40 60 80 100 120 140 0 5000 10000

Machine Size (N)

Ave Latency T(n=40) d= d= d= k= n/w 0 50 100 150 200 250 0 2000 4000 6000 8000 10000 Machine Size (N) Ave Latency T(n=140)

Latency with Equal Bisection Width

• N-node

hypercube has N

bisection links

• 2d torus has 2N

• Fixed bisection

=> w(d) = N

1/d

2 = k/

• 1 M nodes, d=

Dimension (d)
Ave Latency T(n=40) 256 nodes
1024 nodes
16 k nodes
1M nodes

Docsity.com

Latency under Contention

• Optimal packet size? Channel

utilization?

0 50 100 150 200 250 300 0 0.2 0.4 0.6 0.8 1

Channel Utilization

Latency n40,d2,k n40,d3,k n16,d2,k n16,d3,k n8,d2,k n8,d3,k n4,d2,k n4,d3,k