How kameelz/dragonfly-allreduce-sim works
This repository evaluates topology-aware g-PAARD all-reduce on Mininet Dragonfly and Dragonfly+ networks. The main workflow builds a topology, installs routing, selects and runs an all-reduce schedule as concurrent TCP flows, then reports completion and performance metrics. Experiments extend that workflow with parameter sweeps and link-utilization measurements. Sampled excerpts establish the benchmark, topology, schedule, and measurement responsibilities; several experiment variants are represented by their indexed paths, with relationships omitted where call details were not sampled.
Main entry points: benchmark_gpaard.py Benchmark runner · dragonfly_topo.py Dragonfly topology · verify_gpaard_correctness.py Correctness verifier · dragonfly_plus_topo.py Dragonfly+ topology
Components 20
Network topologies
- Dragonfly topology
dragonfly_topo.py - Dragonfly+ topology
dragonfly_plus_topo.py - Routing and ECMP
dragonfly_topo.py
All-reduce execution
- Benchmark runner
benchmark_gpaard.py - g-PAARD schedules
gpaard.py - TCP flow runner
benchmark_gpaard.py - Adaptive selector
benchmark_gpaard.py
Measurement and analysis
- Timing and FCT
benchmark_gpaard.py - Correctness verifier
verify_gpaard_correctness.py - Link utilization
experiments/link_utilization.py - Topology visualization
visualize_dragonfly_topo.py
Experiment suites
- Shared sweep engine
experiments/sweep_common.py - Bandwidth sweep
experiments/benchmark_bandwidth_sweep.py - Asymmetric-group sweep
experiments/benchmark_asymmetric_groups.py - Final topology comparison
experiments/benchmark_df_vs_dfplus.py - Large-topology sweep
experiments/sweep_big_topology.py - Topology sweep
experiments/benchmark_topology_sweep.py
Other components
- Researcher
- Mininet network
- iperf TCP traffic
Connections 25
- Researcher → Benchmark runner: runs benchmark
README.md - Researcher → Dragonfly topology: builds network
README.md - Benchmark runner → Dragonfly topology: builds topology
benchmark_gpaard.py - Benchmark runner → g-PAARD schedules: runs schedule
benchmark_gpaard.py - Benchmark runner → TCP flow runner: launches flows
benchmark_gpaard.py - TCP flow runner → iperf TCP traffic: starts clients
benchmark_gpaard.py - Benchmark runner → Adaptive selector: selects pattern
README.md - Adaptive selector → g-PAARD schedules: chooses schedule
README.md - Benchmark runner → Timing and FCT: collects timings
benchmark_gpaard.py - Dragonfly topology → Routing and ECMP: installs routes
dragonfly_topo.py - Dragonfly topology → Dragonfly+ topology: supports topology
dragonfly_topo.py - Benchmark runner → Mininet network: runs network
README.md - Correctness verifier → Dragonfly topology: checks topology
verify_gpaard_correctness.py - Correctness verifier → Dragonfly+ topology: checks topology
verify_gpaard_correctness.py - Correctness verifier → g-PAARD schedules: checks result
verify_gpaard_correctness.py - Topology visualization → Dragonfly topology: draws topology
visualize_dragonfly_topo.py - Topology visualization → Dragonfly+ topology: draws topology
visualize_dragonfly_topo.py - Link utilization → Mininet network: samples interfaces
experiments/link_utilization.py - Shared sweep engine → Benchmark runner: runs patterns
experiments/sweep_common.py - Shared sweep engine → Link utilization: measures links
experiments/sweep_common.py - Bandwidth sweep → Benchmark runner: benchmarks sizes
experiments/benchmark_bandwidth_sweep.py - Asymmetric-group sweep → Benchmark runner: compares networks
experiments/benchmark_asymmetric_groups.py - Final topology comparison → Benchmark runner: compares networks
experiments/benchmark_df_vs_dfplus.py - Large-topology sweep → Benchmark runner: runs sweeps
experiments/sweep_big_topology.py - Topology sweep → Benchmark runner: runs sweeps
experiments/benchmark_topology_sweep.py