ECE669 L21 page 1 - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

ECE669 L21 page 1

Description:

LogP, LogGP are great models to capture first order system costs ... (Active Messages - MIT-Alewife) 11/22/09. Andras. ECE669 L21 13. Contention per message: Cn ... – PowerPoint PPT presentation

Number of Views:20
Avg rating:3.0/5.0
Slides: 20
Provided by: candras
Category:
Tags: alewife | ece669 | l21 | page

less

Transcript and Presenter's Notes

Title: ECE669 L21 page 1


1
LoGPC Modeling Network Contention in
Message-Passing Programs
Csaba Andras Moritz Matthew I. Frank Laboratory
for Computer Science Massachusetts Institute of
Technology andras,mfrank_at_lcs.mit.edu
2
Introduction
  • LogP, LogGP are great models to capture first
    order system costs
  • Our new model LoGPC extends LogP and LogGP
    capturing pipelining and network contention
  • Results preview 3 applications, 50-76
    contention found

3
Motivation - why do we care?
  • Regular, tightly synchronized communication
    patterns successfully modeled with LogP, LogGP.
  • Important classes of applications have irregular
    comm patterns, are not tightly synchronized or
    using large messsages.

4
Outline of presentation
  • LoGPC methodology
  • Contention-free models LogP, LogGP
  • Pipelining model
  • Network contention model
  • Applications

5
LoGPC framework
Performance signature
Contention models
Network
Application
Application performance
6
Short messages LogP (Culler et al)
  • 4 parameters
  • L Latency
  • O Overheads
  • g gap minimum time interval consecutive sends
    and receives
  • P Processors

g
g
Osend
Orec
L
7
Long messages LogGP (Alexandrov et al)
Sender
k bytes message
A new parameter introduced
........
Receiver
L
  • G Gap per byte for long messg.

G
Os
Or
(k-1)G
8
LoGPC framework
9
Pipelining model
  • Network Interface - Alewife

10
Pipelining model
11
LoGPC framework
12
Network contention model
Performance signature L,o,G (Active Messages -
MIT-Alewife)
Application specific inter message time, average
distance
Contention model
network dimension, network distance
Contention delay per message Application
Performance
13
Contention per message Cn
  • Start with open network model by Agarwal for
    expressing contention per message
  • Cn network contention
  • L network latency

L Cn
14
Contention delay per message Cn
  • Close the model, P customer system
  • Apply Littles equation,
  • solve for m

T0 inter-message time P processors m message
rate Cn contention delay L network latency
L Cn
15
LoGPC step-by-step
  • Extract com. signature L,o,G
  • Estimate inter message time(s) based on
    application comm pattern(s) T0.
  • Estimate application locality ( average message
    distance )
  • Use contention-model for contention delay per
    message Cn.
  • Estimate runtime based on critical path

16
Applications All-to-all remap
Measured
LoGPC
No contention
17
Diamond DAG
  • used in DNA chain comparison

Random mapping
Measured
LoGPC
Perfect mapping
Measured
LogGP LoGPC
18
Em3d - hot-spot elimination
  • propagation of electromagnetic waves in solids
  • asynchronous communication pattern with bulk
    transfer
  • LoGPC used to eliminate performance bugs
  • we improved performance 20 reducing contention
    by up to 70.

Synch
Communication
Synch
Comp
19
Summary
  • We found network contention significant
  • all-to-all remap 50
  • Diamond DAG up to 56
  • EM3Dup to 70 (averall performance 20)
  • LoGPC Simple way to evaluate how much locality
    matters for an application.
  • LoGPC Simple way to evaluate if network
    contention is significant for an application.
Write a Comment
User Comments (0)
About PowerShow.com