interconnection network organization and its impact on performance

18
Interconnection Network Organization and its Impact on Performance and Cost in Shared Memory Multiprocessor By Sunil Kim, Alexander , V eidenbaum

Upload: kulking

Post on 08-Apr-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 1/18

Interconnection Network Organization

and its Impact on Performance and

Cost in Shared Memory Multiprocessor

By Sunil Kim, Alexander, Veidenbaum

Page 2: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 2/18

Introduction

This paper presents a detailed comparative

study of:

different network organizations

behavior and

design trade-offs

with respect to:

performance and

cost for a shared memory multiprocessor

Page 3: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 3/18

Presentation Plan

We have selected following sub topics to

present in this short duration presentation:

System model

Performance metrics

Experiment and analysis

Conclusion

Page 4: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 4/18

System Model

In this study onlyinterconnection

network

organization isvaried.

Scalar

Processor

Page 5: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 5/18

Shared Memory and Cache

Shared memory is physically distributed and

directly addressable by each processor

Memory module operation is pipelined to

perform a memory access

Memory cycle time depends on the message

length and data path width

All messages have an 8-byte message header

All non-shared data and instructions are

stored in a separate local memory

Page 6: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 6/18

Scalar Processor

Standard RISC processor

Instruction execute in one cycle with the

exception of:

integer multiplication and division

floating-point addition, multiplication and division

Page 7: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 7/18

Crossbar Switch

non-blocking switch usednumber of queues equal to

the number of output ports

message header containsthe destination tag

minimum switch latency

three cycles

Page 8: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 8/18

Networks

Three different

topologies are studied:

a multidimensional

torus

a multistage shuffle

exchange (MSX)

Page 9: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 9/18

Networksa single stage shuffle

exchange (SSX)A node is connected to a

network using multiplexor

and de-multiplexor module

DMUX

Wires connecting switches incur a one clock

cycle delay

The DMUX causes an additional one cycle delay

and also has infinite queues

Page 10: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 10/18

Performance Metrics

Read miss latency is used as the main

performance metric

Read miss latency is the sum of the delays

experienced in the network memory and

cache interface as shown in the followingequation:

L= Ds x PL + Dm + Ta

Page 11: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 11/18

Performance Metrics L= Ds x PL + Dm + Ta, where

L: Read miss latency Ds: Stage delay

PL: Average message path length hops for around trip to memory

Dm: Memory delay, Dm = Tmw + Lml

Tmw: Memory waiting time

Lml: Memory module latency cycles

Ta: Assembly time at a cache seen by a processor,

Ta=128 / Wc

Wc: Channel width

Page 12: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 12/18

Experiments and Analysis

System and network performance of the three

network topologies is studied varying switch

size, channel width and system size

� Switch sizes of 4x4, 8x8 and 16x16 channel

widths of 1,2,4 and 8 bytes and system sizes of 64, 128 and 256 processors are examined

Page 13: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 13/18

Stage Delay (Ds)

Page 14: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 14/18

Memory Waiting Time (Tmw)

Page 15: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 15/18

Memory Waiting Time (only Tmw)

Page 16: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 16/18

Relative Read Miss Latency Difference Performance

difference between

networks for system

size of 128

SSX/TORUS is

defined as:

(LTORUS-LSSX)/LTORUS*100

LSSX are the read

miss latency of SSX

Page 17: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 17/18

Conclusion Read miss latency used as main performance

metric Switch size and channel width are two very

important network organization parametersaffecting Ds and Wm

For fixed switch size and channel width MSXnetworks performed better than the othernetworks

Increasing channel width resulted in the largestperformance gain for SSX networks, increase hassmallest effect in multi-dimensional TORUSnetworks

Page 18: Interconnection Network Organization and Its Impact on Performance

8/7/2019 Interconnection Network Organization and Its Impact on Performance

http://slidepdf.com/reader/full/interconnection-network-organization-and-its-impact-on-performance 18/18

Conclusion (Cont)

Finally MSX networks was the best network

topology (ignoring cost)

Otherwise SSX network was the best network

topology

TORUS networks was seriously limited by

longer average message path length