Giter VIP home page Giter VIP logo

mpi-network-simulator's Introduction

MPI-network-emulation (MPINETEM)

Network is an important component in modern MPI programs running on clusters. Understanding underlaying network properties is critical to achieve expected performance from these programs. In this project, my work is focused on VM based emulation of MPI network properties. This emulation can be used to change properties of MPI network like delay, jitter and packet transfer rate of MPI process running on linux nodes.

Emulated Network properties

  1. Delay
  2. Jitter
  3. Delay distribution
  4. Packet loss
  5. Packet duplication
  6. Packet corruption
  7. Packet re-ordering
  8. Rate control or Gap

Requirements

MPINETEM runs on any router or cluster node that runs linux kernel and has python installed.

How it works

At the core of the framework, we have an MPI network emulation daemon which when started waits for MPI jobs to run. To shape network traffic coming out of MPI process, MPI network emulation (MPINETEM) leverages Linux’s built-in Traffic Control Subsystem. Communication with the traffic control subsystem of linux kernel is done over the Netlink API and facilitated by pyroute2, a pure python Netlink library. MPI network emulation will mark all the packets that are coming from MPI jobs. Based on that mark, a classifier will put the packets in the right ”buckets”, which then will throttle the bandwidth, add latency, drop packets or corrupt them... depending on the shaping settings given by a user in a JSON file.

Marking packets

Daemon waits until MPI jobs are up and Packets are marked by using iptable’s MARK target within the mangle table. Marking is done as the packet traverses the router on the FORWARD chain.

Shaping packets

Each marked packet when enters the Linux network stack based on mark is classified into different queues. Each queue represents a class of service or different set of network properties. MPIEM creates a different queue for each MPI process. It uses user given config file to set properties of each queue.

mpi-network-simulator's People

Contributors

asystemsguy avatar

Stargazers

Zohar Lorberbaum avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.