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).
./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
The direct command to run is:
./waf --run 'third mix/config-dcqcn.ini'
See mix/README.md
for detailed examples of experiment config.
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