KeepON: Supporting Deterministic Traffic on Standard NICs
Chuanyu Xue (University of Connecticut), Tianyu Zhang (University of Iowa), Andrew Loveless (NASA Johnson Space Center), Song Han (University of Connecticut)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 1 · Mobile and Embedded Systems
Overview
Mission-critical cyber-physical systems—such as autonomous vehicles, smart factories, and deep-space habitats—rely heavily on networked components where operational correctness depends as much on precise timing as it does on data integrity. To guarantee bounded latency and low jitter, modern industrial networks are transitioning toward converged Ethernet backbones managed via Time-Sensitive Networking (TSN). However, a major architectural mismatch has persisted: while TSN assumes end stations can release packets with microsecond-level determinism, commodity end stations suffer from unpredictable software delays, OS scheduling variance, memory bottlenecks, and PCIe bus jitter.

Key moments
- 0:00 Introduction and background on deterministic traffic
- 1:55 Challenges of TSN and end-station jitter
- 5:50 Introduction to KeepON and hardware clock emulation
- 8:10 Validating line-rate predictability and dummy packet handling
- 10:00 KeepON architecture and continuous polling mode driver
- 11:55 Constructing the hardware clock and packet scheduling logic
- 13:58 Evaluation results and jitter comparison
- 15:58 Real-world deployment on NASA deep space habitat testbed
KeepON: Supporting Deterministic Traffic on Standard NICs
Speakers: Chuanyu Xue (University of Connecticut); Tianyu Zhang (University of Iowa); Andrew Loveless (NASA Johnson Space Center); Song Han (University of Connecticut)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=EaQ7pznOK14
Overview
Mission-critical cyber-physical systems—such as autonomous vehicles, smart factories, and deep-space habitats—rely heavily on networked components where operational correctness depends as much on precise timing as it does on data integrity. To guarantee bounded latency and low jitter, modern industrial networks are transitioning toward converged Ethernet backbones managed via Time-Sensitive Networking (TSN). However, a major architectural mismatch has persisted: while TSN assumes end stations can release packets with microsecond-level determinism, commodity end stations suffer from unpredictable software delays, OS scheduling variance, memory bottlenecks, and PCIe bus jitter.
This paper introduces KeepON, a software-defined traffic scheduling mechanism designed to solve the "last inch" problem of TSN integration using standard, commodity network interface cards (NICs). By continuously driving the NIC's Direct Memory Access (DMA) ring buffer at maximum line rate with intentionally corrupted cyclic redundancy check (CRC) dummy packets, KeepON establishes a physical timeline that maps transmission slots to precise future timestamps. Evaluated on commodity hardware including Raspberry Pi nodes and deployed within NASA’s deep-space habitat cyber-physical testbed, KeepON achieves nanosecond-scale scheduling accuracy without requiring specialized hardware offloads or custom network adapters.
Background
▶ Watch: Introduction and background on deterministic traffic (0:00)
Achieving deterministic communication in industrial and aerospace domains has historically relied on domain-specific bus architectures like the Controller Area Network (CAN) bus. While these dedicated systems offer reliable, bounded delivery, they introduce severe cable complexity, high costs, and fundamentally restricted bandwidth. The migration toward converged Ethernet networks eliminates these bottlenecks, but standard Ethernet is fundamentally designed for best-effort delivery, introducing random queuing delays when multiple traffic flows contend for switch resources.
TSN mitigates this through two foundational features: network-wide clock synchronization and time-aware scheduling. Every switch and end station adheres to a global clock, following a pre-calculated global transmission schedule that prevents resource contention along a packet's path.
However, TSN breaks down when commodity end stations introduce release jitter. If an end station transmits a packet even a few microseconds late, it misses its reserved switch slot, stalling the flow and creating cascading delays. Conversely, early transmissions arrive before switch slots open, occupying egress ports and delaying other flows. Existing solutions rely on hardware scheduling offloads equipped with dedicated Precision Time Protocol (PTP) timers directly on specialized NICs. While effective, these capabilities are absent in most commercial, legacy, or resource-constrained hardware, creating a critical gap for systems unable to install specialized or high-cost PCIe network adapters.
Key Findings
▶ Watch: Introduction to KeepON and hardware clock emulation (5:50)
- Line-Rate Stability: Empirical validation demonstrates that transmitting packets at maximum line rate dramatically reduces timing variance. While iPerf measurements at 50% and 80% utilization exhibit high variance, line-rate transmission drops the inter-packet departure variance to 6 nanoseconds across diverse hardware platforms.
- Transparent Dummy Packet Dropping: Transmitting continuous line-rate traffic does not flood downstream networks or consume receiver bandwidth because KeepON embeds a crafted, invalid CRC into dummy packets. Standard Ethernet switches detect and drop these invalid frames at the first egress port, imposing zero bandwidth or timing overhead on receivers.
- Software Jitter Supersession: Operating purely in software via a custom polling mode driver (PMD), KeepON achieves a scheduling jitter of 3.7 nanoseconds, outperforming typical hardware-based approaches (such as the Intel IGB driver architecture which achieves ~7.7 ns) and vastly improving upon standard Linux drivers like GENET (~5 microseconds).
- Practical Space Habitat Integration: Deployed on the NASA Research Analog Cyber-Physical (RAC) testbed running 12 critical flows across four TSN switches with 1 millisecond control periods, KeepON successfully eliminated deadline misses and sub-millisecond spikes, achieving sub-microsecond end-to-end jitter where default Linux drivers completely failed.
Technical Deep Dive
▶ Watch: KeepON architecture and continuous polling mode driver (10:00)
The architectural core of KeepON bypasses software and PCIe latency by emulating a hardware clock using physical network transmission properties. The system architecture is divided into two primary layers: a core driver module running on individual end stations, and network-level extensions for end-to-end TSN integration.
Continuous Polling Mode Driver (CPPMD)
To maintain determinism, the NIC must never enter an idle state, as idle periods disrupt line-rate transmission properties. KeepON implements a continuous PMD that cycles through four atomic steps:
- Ring Initialization: Populate the DMA ring buffer with dummy packets containing intentionally incorrect CRC codes.
- Consumer Index Polling: Query the NIC's consumer index to track the exact count of transmitted packets, serving as a high-precision software clock tick.
- Buffer Reclamation: Instead of deallocating transmitted memory blocks, reclaim them instantly by rewriting the invalid CRC code, converting them back into fresh dummy slots.
- Producer Index Advancement: Increment the producer index to ensure it remains strictly ahead of the consumer index, guaranteeing that the NIC ring never empties.
Time-to-Ring Mapping and Scheduling Logic
Because the NIC transmits at a fixed line rate, the transmission counter tracked by the consumer index acts as a physical clock tick. KeepON establishes a bidirectional mathematical mapping between real-time and DMA ring buffer indices:
$$\text{Time} = (\text{Transmission Count} \times \text{Transmission Time}) + \text{Offset}$$
Where the offset synchronizes the end station’s Epoch Hardware Clock (EPHC) with the global network clock. Conversely, an application-specified scheduling time $T$ is mapped to a ring index via modulo arithmetic against the ring buffer size.
Because ring buffers are finite, scheduling packets far into the future is managed by positioning a dynamic-length priority queue ahead of the DMA ring. The queue holds application packets and releases them into the DMA ring only when their scheduled transmission window approaches. When an application requests a transmission at time $T$, KeepON calculates the ring index, verifies that the slot currently holds an uncommitted dummy packet (validated by its bad CRC), overwrites the dummy payload with application data, and corrects the CRC flag. The NIC subsequently transmits the packet precisely when its consumer index reaches that index.
Experimental Setup & Results
▶ Watch: Constructing the hardware clock and packet scheduling logic (11:55)
KeepON was evaluated across standard compute platforms and validated within the RAC cyber-physical testbed, a research environment replicating deep-space habitat architectures.
- Baselines: Evaluations compared KeepON against the standard Linux network driver (GENET) and a hardware-assisted scheduling approach utilizing an Intel IGB network controller with native hardware offload capabilities.
- Workloads: Periodic traffic was injected with control periods ranging from 200 microseconds to 1 millisecond. In the RAC testbed evaluation, 12 concurrent critical control flows traversed four TSN switches simultaneously under a strict 1 ms control period.
- Headline Metrics:
- Jitter & Accuracy: Standard Linux drivers exhibited a high average jitter of ~5 microseconds with periodic latency spikes exceeding 1 millisecond. The hardware-based IGB approach achieved ~7.7 nanoseconds of scheduling accuracy. KeepON achieved a scheduling jitter of 3.7 nanoseconds, outperforming dedicated hardware offloads using standard commodity NICs.
- CPU Overhead: By tuning polling batch sizes and slot configurations, KeepON maintained a CPU utilization footprint of under 10%, proving viability for resource-constrained edge devices like Raspberry Pi gateways.
- Testbed Resilience: In the NASA deep-space habitat testbed, legacy protocols routed through Raspberry Pi gateways running default Linux drivers experienced catastrophic schedule failures and missed deadlines. Enabling KeepON restored sub-microsecond end-to-end jitter and guaranteed 100% deadline compliance.
Practical Implications
▶ Watch: Real-world deployment on NASA deep space habitat testbed (15:58)
For infrastructure teams, model builders, and edge deployers, KeepON removes a major hardware dependency when deploying time-sensitive artificial intelligence and control workflows. Industrial automation, robotics, and aerospace systems often rely on legacy edge hardware lacking PTP-capable NICs or PCIe expansion slots. By shifting deterministic scheduling entirely into a lightweight driver layer, KeepON allows engineers to leverage cheap, commodity off-the-shelf networking hardware without sacrificing real-time guarantees.
However, certain tradeoffs and limitations must be considered. Running a continuous polling mode driver requires dedicated CPU cycles; while fine-tuning keeps utilization below 10%, tightly constrained embedded processors must allocate sufficient core availability to sustain line-rate polling without starving concurrent application threads. Furthermore, KeepON’s scheduling horizon is bounded by the physical depth of the DMA ring buffer and its preceding priority queue, meaning applications requiring ultra-long-range scheduling windows must carefully manage memory structures to prevent buffer exhaustion.
Key Takeaways
- Resolving the Last Inch: Commodity end stations introduce unmitigated software, OS, and PCIe jitter that breaks end-to-end TSN guarantees; KeepON solves this in software on standard NICs.
- Line-Rate Emulation: Driving DMA ring buffers continuously at line rate with bad-CRC dummy packets transforms transmission counts into a high-precision, nanosecond-accurate physical clock.
- Zero Network Pollution: Crafted invalid CRC dummy packets are dropped instantly by the first ingress switch port, imposing zero bandwidth or latency overhead on downstream receivers.
- Hardware-Beating Software Accuracy: Operating purely via a custom polling mode driver, KeepON achieves 3.7 ns scheduling jitter, surpassing dedicated hardware offloads (~7.7 ns) and standard Linux drivers (~5 µs).
- Proven Real-World Reliability: Validated on the NASA Research Analog Cyber-Physical testbed, KeepON successfully integrates legacy devices and eliminates deadline misses in resource-constrained edge gateways like Raspberry Pis.
About the Speaker(s)
Chuanyu Xue is a PhD researcher in the Department of Computer Science and Engineering at the University of Connecticut (UCONN), focusing on networked systems, real-time communications, and cyber-physical infrastructures. Co-authors include Tianyu Zhang from the University of Iowa, Andrew Loveless from the NASA Johnson Space Center, and Song Han, Associate Professor at the University of Connecticut, whose research group specializes in real-time systems, IoT, and edge computing architectures.
Reviews
- Simon Wisk (Open Source Developer & AI Tooling Expert) — MUST SEE ★★★★★
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)