/Floodgate-NS3

NS3 simulation of Floodgate

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Floodgate NS-3 simulator

This is an NS-3 simulator for Floodgate. It is based on the NS3 simulation of HPCC which also includes the implementation of DCQCN, TIMELY, DCTCP, PFC, ECN and Broadcom shared buffer switch.

If you have any questions, please contact us (wqingyue@qq.com or kxliu@smail.nju.edu.cn).

Quick Start

Build

./waf -d optimized configure

./waf build

Please note if gcc version > 5, compilation will fail due to some ns3 code style. If this what you encounter, please use:

CC='gcc-5' CXX='g++-5' ./waf configure

Run

The direct command to run is: ./waf --run 'third mix/config-dcqcn.ini'

Experiment config

See mix/README.md for detailed examples of experiment config.

Important Files

The core logic of Floodgate was written in following files:

point-to-point/model/switch-node.cc/h: the node class for switch

point-to-point/model/switch-mmu.cc/h: the mmu module of switch