This document provides instructions on how to reproduce the main experimental results (Figure 6, 16-19) presented in our paper using the Occamy-Simulation codebase.
-
ns-3 Environment
-
Clone (or otherwise acquire) the Occamy-Simulation repository:
git clone https://github.com/ants-xjtu/Occamy-Simulation.git
-
Build and configure ns-3 with the required profile and options:
cd Occamy-Simulation/ns-3/ ./ns3 configure --build-profile=optimized --enable-examples --enable-tests ./ns3 -
After building, navigate to the Occamy directory:
cd Occamy-Simulation/ns-3/examples/Occamy/
-
All of the following commands assume that you are within the Occamy directory.
-
Run the simulation
bash run-100g_utilization.sh
This script will run the simulation scenario(s) needed to generate the data.
-
Post-process / Generate the figure
python get_cdf_utilization.py
This script reads the output of the simulation and plots the CDF of buffer (or memory) bandwidth utilization.
-
View the results The resulting figures will appear under:
figure/utilization/
-
Run the simulation
bash run-100g_benchmark.sh
-
Post-process
python get_slowdown_benchmark.py
This script calculates slowdowns, QCT, and FCT from the simulation output.
-
View the results The figure and related data will be in:
figure/100g_benchmark/
-
Run the simulation
bash run-100g_alltoall.sh
-
Post-process
python get_slowdown_alltoall.py
-
View the results The figure and related data will be in:
figure/100g_alltoall/
-
Run the simulation
bash run-100g_allreduce.sh
-
Post-process
python get_slowdown_allreduce.py
-
Result The figure and related data will be in:
figure/100g_allreduce/
-
Run the simulation
bash run-100g_queryload.sh
-
Post-process
python get_slowdown_queryload.py
-
View the results The figure and related data will be in:
figure/100g_queryload/