Search arXiv⌕ Search

arXiv subjects

Pavani Kuppili

Publications and source records attributed to Pavani Kuppili.

2 recordsLinked to original sources

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

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.

cs.NI↗

LatencyLab: A DPDK-Based P4 Pipeline Latency Measurement Framework for FPGA SmartNICs

P4-programmable FPGA SmartNICs place packet processing directly on the wire, but open FPGA P4 toolflows do not expose timestamping at the pipeline boundary, so the latency a P4 program adds on the target FPGA is rarely measured. This paper presents LatencyLab, a DPDK-based measurement framework for FPGA P4 pipeline latency that needs neither PHC/PTP support on the datapath nor clock synchronization. The FPGA's two ports share a network segment, so the switch multicasts a copy of each probe packet to both: one copy passes through the VitisNetP4 pipeline, the other through a matched bypass path. A kernel-bypass DPDK receiver busy-polls both ports and timestamps every packet with the CPU timestamp counter (TSC) as it is retrieved from the NIC's receive circular buffer. The arrival-time difference of the two copies isolates the pipeline latency after calibration against a null bitstream carrying the same traffic; transmit time cancel in the subtraction. We evaluate four VitisNetP4 programs on an AMD Alveo U280, probing each with a 20,000-packet trace measured ten times per session over five independent sessions, all TSC-timestamped and reflected for hardware timestamping. The measured latency distributions are tight and reproducible: 99% of packets fall within 20 ns of the median, session medians repeating within 1 to 2 ns (FiveTuple 107/137 ns, Forward 149 ns, RemoveHeader 177 ns, Checksum 364 ns at 250 MHz). Two independent checks agree with the framework: a kernel-free reflector returns every probe pair to a ConnectX-5 NIC whose adapter clock reproduces the measured distributions within a few nanoseconds, quantile by quantile, and every measured packet falls 18 to 22 clock cycles below the vendor's worst-case latency bound.

cs.DC↗