{"id":17354672,"url":"https://github.com/openmohan/tcpbenchmarking","last_synced_at":"2026-02-11T07:31:27.544Z","repository":{"id":166769905,"uuid":"172864234","full_name":"openmohan/TCPBenchmarking","owner":"openmohan","description":"Checking on how different TCP variants perform in NS2 simulation.","archived":false,"fork":false,"pushed_at":"2019-02-27T07:52:13.000Z","size":1391,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T21:38:53.713Z","etag":null,"topics":["ns2-programming","ns2-tutorial","tcp"],"latest_commit_sha":null,"homepage":null,"language":"Tcl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openmohan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-02-27T07:18:20.000Z","updated_at":"2021-11-23T14:15:55.000Z","dependencies_parsed_at":"2023-07-29T13:01:16.434Z","dependency_job_id":null,"html_url":"https://github.com/openmohan/TCPBenchmarking","commit_stats":null,"previous_names":["openmohan/tcpbenchmarking"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openmohan/TCPBenchmarking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmohan%2FTCPBenchmarking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmohan%2FTCPBenchmarking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmohan%2FTCPBenchmarking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmohan%2FTCPBenchmarking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openmohan","download_url":"https://codeload.github.com/openmohan/TCPBenchmarking/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openmohan%2FTCPBenchmarking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29329493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ns2-programming","ns2-tutorial","tcp"],"created_at":"2024-10-15T17:37:39.447Z","updated_at":"2026-02-11T07:31:27.526Z","avatar_url":"https://github.com/openmohan.png","language":"Tcl","readme":"# TCPBenchmarking\nChecking on how different TCP variants perform in NS2 simulation. \n\nCompletely based on paper “Simulation-based Comparisons of Tahoe, Reno, and SACK TCP” by Kevin Fall \u0026 Sally Floyd.\n\nSimulate the network topology used by Fall and Floyd in their paper:\n\n![alt](https://user-images.githubusercontent.com/12637959/53473831-7a6acf80-3a91-11e9-9b4c-3d02815a9bae.png)\n\nRunning simulations: (scripts, simulator code and output are attached)\n\nExample: \u003cTCP_TYPE\u003e TCP - packet loss \u003cno% of packet loss\u003e:\n1. Go in to tahoe folder and run ‘ns tcp_drop_tahoe.tcl \u003cno% of packet loss\u003e’\n2. Based on \u003cno% of packet loss\u003e the output files will be created in the appropriate folder\n3. Go in to the appropriate folder and run `cat out.tr | ../../Utils/packageplot.pl \u003cTCP_TYPE\u003e` . It must have created three output files (ack.tahoe, dropped.tahoe, sent.tahoe)\n4. Go into gnuplot terminal by running `gnuplot`\n5. Run the commands to plot the dropped packets, send packets and ack packets in graph and save as image\n```\ngnuplot\nplot [0:6] \"sent.tahoe\" with points,\"dropped.tahoe\", \"ack.tahoe\" with dots \nset terminal pngcairo\nset output 'output.png'\nreplot\nunset output\n```\n6. For calculating avg.throughput and number of packets run  \n`perl ../../Utils/throughputCalculator.pl out.tr 4 0.0 4.0 1.0`\n![example](https://user-images.githubusercontent.com/12637959/53474269-a175d100-3a92-11e9-8ded-33a7857fb3fe.png)\n7. For additional details, go to the site http://www.jgyan.com/analyzer/ and upload out.nam file\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmohan%2Ftcpbenchmarking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmohan%2Ftcpbenchmarking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmohan%2Ftcpbenchmarking/lists"}