Simulation tools for evaluating XLP loss detection.
- NS-3 wireless WAN scenarios and a Python packet simulation model.
- Online loss detection, offline decision-tree training, data collection, and analysis scripts.
- Python 3.10 or later (standard library only for the Python scripts).
- NS-3.46.1 with CMake and a C++ compiler for NS-3 scenarios.
python scripts/run_simulation.py --scenario multi_client_wan
python scripts/analyze_results.pyRun an NS-3 scenario with python scripts/run_ns3.py --ns3-dir /path/to/ns-3.46.1 --scenario multi_client_wan. Available scenarios: multi_client_wan, loss_profile_sweep, rack_window_sweep, and file_size_sweep.
Flow metrics, per-request FCT, and packet samples are written as CSV under data/. Summaries are written to results/.
ns3/scratch/xlp-wan-scenario.cc— NS-3 topology and transport scenario.xlp_sim/— packet model, detectors, decision tree, and training modules.scripts/— simulation, data collection, training, NS-3 launch, and analysis tools.config.json— experiment settings and simulation assumptions.