SlideShare a Scribd company logo
MPWide: A communication library
for wide area message passing

Derek Groen
Centre for Computational Science
Overview







The networking landscape
Using wide area networks
MPWide
Example applications
Uses for multiscale modelling
Questions
The networking landscape


The networks connecting grid sites and
supercomputers are highly heterogeneous.
−
−
−

Configurations differ at end points.
Shared paths vs. Dedicated paths
Optical interconnects vs. Regular interconnects.

A

C
B
The networking landscape


Fundamental issue: Networks configurations
tend to be node-specific, not path-specific.
−

What do we do when a node has multiple paths?


(most nodes nowadays do)

A

C
B
Using wide area networks (WANs)


Solution 1: Apply a homogeneous configuration
for all paths.
−

Could work for nodes with similar path lengths.


−
−

Not common for WAN communication nodes.

Inefficient for the TCP protocol, where the optimal
config is dependent on the path length.
Requires admin privileges on all end-points.

A

A
A
Using WANs


Solution 2: Adopt a different protocol.
−
−
−
−

May accomodate heterogeneous configs.
New protocol, new list of potential issues.
Interplay between protocols on shared networks.
Time-consuming and politically heavyweight
process.

խ

ե
Ր
Using WANs


Solution 3: User-space tuning through software.
−

Limited space for tuning.


−
−

Some adjustments require admin rights.

Use TCP protocol and existing configurations.
No special privileges required.

X
A Y

Y B Z

X
C
Z
MPWide




MPWide is a communication library which
allows for user-space tuning of individual paths.
For each path it can:
−

Use 1 or multiple tcp streams.


−
−

Good performance obtained with up to 128 streams/path.

Configure different buffer and packet sizes.
Apply software-based packet pacing to reduce load.


Also improves performance on long networks
(Yoshino et al. 2008).
Example: cosmological N-body









One simulation, parallelized
across supercomputers.
Uses the SUSHI code, which
is a cross-site adaptation of
GreeM.
Models dark matter structure
formation over 13.4 billion years.
Algorithm: Tree + Particle-mesh.
Adaptive load-balancing
between sites. →
Example: cosmological N-body


Using 2 to 4 supercomputers simultaneously.
−








Up to 2048 cores total.

MPI within each site.
Custom MPWide
connections between sites.
MPWide Forwarder procs
bypass connectivity
restrictions.
2048 cores, 3 sites,
7% comm. overhead.
10 Gbps lightpath
Example: multiscale bloodflow
Example: multiscale bloodflow



pyNS (1D) coupled to HemeLB (3D).
400.000 time steps, 4000 velocity exchanges
−
−

with 1.2% comm. overhead (512+1 cores, 2298 s),
and 5% comm. overhead (2048+1 cores, 907 s.).
Uses for multiscale modelling


Can be used for performance critical cyclic
coupling over wide area networks.
−








High-performance, simple low-level interface.

Contains an mpw-cp file transfer client to
accelerate file-based couplings.
Supports C, C++, Python.
Trivial to install and intended for users without
administrative privileges.
Is being integrated into MUSCLE 2 to improve
its coupling performance.
Thank you!


MPWide website:
−



More on the multiscale bloodflow application:
−



Groen et al., Interface Focus 3(2), 2013.

More on the cosmological N-body application:
−



http://castle.strw.leidenuniv.nl/software/mpwide.html

Groen et al., INFOCOMP 2011, ArXiv:1109.5559.

Thanks go out to Steven Rieder, Simon
Portegies Zwart, Tomoaki Ishiyama, Keigo
Nitadori, Joris Borgdorff, Rupert Nash and the
MAPPER consortium as a whole.

More Related Content

What's hot (14)

PDF
An Improved Energy Efficient Wireless Sensor Networks Through Clustering In C...
Editor IJCATR
 
PPTX
SCOR: Constraint Programming-based Northbound Interface for SDN
Farzaneh Pakzad
 
PPTX
Evaluation of mininet WiFi integration via ns-3
Farzaneh Pakzad
 
PDF
SECTOR TREE-BASED CLUSTERING FOR ENERGY EFFICIENT ROUTING PROTOCOL IN HETEROG...
IJCNCJournal
 
PDF
M phil-computer-science-mobile-computing-projects
Vijay Karan
 
PDF
M.E Computer Science Mobile Computing Projects
Vijay Karan
 
DOCX
Mobile data gathering with load balanced
jpstudcorner
 
PDF
Mobile Data Gathering with Load Balanced Clustering and Dual Data Uploading i...
1crore projects
 
PPTX
Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...
Md Nazrul Islam Roxy
 
PDF
Clustering and data aggregation scheme in underwater wireless acoustic sensor...
TELKOMNIKA JOURNAL
 
DOCX
IEEE 2014 NS2 NETWORKING PROJECTS Fast regular expression matching using sma...
IEEEBEBTECHSTUDENTPROJECTS
 
PDF
Data gathering in wireless sensor networks using intermediate nodes
IJCNCJournal
 
PDF
Basic communication operations - One to all Broadcast
RashiJoshi11
 
PDF
Cross layer design of congestion control and power control in fast-fading wir...
Ecway Technologies
 
An Improved Energy Efficient Wireless Sensor Networks Through Clustering In C...
Editor IJCATR
 
SCOR: Constraint Programming-based Northbound Interface for SDN
Farzaneh Pakzad
 
Evaluation of mininet WiFi integration via ns-3
Farzaneh Pakzad
 
SECTOR TREE-BASED CLUSTERING FOR ENERGY EFFICIENT ROUTING PROTOCOL IN HETEROG...
IJCNCJournal
 
M phil-computer-science-mobile-computing-projects
Vijay Karan
 
M.E Computer Science Mobile Computing Projects
Vijay Karan
 
Mobile data gathering with load balanced
jpstudcorner
 
Mobile Data Gathering with Load Balanced Clustering and Dual Data Uploading i...
1crore projects
 
Location and Mobility Aware Resource Management for 5G Cloud Radio Access Net...
Md Nazrul Islam Roxy
 
Clustering and data aggregation scheme in underwater wireless acoustic sensor...
TELKOMNIKA JOURNAL
 
IEEE 2014 NS2 NETWORKING PROJECTS Fast regular expression matching using sma...
IEEEBEBTECHSTUDENTPROJECTS
 
Data gathering in wireless sensor networks using intermediate nodes
IJCNCJournal
 
Basic communication operations - One to all Broadcast
RashiJoshi11
 
Cross layer design of congestion control and power control in fast-fading wir...
Ecway Technologies
 

Viewers also liked (6)

PPTX
Scholarly publishing a perspective from an early career academic
Derek Groen
 
PDF
Supercomputing 2013 slides
Derek Groen
 
PDF
HemeLB weighted decomposition EASC 2014 slides
Derek Groen
 
PDF
On science hackathons univercite 2016
Derek Groen
 
PPTX
Multiscale computing in 15 minutes
Derek Groen
 
PDF
The Building Blocks of Science
Derek Groen
 
Scholarly publishing a perspective from an early career academic
Derek Groen
 
Supercomputing 2013 slides
Derek Groen
 
HemeLB weighted decomposition EASC 2014 slides
Derek Groen
 
On science hackathons univercite 2016
Derek Groen
 
Multiscale computing in 15 minutes
Derek Groen
 
The Building Blocks of Science
Derek Groen
 
Ad

Similar to MPWide: A light-weight communication library for wide area message passing and code coupling (20)

PPT
Hybrid networking and distribution
vivek pratap singh
 
PDF
Energy Behavior in Ad Hoc Network Minimizing the Number of Hops and Maintaini...
CSCJournals
 
PDF
RIVERBED-BASED NETWORK MODELING FOR MULTI-BEAM CONCURRENT TRANSMISSIONS
ijwmn
 
PDF
RIVERBED-BASED NETWORK MODELING FOR MULTI-BEAM CONCURRENT TRANSMISSIONS
ijwmn
 
PDF
RIVERBED-BASED NETWORK MODELING FOR MULTI-BEAM CONCURRENT TRANSMISSIONS
ijwmn
 
PDF
MuMHR: Multi-path, Multi-hop Hierarchical Routing
M H
 
PDF
Multi-Channel Multi-Interface Wireless Network Architecture
ijsrd.com
 
PDF
Gurpinder_Resume
Gurpinder Ghuman
 
PDF
Constructing Minimum Connected Dominating Set in Mobile Ad Hoc Networks
GiselleginaGloria
 
PDF
Energy Consumption in Ad Hoc Network With Agents Minimizing the Number of Hop...
CSCJournals
 
PPTX
A Survey on Wireless Mesh Networks (WMN)
Eyob Seyfu
 
DOCX
Ieee transactions 2018 topics on wireless communications for final year stude...
tsysglobalsolutions
 
DOCX
Ieee transactions 2018 on wireless communications Title and Abstract
tsysglobalsolutions
 
PDF
M.Phil Computer Science Mobile Computing Projects
Vijay Karan
 
PPTX
HPC with Clouds and Cloud Technologies
Inderjeet Singh
 
PDF
Mq3624532158
IJERA Editor
 
DOCX
Mobile relay configuration in data intensive wireless sensor networks
IEEEFINALYEARPROJECTS
 
DOCX
JAVA 2013 IEEE MOBILECOMPUTING PROJECT Mobile relay configuration in data int...
IEEEGLOBALSOFTTECHNOLOGIES
 
DOCX
DOTNET 2013 IEEE MOBILECOMPUTING PROJECT Mobile relay configuration in data i...
IEEEGLOBALSOFTTECHNOLOGIES
 
PDF
[IJCT-V3I2P21] Authors: Swati Govil, Dr.Paramjeet Rawat
IJET - International Journal of Engineering and Techniques
 
Hybrid networking and distribution
vivek pratap singh
 
Energy Behavior in Ad Hoc Network Minimizing the Number of Hops and Maintaini...
CSCJournals
 
RIVERBED-BASED NETWORK MODELING FOR MULTI-BEAM CONCURRENT TRANSMISSIONS
ijwmn
 
RIVERBED-BASED NETWORK MODELING FOR MULTI-BEAM CONCURRENT TRANSMISSIONS
ijwmn
 
RIVERBED-BASED NETWORK MODELING FOR MULTI-BEAM CONCURRENT TRANSMISSIONS
ijwmn
 
MuMHR: Multi-path, Multi-hop Hierarchical Routing
M H
 
Multi-Channel Multi-Interface Wireless Network Architecture
ijsrd.com
 
Gurpinder_Resume
Gurpinder Ghuman
 
Constructing Minimum Connected Dominating Set in Mobile Ad Hoc Networks
GiselleginaGloria
 
Energy Consumption in Ad Hoc Network With Agents Minimizing the Number of Hop...
CSCJournals
 
A Survey on Wireless Mesh Networks (WMN)
Eyob Seyfu
 
Ieee transactions 2018 topics on wireless communications for final year stude...
tsysglobalsolutions
 
Ieee transactions 2018 on wireless communications Title and Abstract
tsysglobalsolutions
 
M.Phil Computer Science Mobile Computing Projects
Vijay Karan
 
HPC with Clouds and Cloud Technologies
Inderjeet Singh
 
Mq3624532158
IJERA Editor
 
Mobile relay configuration in data intensive wireless sensor networks
IEEEFINALYEARPROJECTS
 
JAVA 2013 IEEE MOBILECOMPUTING PROJECT Mobile relay configuration in data int...
IEEEGLOBALSOFTTECHNOLOGIES
 
DOTNET 2013 IEEE MOBILECOMPUTING PROJECT Mobile relay configuration in data i...
IEEEGLOBALSOFTTECHNOLOGIES
 
[IJCT-V3I2P21] Authors: Swati Govil, Dr.Paramjeet Rawat
IJET - International Journal of Engineering and Techniques
 
Ad

Recently uploaded (20)

PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 

MPWide: A light-weight communication library for wide area message passing and code coupling

  • 1. MPWide: A communication library for wide area message passing Derek Groen Centre for Computational Science
  • 2. Overview       The networking landscape Using wide area networks MPWide Example applications Uses for multiscale modelling Questions
  • 3. The networking landscape  The networks connecting grid sites and supercomputers are highly heterogeneous. − − − Configurations differ at end points. Shared paths vs. Dedicated paths Optical interconnects vs. Regular interconnects. A C B
  • 4. The networking landscape  Fundamental issue: Networks configurations tend to be node-specific, not path-specific. − What do we do when a node has multiple paths?  (most nodes nowadays do) A C B
  • 5. Using wide area networks (WANs)  Solution 1: Apply a homogeneous configuration for all paths. − Could work for nodes with similar path lengths.  − − Not common for WAN communication nodes. Inefficient for the TCP protocol, where the optimal config is dependent on the path length. Requires admin privileges on all end-points. A A A
  • 6. Using WANs  Solution 2: Adopt a different protocol. − − − − May accomodate heterogeneous configs. New protocol, new list of potential issues. Interplay between protocols on shared networks. Time-consuming and politically heavyweight process. խ ե Ր
  • 7. Using WANs  Solution 3: User-space tuning through software. − Limited space for tuning.  − − Some adjustments require admin rights. Use TCP protocol and existing configurations. No special privileges required. X A Y Y B Z X C Z
  • 8. MPWide   MPWide is a communication library which allows for user-space tuning of individual paths. For each path it can: − Use 1 or multiple tcp streams.  − − Good performance obtained with up to 128 streams/path. Configure different buffer and packet sizes. Apply software-based packet pacing to reduce load.  Also improves performance on long networks (Yoshino et al. 2008).
  • 9. Example: cosmological N-body      One simulation, parallelized across supercomputers. Uses the SUSHI code, which is a cross-site adaptation of GreeM. Models dark matter structure formation over 13.4 billion years. Algorithm: Tree + Particle-mesh. Adaptive load-balancing between sites. →
  • 10. Example: cosmological N-body  Using 2 to 4 supercomputers simultaneously. −     Up to 2048 cores total. MPI within each site. Custom MPWide connections between sites. MPWide Forwarder procs bypass connectivity restrictions. 2048 cores, 3 sites, 7% comm. overhead. 10 Gbps lightpath
  • 12. Example: multiscale bloodflow   pyNS (1D) coupled to HemeLB (3D). 400.000 time steps, 4000 velocity exchanges − − with 1.2% comm. overhead (512+1 cores, 2298 s), and 5% comm. overhead (2048+1 cores, 907 s.).
  • 13. Uses for multiscale modelling  Can be used for performance critical cyclic coupling over wide area networks. −     High-performance, simple low-level interface. Contains an mpw-cp file transfer client to accelerate file-based couplings. Supports C, C++, Python. Trivial to install and intended for users without administrative privileges. Is being integrated into MUSCLE 2 to improve its coupling performance.
  • 14. Thank you!  MPWide website: −  More on the multiscale bloodflow application: −  Groen et al., Interface Focus 3(2), 2013. More on the cosmological N-body application: −  http://castle.strw.leidenuniv.nl/software/mpwide.html Groen et al., INFOCOMP 2011, ArXiv:1109.5559. Thanks go out to Steven Rieder, Simon Portegies Zwart, Tomoaki Ishiyama, Keigo Nitadori, Joris Borgdorff, Rupert Nash and the MAPPER consortium as a whole.