Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sambhav/ns3-sim
An ns3 simulation script to compare various TCP variants under congestion
https://github.com/sambhav/ns3-sim
congestion flow graphql monitor node ns3 simulation tcp variants
Last synced: 2 days ago
JSON representation
An ns3 simulation script to compare various TCP variants under congestion
- Host: GitHub
- URL: https://github.com/sambhav/ns3-sim
- Owner: sambhav
- License: mit
- Created: 2017-04-25T08:31:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T09:59:04.000Z (almost 8 years ago)
- Last Synced: 2025-02-03T13:23:22.438Z (17 days ago)
- Topics: congestion, flow, graphql, monitor, node, ns3, simulation, tcp, variants
- Language: C++
- Size: 81.1 KB
- Stars: 13
- Watchers: 3
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ns3-sim
An ns3 simulation script to compare various TCP variants under congestion### Install Instructions:
Requirements:
* ns3(3.26)
Steps:
* Install ns3 and put ns3.cc in the scratch directory.
* Run the script using ```./waf --run "ns3"```
* For command line options and help, ```./waf --run "ns3 --PrintHelp"```### Topology
n0 ----------- n1
Topology consists of two nodes N0 and N1 connected by a link of bandwidth 1Mbps and link delay 10ms. We are using a drop-tail queue at the link.### Simulation
There is a TCP agent at N0 which creates FTP traffic destined for N1. There are 5 CBR traffic agents of rate 300 Kbps each at N0 destined for N1.
The timing of the flows is as follows:* FTP starts at 0 sec and continues till the end of simulation
* CBR1 starts at 200 ms and continues till end
* CBR2 starts at 400 ms and continues till end
* CBR3 starts at 600 ms and stops at 1200 ms
* CBR4 starts at 800 ms and stops at 1400 ms
* CBR5 starts at 1000 ms and stops at 1600 ms
* Simulation runs for 1800 ms### Plots

