Assignment
For simplicity, in this assignment we will limit our performance analysis to a single TCP stream. Interactions between multiple contending streams,
including a mix of TCP and UDP traffic, will be studied later in this course.
1. A number of TCP variants have been proposed over the years. Recent
ns-2 releases support TCP Reno, NewReno, and SACK, amongst others.
You will evaluate the impact of hop count on the end-to-end throughput of a stream for each of these three TCP variants.
Report your results by varying the hop count from 1 to 10 hops. You may use a simple chain topology with equidistant node separation and uniform wireless link rates.
Identify all sources of packet losses as observed in the simulation trace.
Describe how the observed behavior relates to our theoretical understanding of spatial reuse in a multihop wireless network.
2. Using your choice of the TCP variants discussed above, evaluate the impact of virtual carrier sensing in eliminating collisions due to hidden
terminals in a wireless chain topology, varying the hop count from 1 to 10 hops.
3. Next, you will analyze the impact of wireless interface queue size, by experimenting with a queue size of 5, 10, and 50 packets while varying the hop count
of a chain topology from 1 to 10 hops.
4. 802.11 MAC incurs a fixed overhead per packet. You will quantify this overhead for TCP traffic by experimenting with packet sizes of 40 B and 1500 B over
a chain topology, varying the hop count from 1 to 10 hops.