Version 5 (modified by 12 years ago) (diff) | ,
---|
TCP ASSIGNMENT
Overview
This Project leverages resources on the GENI aggregate in order to experiment with TCP.
The objective of this project is to familiarize you with the details of TCP congestion control, and the impact of network conditions on the TCP congestion control algorithms.
You will specifically learn about:
- The NewReno loss recovery and intertwined congestion control mechanisms
- The CUBIC congestion control mechanism
- The impact of the ssthresh and cwnd TCP state variables on TCP network performance
- Measuring the performance of TCP flows
- The impact of path delay and bottleneck bandwidth on TCP performance
- TCP fairness concerns
- The Linux pluggable congestion control module interface
Prerequisites
- GENI Account
- SSH
- Unix command line
Tools
The two primary tools used in this assignment are:
1. Traffic Control (tc)
The tc command is available in the GNU Linux distributions on GENI nodes, found in the /sbin directory.
This command manipulates the Linux network forwarding tables, allowing for configuration of queuing disciplines,
which change the policies controlling which packets are forwarded in what order and which are dropped; and network
emulation, which allows the Linux kernel to emulate various network conditions such as delay or loss.
These two effects are provided by the qdisc and netem subcommands, respectively.
In these exercises, tc will be used to modify network conditions and enable different scheduling policies.
Example command lines will be provided.
2. Iperf
Iperf is available on the GENI nodes, located at /usr/local/etc/emulab/emulab-iperf.
Iperf is used to measure the bandwidth performance of Internet links. In these exercises,
it is used to study the behavior of TCP in the face of changing link characteristics.
Iperf runs as both a server and a client. The server is started with the -s command line option,
and listens for connections from the client. The client is started with the -c <server> command line option,
and connects to the server and sends data at either the fastest possible rate (given the underlying network)
or a user-specified rate. The -u option causes the sender or receiver to use UDP instead of TCP.
Various other options will be required for these exercises, and provided in the appropriate sections.
All Iperf measurement data should be recorded from the TCP receiver (server) side.
Topology
Tutorial Instructions
|
|
|
|
|
Attachments (1)
- TCPAssignment.png (68.4 KB) - added by 12 years ago.
Download all attachments as: .zip