NS3 Simulation of CERN SPS Robot behaviour under communication drop and recovery (Comparison Congestion Control TCP Reno, Cubic, Westwood and Vegas)
Authors/Creators
Description
This record provides ns-3 simulation code and complete result artifacts for a comparative evaluation of TCP Reno, TCP CUBIC, TCP Westwood(+), and TCP Vegas in a supervised teleoperation networking scenario inspired by the CERN SPS tunnel. The goal is to study protocol behavior under time-varying WiFi connectivity (coverage loss and reconnection) and heterogeneous cross-traffic, with emphasis on loss, delay/jitter, and post-reconnection recovery (buffer draining and burstiness).
Scenario overview
The simulated topology models a robot inside the tunnel and a remote operator on the surface using four ns-3 nodes to explicitly represent the robot internal network stack:
-
n1 (Robot-PC): application sender for uplink sensing streams and receiver for downlink control.
-
n2 (Robot-NIC, WiFi STA): robot wireless network interface.
-
n3 (AP/Router): tunnel access point.
-
n4 (Control Station / GroundStation): uplink data sink and downlink control source.
Links are configured as follows:
-
n1–n2: internal robot P2P Ethernet, 100 Mbps, 1 ms delay, large DropTail buffer.
-
n2–n3: IEEE 802.11n WiFi, configured with reduced transmit power / receiver gain to emulate limited tunnel coverage; large WiFi MAC queue (MaxSize and MaxDelay configured in the script).
-
n3–n4: wired P2P backhaul, 50 Mbps, 100 ms delay, DropTail buffer of 100 packets.
A simple mobility pattern drives coverage degradation and reconnection, producing a realistic failure mode observed in real SPS trials: during low-connectivity intervals, packets accumulate in buffers; upon reconnection, buffered packets are released in bursts, yielding multi-second tail delays (on the order of ~6 s), consistent with measurements from SPS experiments.
Traffic configuration (flows)
The simulation generates multiple concurrent application-level CBR-like flows:
-
UDP camera (n1 → n4): 8 Mbps, 1024 B packets (unresponsive to congestion).
-
TCP LiDAR 3D (n1 → n4): 32 Mbps, 1484 B packets.
-
TCP LiDAR 2D (n1 → n4): 600 kbps, 15000 B packets.
-
TCP semantic data (n1 → n4): 5 kbps, 512 B packets.
-
TCP command/control (n4 → n1): 83.68 kbps, 1024 B packets.
All TCP flows are executed under each congestion-control variant (Reno, CUBIC, Westwood(+), Vegas), while the UDP camera stream is kept identical across runs.
TCP variants included
-
TCP Reno (loss-based AIMD baseline)
-
TCP CUBIC (Linux/Ubuntu default in typical deployments; aggressive growth suited to higher BDP paths)
-
TCP Westwood(+) (ACK-rate bandwidth estimation)
-
TCP Vegas (delay-based congestion avoidance)
Contents of this archive
The record includes:
-
ns-3 C++ simulation scripts for each TCP variant (or a single script with clearly marked lines to switch the
TcpL4Protocol::SocketType). -
Reproducibility artifacts for each configuration, including:
-
PCAP captures (per link/interface as configured),
-
FlowMonitor outputs (XML and/or serialized outputs),
-
logs and ASCII traces (throughput/delay/cwnd/other debug traces, as generated by the scripts),
-
any post-processed summaries used to build tables/figures in the associated study.
-
How to reproduce
-
Install ns-3 and build it in a standard environment (Linux recommended).
-
Copy the provided script(s) into your ns-3
scratch/(or the appropriate directory used by your workflow). -
Compile and run the desired variant(s) (Reno/CUBIC/Westwood/Vegas), following the instructions in the included README and/or script header comments.
-
The simulation generates FlowMonitor, PCAP, and log files into the configured output directories (see the scripts for exact paths).
Notes on interpretation
This dataset is intended to support research on supervised teleoperation under intermittent connectivity, highlighting that post-reconnection buffer draining can dominate application experience (multi-second tail delays) even when TCP loss is low and control delivery remains reliable. These behaviors motivate congestion-control extensions above layer 4 (e.g., application-layer regulation of message publication rate and quality/resolution).
License and citation
Please cite this Zenodo record in any publication using these scripts or results (DOI assigned by Zenodo). A BibTeX entry can be added to the record once the DOI is minted.
Zenodo DOI: 10.5281/zenodo.18171879
Files
Exp004_SPS_Simulation_09_Results_TCPCubic.zip
Files
(65.3 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:df797d2be61748009b58ed0e1ced24c3
|
20.9 MB | Preview Download |
|
md5:a0bb054d24e6e2b708549e1de2d5baad
|
14.1 MB | Preview Download |
|
md5:1830fc53109574ff82fad40fd987cf3a
|
9.4 MB | Preview Download |
|
md5:bf5931dcaf29334f26fb8fdc4cc0847d
|
20.8 MB | Preview Download |
|
md5:999a002d511759c58cca15768d42227f
|
34.5 kB | Download |
|
md5:2c937e75396bee0d2ab14cb67991419d
|
34.0 kB | Download |
|
md5:eb41d02258f6c09d42c9b82cabfb1180
|
34.1 kB | Download |
|
md5:a0e4c9fdbd2f84dfb035d52dd19e3117
|
35.4 kB | Download |