The official open source ns-3 simulation framework for datacenter network architectures
The NTU-DSI-DCN simulation framework is built on top of the core ns-3 simulator (http://www.nsnam.org). The version used is ns-3.13 instead of the latest, for robustness and stability concerns. The fat tree and the BCube architectures have been implemented into the framework. Users can simply simulate the architectures and reproduce their performance models through a simple command line invocation.
More information can be found in our paper:
hg clone https://github.com/ntu-dsi-dcn/ntu-dsi-dcn.git
./waf configure
./waf
We suggest that you start by getting NTU-DSI-DCN to run successfully on the old ns-3.13 and Ubuntu 12.04 LTS first before doing the migration. This allows you to get a good feel of ns-3’s basics. Once you are more confident about handling the technicalites of ns-3, proceed on with the migration if needed.
Should you wish to run NTU-DSI-DCN on the latest ns-3 and Ubuntu LTS versions, you need to do the following:
The network topologies, configurations for the network devices and protocols, and the traffic flow generation have been implemented and documented. The source codes in the “/scratch” folder contains all the documentation for the implementation details of the architectures, as well as the simulation settings that are used. Users can customize the codes and/or edit the setting variables if necessary for their own needs.
./waf --run scratch/Fat-tree
./waf --run scratch/BCube
./waf --run scratch/Fat-tree-Bilal
./waf --run scratch/Fat-tree-AlFares
./waf --run scratch/Fat-tree
The above command will produce a “/statistics/Fat-tree.xml” output file with the statistics information when the simulation is completed.
If you wish to extend a DCN topology of interest, which is currently not found in the framework, use the simulation codes in the “/scratch” folder as the basis template to get started.
The source code documentation and comments should give you some idea of how to go about building a new DCN topology.
If you wish to contribute a DCN performance model that you have built into NTU-DSI-DCN framework (or any other improvements that you might have), drop us an email over at ntu.dsi.dcn@gmail.com and we can get in touch to discuss the details. Due credits and acknowledgement will be given to the work done by the original authors. We strictly do not claim ownership of works not done by us.
16 Jan 2015 - Arfath Ahamed’s Fat-tree implementation with NetAnim on ns-3.21.
For those who wish to use this framework to simulate the Fat-tree architecture on ns-3.21 and above, you can use the following source codes contributed by Arfath Ahamed. He can be contacted at arfathsm@gmail.com. Download these source codes into the “/scratch” folder of ns-3 to run it.
This research initiative is a collaborative effort between Nanyang Technological University (Singapore) and A*STAR Data Storage Institute (Singapore).
We can be contacted at ntu.dsi.dcn@gmail.com.
Licensed under the GNU General Public License.