Code Monkey home page Code Monkey logo

cwnd's Introduction

Developed on Centos7, ns-2.35

clear.sh

  • clears all output files: *.txt, *.tr, *.nam

run.sh

  • runs simple.tcl,throughput.awk,loss-rate.awk,fack.awk,pktnum.awk,plots cwnd,plots pktnum
  • takes 0 or 1 parameters
  • parameter 1: mode, which can be "Tahoe","Reno","Newreno","Sack1"
  • parameter 1: case-sensitive
  • if there is no parameter, the default is "Tahoe"

all.sh

  • does not take parameters
  • executes everything in every mode

example:

$ ./all.sh
Clearing output files...
Running Tahoe...
Throughput: 0.824Mbps
Packets sent:270, Received:258
Loss rate:4.44%
Running Reno...
Throughput: 0.765Mbps
Packets sent:249, Received:240
Loss rate:3.61%
Running Newreno...
Throughput: 0.874Mbps
Packets sent:289, Received:274
Loss rate:5.19%
Running Sack1...
Throughput: 0.920Mbps
Packets sent:303, Received:288
Loss rate:4.95%

see './pic/' for more example

im too lazy to rename the pics

cwnd's People

Contributors

alexxss avatar

Watchers

 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.