COL724 Assignment1

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

COL 724 - Advanced Computer Networks

Assignment-1

Notes:
 This assignment has two parts –
(1) Implementation of different models of TCP and their comparison with one another.
(2) Comparison over a server on a long haul.
 Use ns-3 to implement this assignment.
 Your answers have to be a PDF submission and a tar file containing the NS3 code. Do not
submit handwritten or scanned sheets.
 Due date: 31st August 2022

ns-3 Introduction:
ns-3 is a discrete-event network simulator for Internet systems, targeted primarily for research and
educational use. It’s official documentation (available here) can be used to get started with the simulator.
Other tutorial options are- geeksforgeeks, video tutorials.

1. Implementation of TCP models in ns-3

In this exercise, you are required to study and compare the behavior of TCP Reno/SACK/Vegas
(check here) and QUIC in terms of throughput and delay.

TCP Protocol Theory guide Implementation Guide


TCP Reno http://intronetworks.cs.luc.edu/ https://www.nsnam.org/docs/
current/html/reno.html release/3.19/doxygen/tcp-
reno_8cc_source.html
TCP SACK https://wiki.geant.org/display/ https://dl.acm.org/citation.cfm?
public/EK/ id=3067666
SelectiveAcknowledgements#:~:text=
Selective%20Acknowledgements
%20are%20a%20refinement,the
%20receiver%EF%BF%BDs%20end.
TCP Vegas https://ieeexplore.ieee.org/abstract/ https://github.com/shushantkumar/
document/464716 Validating-the-TCP-Vegas-
implementation-in-ns3
QUIC https://peering.google.com/#/learn- https://github.com/signetlabdei/quic
more/quic
Note: You can follow your own links to simulate these protocols over ns-3. These are just sample
links to help you get started.

1.1 Compare long & short haul. Plot the observations using gnuplot.
Compare the scenario when the server is over a long haul link with an RTT of 80ms VS a server
not far away RTT of 12ms.

Create plots for-

 TCP window evolution


 Buffer evolution at bottleneck link
 Losses
 Effective throughput
 End-to-end latency
 RTT estimates

After simulating QUIC, plot graphs for-

 TCP throughput vs QUIC throughput under added delay


 TCP throughput vs QUIC throughput under added packet loss
 QUIC and TCP flows share a bottleneck link to study the fairness between TCP and QUIC
flows.
 TCP throughput vs QUIC throughput under RTT.

You might also like