{"id":16824382,"url":"https://github.com/sambhav/ns3-sim","last_synced_at":"2025-04-11T03:14:52.765Z","repository":{"id":117452043,"uuid":"89336733","full_name":"sambhav/ns3-sim","owner":"sambhav","description":"An ns3 simulation script to compare various TCP variants under congestion","archived":false,"fork":false,"pushed_at":"2017-04-25T09:59:04.000Z","size":83,"stargazers_count":13,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T03:14:49.216Z","etag":null,"topics":["congestion","flow","graphql","monitor","node","ns3","simulation","tcp","variants"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sambhav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-25T08:31:23.000Z","updated_at":"2024-09-24T07:58:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d7b4146-f185-4da4-84da-525286bc763b","html_url":"https://github.com/sambhav/ns3-sim","commit_stats":null,"previous_names":["sambhav/ns3-sim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2Fns3-sim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2Fns3-sim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2Fns3-sim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambhav%2Fns3-sim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambhav","download_url":"https://codeload.github.com/sambhav/ns3-sim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248333594,"owners_count":21086200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["congestion","flow","graphql","monitor","node","ns3","simulation","tcp","variants"],"created_at":"2024-10-13T11:10:53.673Z","updated_at":"2025-04-11T03:14:52.747Z","avatar_url":"https://github.com/sambhav.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ns3-sim\nAn ns3 simulation script to compare various TCP variants under congestion\n\n### Install Instructions:\nRequirements:\n * ns3(3.26)\nSteps:\n * Install ns3 and put ns3.cc in the scratch directory.\n * Run the script using ```./waf --run \"ns3\"```\n * For command line options and help, ```./waf --run \"ns3 --PrintHelp\"```\n\n### Topology\n    n0 ----------- n1\n    \nTopology 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.\n\n\n### Simulation\nThere 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.\nThe timing of the flows is as follows:\n\n * FTP starts at 0 sec and continues till the end of simulation\n * CBR1 starts at 200 ms and continues till end\n * CBR2 starts at 400 ms and continues till end\n * CBR3 starts at 600 ms and stops at 1200 ms\n * CBR4 starts at 800 ms and stops at 1400 ms\n * CBR5 starts at 1000 ms and stops at 1600 ms\n * Simulation runs for 1800 ms\n\n### Plots\n![Congestion Window vs Time](https://github.com/samj1912/ns3-sim/blob/master/plots/congestion.png)\n\n![Total Bytes vs Time](https://github.com/samj1912/ns3-sim/blob/master/plots/total_bytes.png)\n\n![Packet Drops vs Time](https://github.com/samj1912/ns3-sim/blob/master/plots/drops.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambhav%2Fns3-sim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambhav%2Fns3-sim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambhav%2Fns3-sim/lists"}