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: about 1 year 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 (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-25T09:59:04.000Z (about 9 years ago)
- Last Synced: 2025-04-11T03:14:49.216Z (about 1 year ago)
- Topics: congestion, flow, graphql, monitor, node, ns3, simulation, tcp, variants
- Language: C++
- Size: 81.1 KB
- Stars: 13
- Watchers: 2
- 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


