Docsity

Programming Assignment for Wireless Networks | ECE 6610, Assignments of Wireless Networking

Toggle sidebar
bg1
ECE6610: Wireless Networks
Programming Assignment 1
The assignment is due Feb 19. Please submit one report per group. Send the report in doc format (no
pdf !!) as an attachment to ksandeep+ece6610@gmail.com. Clearly state your group number on the report.
Also submit the main tcl file. CC the mail to all group memebers.
1. Construct a network with two routers and two TCP flows as shown below:
(a) All links are duplex links with FIFO queue (DropTail). The 3-tuple (a, b, c) labeled beside each
link specifies the (bandwidth in Mbps, propagation delay in ms, and queue limit in packets) of the
link. For example, link R1-R2 has bandwidth of 2Mbps, propagation delay of 25ms, and queue
limit of 50 packets. The packet size is 1000 bytes.
(b) Both flows are TCP flows carrying FTP traffic (backlogged traffic with infinite data to send).
Make S1 and S2 as the sources, and D1 and D2 as the destinations. Use different variants of TCP
including Tahoe, Reno, NewReno and Sack.
(c) Set the receiver window of each TCP flow properly such that both flows are not receiverwindow-
limited.
Run the simulation for 100 seconds, and obtain the following results:
(a) (1 point) Find the end-to-end throughput and its standard deviation for each flow at the desti-
nations.
(b) (1 points) Plot the instantaneous throughput (averaged over 100 ms at the destinations) and
congestion window (at the sources) against time in one figure. Obtain a total of 8 figures for 2
flows and 4 TCP variants. Note that for clarity of presentation, for each figure you can plot only
for a chosen time span with representative results.
(c) (2 points) Attach a loss module to the link R1-R2 to simulate losses. Vary the loss percentage
from 0-10%. Plot the aggregate throughput of the network as a function of loss percentage when
all the sources use TCP-Tahoe, -Reno, -NewReno and -Sack, in the same graph.
(d) (1 point) Discuss the results you obtain in (a), (b) and (c), including any reason affecting the
performance of the two flows in terms of throughput and fairness.
S1
S2
R1 R2 R3
D1
D2
(5,2,50)
(8.5.50)
(8,3,50)
(5,15,50)
(3,45,50)
(2,25,50)
Figure 1: Topology
1

Partial preview of the text

Download Programming Assignment for Wireless Networks | ECE 6610 and more Assignments Wireless Networking in PDF only on Docsity!

ECE6610: Wireless Networks

Programming Assignment 1

The assignment is due Feb 19. Please submit one report per group. Send the report in doc format (no pdf !!) as an attachment to [email protected]. Clearly state your group number on the report. Also submit the main tcl file. CC the mail to all group memebers.

  1. Construct a network with two routers and two TCP flows as shown below:

(a) All links are duplex links with FIFO queue (DropTail). The 3-tuple (a, b, c) labeled beside each link specifies the (bandwidth in Mbps, propagation delay in ms, and queue limit in packets) of the link. For example, link R1-R2 has bandwidth of 2Mbps, propagation delay of 25ms, and queue limit of 50 packets. The packet size is 1000 bytes. (b) Both flows are TCP flows carrying FTP traffic (backlogged traffic with infinite data to send). Make S1 and S2 as the sources, and D1 and D2 as the destinations. Use different variants of TCP including Tahoe, Reno, NewReno and Sack. (c) Set the receiver window of each TCP flow properly such that both flows are not receiverwindow- limited.

Run the simulation for 100 seconds, and obtain the following results:

(a) (1 point) Find the end-to-end throughput and its standard deviation for each flow at the desti- nations. (b) (1 points) Plot the instantaneous throughput (averaged over 100 ms at the destinations) and congestion window (at the sources) against time in one figure. Obtain a total of 8 figures for 2 flows and 4 TCP variants. Note that for clarity of presentation, for each figure you can plot only for a chosen time span with representative results. (c) (2 points) Attach a loss module to the link R1-R2 to simulate losses. Vary the loss percentage from 0-10%. Plot the aggregate throughput of the network as a function of loss percentage when all the sources use TCP-Tahoe, -Reno, -NewReno and -Sack, in the same graph. (d) (1 point) Discuss the results you obtain in (a), (b) and (c), including any reason affecting the performance of the two flows in terms of throughput and fairness.

S

S

R1 R2 R

D

D

(5,2,50)

(8.5.50)

(8,3,50)

(5,15,50)

(2,25,50) (3,45,50)

Figure 1: Topology