GithubHelp home page GithubHelp logo

isabella232 / ups Goto Github PK

View Code? Open in Web Editor NEW

This project forked from netsys/ups

0.0 0.0 0.0 73.45 MB

NS-2 code for simulating results in Universal Packet Scheduling

Home Page: http://netsys.github.io/ups

Makefile 0.26% xBase 0.13% C 42.60% Groff 7.01% Emacs Lisp 0.06% TeX 3.29% Shell 1.88% Tcl 19.36% C++ 22.35% HTML 0.41% Perl 0.69% Lua 0.02% PostScript 0.69% Awk 0.04% Mathematica 0.73% MATLAB 0.01% Gnuplot 0.03% Objective-C 0.01% BlitzBasic 0.43% DTrace 0.02%

ups's Introduction

Reproducing UPS Results for the default scenario

Instructions for reproducing UPS results on the default scenario (Internet2 1Gbps-10Gbps topology, 70% link utilization)

General:

  1. Clone the UPS repository.
  2. cd ns-allinone-2.35
  3. sudo apt-get install xorg-dev (if needed)
  4. sudo apt-get install gcc-4.4 g++-4.4 (if needed)
  5. export CC=gcc-4.4 CXX=g++-4.4
  6. ./install
  7. cd ns-2.35
  8. Open Makefile and replace "queue/sfq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o" with "queue/sfq.o queue/fq.o queue/drr.o queue/srr.o queue/cbq.o queue/sfqcodel.o queue/random-dequeue.o queue/lifo.o queue/lstf.o queue/edge-replay.o queue/edge-tail-pkt-delay-lstf.o queue/fine-priorities.o queue/srpt.o queue/edge-fq-lstf.o"
  9. make clean; make
  10. Scripts to run various experiments can be found in ns-allinone-2.35/ns-2.35/tcl/ex/ups/scripts. All scripts should be run from this directory.
  11. Results for various experiments get stored in specific directories in ns-allinone-2.35/ns-2.35/tcl/ex/ups/

The scripts and results directories for various experiments are listed below. Specific details about result format can be found in the README files in the specific result directory. The total time taken to run each script (on a machine with 2.6GHz processor and atleast 5GB memory) has also been reported.

LSTF replay for Random, FIFO, LIFO and FQ

  • Script: ns-allinone-2.35/ns-2.35/tcl/ex/ups/scripts/replay-internet2-1Gbps-10Gbps.sh
  • Results directory: ns-allinone-2.35/ns-2.35/tcl/ex/ups/replay-results
  • Time taken: 2-3hrs

Mean FCTs

  • Script: ns-allinone-2.35/ns-2.35/tcl/ex/ups/scripts/meanfcts-tcp-internet2-1Gbps-10Gbps.sh
  • Results directory: ns-allinone-2.35/ns-2.35/tcl/ex/ups/meanfcts-results
  • Time taken: 11-12hrs

Tail Packet Delays

  • Script: ns-allinone-2.35/ns-2.35/tcl/ex/ups/scripts/tail-pkt-delays-internet2-1Gbps-10Gbps.sh
  • Results directory: ns-allinone-2.35/ns-2.35/tcl/ex/ups/tail-pkt-delays-results
  • Time taken: 9-10hrs

Long-lived fairness

  • Script: ns-allinone-2.35/ns-2.35/tcl/ex/ups/scripts/fairness-longlived-internet2-10Gbps-10Gbps.sh
  • Results directory: ns-allinone-2.35/ns-2.35/tcl/ex/ups/fairness-results/longlived/
  • Time taken: 9-10mins

Short-term fairness

  • Script: ns-allinone-2.35/ns-2.35/tcl/ex/ups/scripts/fairness-shortterm-internet2-1Gbps-10Gbps.sh
  • Results directory: ns-allinone-2.35/ns-2.35/tcl/ex/ups/fairness-results/shortterm/
  • Time taken: 18-19hrs

AQM: FQ-CoDel

  • Script: ns-allinone-2.35/ns-2.35/tcl/ex/ups/scripts/fqcodel-internet2-1Gbps-10Gbps.sh
  • Results directory: ns-allinone-2.35/ns-2.35/tcl/ex/ups/fqcodel-results/
  • Time taken: 8-9hrs

Please contact me at radhika @ eecs dot berkeley dot edu

  • if you would like to run experiments under more scenarios as done in the paper. I can send you the required workloads and topologies, along with further instructions.
  • if you happen to find a bug!
  • if you have any other questions

ups's People

Contributors

radhikamittal 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.