The ns-3 Network Simulator Project
Compare the congestion window plots for TCP Newreno and TCP Highspeed
examples/tutorial/fifth.cc is a simple example that explains how to plot a TCP congestion window in ns-3. This task is about comparing the congestion window plots for TCP Newreno and TCP Highspeed. Follow the steps given below to complete the task:
- Copy fifth.cc from examples/tutorial and paste it in the scratch directory.
- Run fifth.cc and plot the congestion window as explained in the link given below.
- The default TCP in ns-3 is Newreno, so the congestion window plot obtained from the previous step would be for Newreno.
- Modify the fifth.cc program to enable TCP Highspeed. You may use examples/tcp/tcp-variants-comparison.cc as a reference.
- Run the modified fifth.cc and plot the congestion window for TCP Highspeed.
- Combine both the congestion window plots in a single graph with proper labels on axes and legends.
- Send a PNG image of the graph for evaluation where congestion windows of TCP Newreno and TCP Highspeed are compared.
- Send a patch with the changes made in fifth.cc for evaluation.
Task tags
Students who completed this task
Parth Pratim, Asanali, sikfeng, bartekche, Victor Hu