Giter VIP home page Giter VIP logo

cs244-mosh's Introduction

cs244-mosh

Reproducing Mosh research paper: http://mosh.mit.edu/mosh-paper.pdf

  • Monday, May 19 2014, 5pm: Intermediate project report
  • Monday, June 2 2014, 11:59pm: Final report
  • Saturday, June 7 2014, 5 pm: Validation

Installation

Setting up instance

We use the CS244-Spr14-Mininet image as a starting point. Basically you need to do these steps:

  • Create a community instance image: ami-e2b6ded2
  • Choose m3.medium for Instance Type
  • Open port 22 for SSH
  • IMPORTANT Open all UDP ports by adding the rule All UDP with source Anywhere
  • Pick your SSH key pair
  • Launch & login

If you are unclear, follow the guide, and remember to open all UDP ports.

Running the experiment

Workaround when EC2 mirror is down.

sudo vim /etc/apt/sources.list
change line 12 from:
    deb http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ quantal main 
to:
    deb http://us.archive.ubuntu.com/ubuntu/ quantal main
save file

Get source code and run the script.

git clone https://github.com/weishi/cs244-mosh.git
cd cs244-mosh
sudo ./run.sh

The script will first try to install any dependency packages. The script will run 3 sets of experiment. The first one will reproduce the result from paper. The other two are for sensitivity analysis. The second one will run the simulation over a WiFi link with 10% loss rate. The thrid one will run the simulation over a 4G LTE link.

This first replay(SSH/MOSH) may take up to 15min, because it uses a large dataset. The other two may take up to 5min. They use a smaller dataset, because the loss rate will significantly increase the simulation time.

Sometimes(very rarely), the second replay(sensitivity analysis 1) may get stuck due to the randomness of loss. The problem usually goes away after restarting the script. To see the progress, you can monitor stdoutSSH.txt/stdoutMOSH.txt, etc.

Result

The result graphs are created in 'mosh-{timestamp}' directory.

  • graph.png: the main result that should match Figure 2 in the paper.
  • graph_sen1.png: the result for sensitivity analysis 1.
  • graph_sen2.png: the result for sensitivity analysis 2.

cs244-mosh's People

Watchers

Wei Shi avatar 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.