Simulations for Stateful TCP Congestion Control


Standard Disclaimer:THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

ACKNOLEDGEMENT: Many of the simulation scripts come from Sally Floyd's work . Thus, to obtain the figures in our papers, you have to download and install her package (the tar file ) from the same website.

This page has pointers to the simulation scripts for the following paper. These simulation scripts are also available from a tar file . The README file describes the procedures for running these simulations.
  • [JGMB:icnp01] Shudong Jin, Liang Guo, Ibrahim Matta and Azer Bestavros, TCP-friendly SIMD Congestion Control and Its Convergence Behavior. ( postscript , PDF ), In Proceedings of ICNP'2001: The 9th IEEE International Conference on Newtork Protocols, Riverside, CA, November 2001.
  • [JGMB:TR01] Shudong Jin, Liang Guo, Ibrahim Matta, and Azer Bestavros. A Spectrum of TCP-friendly Window-based Congestion Control Algorithms . ( postscript , PDF ), Technical Report BU-CS-2001-015, Boston University, Computer Science Department, Boston, MA 02215, May 2001. Submitted.
These scripts may look ugly and should not be used as examples in a programming style class :(. The ns code is given in patched form.

This page will be updated constantly, should we receive any bug reports .

Some of these simulations must be run with SBSIZE in scoreboard.h set to 2048 instead of to 1024, to allow larger TCP congestion windows.


ns-2 patch for the spectrum of TCP congestion window update algorithms explored in the paper [JGMB:TR01], SIMD is also included. This patch should work for ns2.1b7&ns2.1b8a or later.

Many of the simulation scripts (specifically, for TCP compatibility and smoothness experiments) are courtesy of Sally Folyd . Thus, to obtain the figures in our papers, you have to download and install package (the tar file ) from the same website.

We now describe how to generate individual plots. We also have a integrated package (in the form of a tar file ) for ease of downloading.


Figure 8-17 require Floyd's package, so copy all the files to the directory /aimdscripts and do the following:

All the figures refer to our technical report (the extended version).
The simulation for Figure 8,9,10,11,12,13 on "TCP competing with SIMD(1/16) /AIAD" can be run with:
poly12.com , with supporting files poly12.run , poly12.run1 , poly12.tcl , bwcnt2 (compiled from bwcnt2.c) . AIAD scripts are similar and the description is omitted here.

Figure 14,15,16,17 on "Traffic smoothness" can be run with:
simd.com , with supporting files simd.run0 , simd.run1 , simd.run2 , tfrm12-poly-stoptime.tcl . Note that all of the scripts here only generate plots for SIMD.


The scripts for generating other figures are under the directory /transient , so you need to do the following:

Figure 18(a) and 18(b) (responsiveness and aggressiveness) can be generated by running resp.com and aggr.com , respectively. Related files are tcp-bin-aggr.tcl, tcp-bin-resp.tcl , topology.tcl , plot-aggr.mf , plot-resp.mf .

Figure 19 (impulse response) is generated by impulse.com , related with impulse.tcl , and plot-all.mf .

Figure 21 (convergence, case 1) and Figure 22 (convergence, case 2) are generated by converge.com and catchup.com , respectively. Related files are converge.tcl , catchup.tcl , and plot commands under directory /plot_cmd.



Last modified: Nov. 2001.