NS-2 Enhancement project

David X. Wei

Netlab @ Caltech

This page summarizes the NS-2 enhancements I developed during my research on TCP performance at NetLab, Caltech.

NS-2 TCP-Linux: a Linux TCP implementation for NS2

This is a patch that can run Linux TCP congestion control algorithms on NS2, with similar simulation speed and memory usages as other NS2 TCPs (e.g. Sack1). The implementation loosely follows the Linux TCP implementation, and can produce results comparable to Linux experimental results.

Paper: NS-2 TCP-Linux: An NS-2 TCP Implementation with Congestion Control Algorithms from Linux

David X. Wei and Pei Cao; to appear in proceedings of ValueTool'06 -- Workshop of NS-2, Oct, 2006 bibtex

Tutorial: A mini-tutorial for NS-2 TCP-Linux

If you want to use NS-2 TCP-Linux to develop your new congestion control algorithms, please read a mini-tutorial for TCP-Linux.

Speed up NS2 simulation

This is a patch that can speed up the NS-2 scheduler by improving the Calendar Queue data structure in the scheduler. Especially, it can help to speed up many simulations with high speed long distance network. Some simulations that need one day with the original NS2 scheduler can now be finished in an hour. The patch is for NS-2.28. You may need some modification if you want to install it for higher version.

A TCP Pacing implementation for NS2 simulation

This is a patch that provides various options of TCP pacing in NS-2 for understanding the performance of TCP-pacing. The patch is for NS-2.28. You may need some modification if you want to install it for higher version.

A list of bugfixes for TCP performance in NS-2

This is a list of some bugs that we found. Most of them are related to the accuracy of TCP simulation in NS-2.