Exercise II: Changing TCP to compete with UDP
In previous exercise, the TCP flow seems to occupy a little less
share of the bandwidth. Can you modify the existing TCP (Tahoe)
implementation in ns-2 and make it more aggressive? For example,
make TCP send packets in constant window size.
A Aggressive TCP
- Locate tcp.cc
- Do your chagnes (whatever you think will enhance TCP's bandwidth share)
- Re-compile ns
- Re-run the previous simulation and see if it actually improve TCP's
bandwidth share
- You should also consider modifying the tcp setting in the
simulation script
References:
Nader Salehi
Last modified: Mon Jun 26 18:39:40 PDT 2000