CountingStars: Low-overhead Network-wide Measurement in LEO Mega-constellation Networks

Xiyuan Liu, Guano Liu, Xiucheng Tian, Wenting WeiarXiv 2025 · DOI

Introduction

Measuring network traffic in Low Earth Orbit (LEO) mega-constellations like Starlink or Iridium presents a unique set of challenges that traditional terrestrial network engineering tools are ill-equipped to handle. As these constellations grow to include thousands of satellites, the need for accurate, low-overhead measurement becomes critical for traffic engineering and security. This paper introduces CountingStars, a novel measurement architecture designed to overcome the extreme dynamicity and hardware constraints of the space environment.

The Dual Challenges of LEO Networks

Traditional network measurement relies on stability, but LEO networks are defined by two primary obstacles:

  1. Extreme Dynamicity: Satellites move at orbital velocities, causing network topologies to shift every few minutes. Standard hashing strategies used to track data flows often result in massive "hash collisions" as traffic patterns and routing paths change abruptly. When two different flows are mapped to the same memory address, measurement accuracy plummets.
  2. Memory Inflation from PBLB: To maintain stable links amidst high mobility, these networks employ Packet-based Load Balancing (PBLB). This technique splits a single data flow across multiple physical ports. Standard measurement tools, such as Count-Min Sketches, would require a separate memory-hungry instance for every port to maintain accuracy. This "memory inflation" quickly exceeds the limited, radiation-hardened hardware resources available on a satellite.

The CountingStars Architecture

CountingStars addresses these issues through a collaborative approach between a ground-based controller and the satellites themselves.

Digital Twin and Dynamic Hashing

The ground controller maintains a high-fidelity "digital twin" of the constellation. By utilizing orbital mechanics and Two-Line Element (TLE) data, the controller predicts future network topologies and flow sets. Because the future state is deterministic, the ground controller can pre-calculate a Minimal Perfect Hash Seed for specific time windows.

Dynamic Hashing Mechanism: Updating the hash seed based on ground-side predictions prevents collisions during topology shifts.

As shown in the dynamic hashing mechanism, when the network transitions between periods, the ground controller updates the hash seed (e.g., from 4 to 5). This ensures that even as new flows enter the system or paths change, every flow is mapped to a unique memory address with zero collisions.

Port Aggregation Data Structure

To solve the memory inflation problem, CountingStars introduces a clever "Port Aggregation" structure. Instead of maintaining separate counters for every port, it uses a single 64-bit register divided into subfields (e.g., four 16-bit fields).

Port Aggregation: A single register is partitioned to track flow statistics across multiple physical ports simultaneously.

By using a "jump-based" bit operation, the system can update a specific port's counter within the shared register. To update port $p$, the system simply adds $2^{16 \times (p-1)}$ to the register. This allows fine-grained, per-port measurement within a single memory entry, drastically reducing the memory footprint compared to traditional multi-counter approaches.

Evaluation and Key Results

The researchers evaluated CountingStars using a custom discrete-event simulator modeled on the Iridium (66 satellites) and Starlink (1,584 satellites) constellations. Traffic models accounted for geographical population density and "tidal effects" of day/night cycles.

CountingStars (CS) was compared against state-of-the-art methods including Count-Min Sketch (CM) and FlowLIDAR:

  • Unprecedented Accuracy: Under heavy Starlink loads, CS achieved an Average Relative Error (ARE) of 0.0007, while traditional methods like CM and FlowLIDAR saw errors as high as 0.3284 and 0.1512, respectively.
  • Significant Memory Savings: To achieve a target error rate of 0.15, CS required only 200 KB of memory, representing an 80% reduction compared to the 1000 KB required by CM.
  • Line-Rate Performance: Implementation on a Xilinx Artix-7 FPGA demonstrated a processing time of 136ns per packet, supporting a throughput of approximately 48.46 Million packets per second (Mpps).

Conclusion

CountingStars demonstrates that the inherent predictability of orbital mechanics can be leveraged as a resource to optimize network performance. By offloading complex hash calculations to the ground and utilizing bit-efficient data structures on-board, CountingStars provides a scalable, high-accuracy solution for the next generation of LEO mega-constellations. Future work will focus on handling unpredictable traffic bursts and optimizing signaling overhead in even larger satellite deployments.

Summary updated

BibTeX
@misc{liu2025countingstars,
  author = {Xiyuan Liu and Guano Liu and Xiucheng Tian and Wenting Wei},
  title = {{CountingStars: Low-overhead Network-wide Measurement in LEO Mega-constellation Networks}},
  year = {2025},
  eprint = {2508.13512},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.13512},
}
Figure