Skip to content

In-Network PTP: Offloading IEEE-1588 to SmartNIC for Heterogeneous Cloud Environments

Sounak, Ghosh, Pavani Kuppili, Miriam Leeser, Michael Zink

cs.NI

Abstract

Precise time synchronization is critical for dis- tributed cloud systems and data center applications, yet re- mains challenging in heterogeneous environments. Existing IEEE 1588 Precision Time Protocol (PTP) implementations rely on a hybrid architecture that combines hardware timestamping with software-based control loops, introducing non-deterministic delays between when timestamps are generated, offsets computed, and then clock is corrected. These delays can span thousands of clock cycles, causing the computed offset to become stale and limiting achievable synchronization accuracy. Furthermore, this latency is often exacerbated in heterogeneous cloud environments due to additional virtualization and orchestration layers. In this work, we present a SmartNIC architecture for in-network PTP processing, that moves the entire synchronization loop, including timestamping, packet processing, offset computation, and PTP Hardware Clock (PHC) control, into the dataplane. Our design integrates a P4-programmable pipeline with custom RTL modules enabling low-latency and deterministic clock synchronization while remaining compatible with IEEE-1588 PTP. We implement our design on an FPGA-based platform and evaluate it on a heterogeneous cloud testbed; demonstrating up to 99.992% or 12,650x reduction in client-side PTP processing latency, up to 20.2x faster convergence time & improved synchronization accuracy.

Create a lesson

Metadata

Categories
cs.NI, cs.AR
Comments
14th IEEE International Conference on Cloud Networking