Search arXiv⌕ Search

arXiv · 2612.01561

An Autonomous Power-of-Two-Choices Layer-4 Load Balancer for Programmable Switching ASICs

Abstract

Switch-based Layer-4 load balancers achieve line rate by hashing the five-tuple to a backend, but a hash cannot observe how long a flow lives or how many sessions a server already carries. Under the heavy-tailed flow sizes of datacenters this produces persistent imbalance. Least-connection-first selection removes it, but a fixed-function match-action pipeline cannot scan n counters in one pass, so published P4 designs such as LCF and DPPLCF delegate the choice to a controller and inherit its throughput ceiling. This paper presents Po2C, a family of power-of-two-choices Layer-4 load balancers performing least-connection-style selection inside an Intel Tofino-1 pipeline: hardware random number generators draw backend indices, the pipeline reads their live session counters from parallel register arrays, and commits the connection to the lighter one in constant time; no packet on the forwarding path reaches the control plane. Po2C applies the textbook two-choice rule; two variants are measured against it. Across a prolonged hardware stress test driving web-search traffic from 100 to 10,000 connections per second, all three hold handshake success above 99.98 percent and per-connection consistency at 100.000 percent, and reach a peak-to-mean server load ratio of 1.010 against 1.145 for stateful hashing on the same switch. Relative to Po2C, the two variants move in opposite directions: Po2C-H (adding a memoized best to two samples) gains 0.0276 in Jain's Fairness Index (JFI) at 5.7 standard deviations above Po2C, whereas H-Best (replacing the second sample with the memoized best) loses 0.0301 in JFI at 6.2 standard deviations below Po2C. Sampling breadth, not retained state, does most of the fairness work; H-Best trades part of that margin for twice the connection-table depth, a choice worth making when capacity rather than fairness is the binding constraint.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Ting-Ching Hung, Chien Chen, Jyh-Cheng Chen. 2026-12-01. An Autonomous Power-of-Two-Choices Layer-4 Load Balancer for Programmable Switching ASICs. https://searcharxiv.org/abs/2612.01561

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

OrbCC: High-Throughput and Low-Latency Data Transport for LEO Satellite Networks

The highly dynamic nature of Low-Earth Orbit (LEO) satellite networks introduces challenges that existing transport protocols fail to address, including non-congestive latency variation and loss, transient congestion hotspots, and frequent handovers that cause temporary disconnections and route changes with unknown congestion and delay characteristics. Our contention is that with this increase in complexity, there is insufficient information being returned from the network for existing congestion control algorithms to minimise latency while maintaining high throughput and minimising retransmissions. Our approach, OrbCC, leverages in-network support to collect per-hop congestion information and uses it to (1) minimise buffer occupancy and end-user latency, (2) maximise application throughput and network utilisation, and (3) rapidly respond to congestion hotspots. We evaluate OrbCC against state-of-the-art transport protocols using OMNeT++/INET-based LEO satellite simulations and targeted micro-benchmarks. The simulations capture RTT dynamics in a LEO constellation, while the micro-benchmarks isolate key characteristics such as non-congestive latency variation and loss, path changes, and congestion hotspots. Results show that OrbCC significantly improves goodput while simultaneously reducing latency and retransmissions compared to existing approaches.

cs.NI↗

Freeriding on Entanglement Distillation to Achieve Quantum Network Tomography

Entanglement distillation and quantum network tomography (QNT) address complementary needs in noisy quantum networks: the former improves the fidelity of distributed entanglement, while the latter estimates the noisy parameters of a quantum network. Both require local measurements, yet they are typically treated as separate tasks. In this paper, we integrate QNT into end-to-end entanglement distillation by reusing the measurement statistics of the double-selection protocol, collected at peripheral monitors, for link-level characterization, so that distillation measurements come for free with respect to tomography. For a three-link star network with unknown Pauli channels, we combine Unicast and modified Mergecast preparations with Clifford dressing to identify all three Pauli channels. On this basis, we develop two estimators: the Joint-Coincidence Estimator (JCE), which exploits joint $X/Z$ coincidence statistics under a source-state fidelity condition $F > 1/2$, and the Marginal-Coincidence Estimator (MCE), which uses only Z-basis coincidence statistics with uniform Clifford dressing and removes the fidelity condition. We prove that both estimators uniquely identify all three Pauli channels without access to measurement outcomes at the central (internal) node. Qiskit simulations show that JCE and MCE recover channel parameters accurately while retaining entangled pairs with improved fidelity, and that retaining joint coincidence information improves estimation accuracy. We further extend JCE to a more general network, demonstrating applicability to more general network topologies beyond the three-link star topology.

cs.NI↗

Energy-Penalized Fair Sensing and Distributed Computing in UAV-Assisted Space-Air-Ground ISCC Networks

Autonomous wireless missions in infrastructure-limited areas require an aerial platform not only to communicate with ground terminals and sense their physical surroundings, but also to convert the acquired observations into processed information before the mission ends. This paper investigates an integrated sensing, communication, and computing (ISCC) service chain in a space-air-ground network assisted by an unmanned aerial vehicle (UAV). The rotary-wing UAV uses dual-functional beams for simultaneous target probing and downlink control, executes part of the resulting workload onboard, and offloads the remainder to low-Earth-orbit edge servers. Unlike conventional mobile edge computing with prescribed task arrivals, the computation demand here is endogenous: the UAV trajectory and dual-functional-beam power determine both the sensing information collected and the amount and timing of workload entering the buffer. We formulate a mission-level model that couples UAV kinematics, radar and communication links, local execution, satellite offloading, and one-slot-delayed information causality. An energy-penalized fair sensing utility then balances worst-target sensing information against propulsion and onboard-computing costs. To solve the resulting non-convex design, we develop an alternating surrogate-based trajectory and resource optimization (ASTRO) algorithm using direction-aware rate bounds, a first-order-consistent computing-energy majorizer, and induced-power lifting. Under the stated regularity conditions, ASTRO preserves feasibility, monotonically improves the exact utility, and converges to a stationary point satisfying the Karush-Kuhn-Tucker conditions. Numerical results show that jointly coordinating communication, sensing, and dual-tier computing produces computation-aware trajectories and favorable sensing-energy tradeoffs under both structured and randomized user geometries.

cs.NI↗