Skip to main content

Routing

SpaceCoMP uses a distance-minimizing shortest-path algorithm that exploits the physical geometry of the Walker Delta constellation to reduce total ISL distance traversed while maintaining the same hop count as standard Manhattan routing on the torus.

The following diagram shows a 8×8 section of the torus grid. Each cell is a satellite. The source (S) needs to reach the destination (D), which is 3 planes east and 2 satellites north. Both paths take 5 hops.

← pole
D
S
← equator
Manhattan: east 3, then north 2.
Cross-plane hops at equator (long links).
← pole
D
S
← equator
Distance-minimizing: north 2, then east 3.
Cross-plane hops near pole (short links).
↑ North (toward pole)   ↓ South (toward equator)   ← → Cross-plane (between orbital planes)

Both paths take exactly 5 hops. The Manhattan path (left) goes east first — all 3 cross-plane hops happen at the equator where orbital planes are far apart. The distance-minimizing path (right) goes north first along its own plane, then takes the 3 cross-plane hops closer to the pole where the planes converge. The total distance is shorter because the cross-plane links near the pole are physically shorter.

Manhattan Routing

The baseline routing algorithm on a 2D torus computes the shortest path in grid hops — the Manhattan distance between source and destination, accounting for wraparound on both axes. Each hop moves one step in either the orbital-plane axis (east/west) or the satellite axis (north/south). This minimizes hop count but ignores the fact that ISL distances vary with orbital position.

Why Distance Matters

Minimizing distance is not just about reducing propagation delay (which is small — light crosses 5,000 km in 17 ms). The bigger effect is on throughput. ISL channel capacity depends on signal-to-noise ratio (SNR), which depends on distance through free-space path loss:

FSPL(d)=(4πdλ)2\text{FSPL}(d) = \left(\frac{4\pi d}{\lambda}\right)^2

Path loss grows with the square of distance. A cross-plane link that is 40% longer has nearly double the path loss, which lowers SNR and reduces the channel capacity available for data transfer. The transmission time for VV bytes over a link of distance dd is:

S(d,V)=dc+VBlog2(1+SNR(d))S(d, V) = \frac{d}{c} + \frac{V}{B \cdot \log_2(1 + \text{SNR}(d))}

The first term is propagation delay (small). The second term is transfer time — and it grows as SNR drops. On a long equatorial cross-plane link, the same data takes measurably longer to transfer than on a short polar cross-plane link, even though both are a single hop.

This is why distance-minimizing routing improves performance beyond what hop-count minimization achieves.

Distance-Minimizing Routing

The distance-minimizing algorithm produces the same hop count as Manhattan routing but chooses the order of hops to minimize the total physical distance traversed. The key insight: cross-plane ISL distances vary by ~40% depending on the satellite's position along its orbit.

  • Near the equator, orbital planes are far apart — cross-plane hops are expensive (long distance, high path loss, low throughput).
  • Near the poles, orbital planes converge — cross-plane hops are cheap (short distance, low path loss, high throughput).
  • Intra-plane distances are constant regardless of position.

The algorithm computes a cross-plane factor at each routing decision:

f(θ)=cos2(θ)+cos2(i)sin2(θ)f(\theta) = \sqrt{\cos^2(\theta) + \cos^2(i) \cdot \sin^2(\theta)}

where θ\theta is the true anomaly (satellite's position along the orbit) and ii is the orbital inclination.

At each hop, the router checks whether the cross-plane factor would increase or decrease by moving to the next plane. If it would increase (moving toward the equator where cross-plane links are longer), the router prefers an intra-plane hop first — moving along the satellite axis toward a position where cross-plane hops are cheaper. If the factor is decreasing (moving toward the poles), the router takes the cross-plane hop now while it is cheap.

Results

The algorithm achieves 8–21% reduction in total ISL distance compared to naive Manhattan routing, with zero hop count overhead. The savings come entirely from reordering the same set of hops to exploit orbital geometry. Because path loss grows quadratically with distance, the throughput improvement is larger than the distance reduction suggests — shorter links have disproportionately higher capacity.

Integration with SpaceCoMP

The job planner uses the distance-minimizing algorithm in its cost model to estimate the total communication cost of a job plan. The ISL router uses it at runtime to forward packets between SpaceCoMP roles. Because the algorithm produces the same hop count as Manhattan routing, it does not affect the assignment problem — it only improves the physical cost of each assigned path.