Direct Telemetry Access

Jonatan Langlet, Ran Ben Basat, Gabriele Oliaro, Michael Mitzenmacher, Minlan Yu, Gianni Antichi

Abstract

Direct Telemetry Access (DTA) is a high-performance telemetry collection system designed to offload the heavy burden of data ingestion from server CPUs to the network fabric. By leveraging programmable switches to translate lightweight telemetry reports into Remote Direct Memory Access (RDMA) writes, DTA enables collectors to ingest hundreds of millions of reports per second with near-zero CPU involvement.

The Challenge: Telemetry at Scale

In modern datacenters, fine-grained network telemetry is essential for critical tasks such as congestion control, load balancing, and troubleshooting. However, as monitoring becomes more precise, the volume of telemetry data explodes. Switches can generate millions of reports per second, quickly overwhelming "collectors"—the dedicated servers responsible for storing and indexing this data.

Traditional software-based collectors are hindered by two primary bottlenecks:

  1. CPU Exhaustion: Servers spend the majority of their cycles on I/O, parsing headers, and managing complex data structures.
  2. Memory Pressure: Indexing incoming reports often requires multiple random memory accesses, leading to "memory stalling" where the CPU sits idle waiting for data.
Performance bottlenecks in CPU-based collectors. MultiLog is CPU-bound, while Cuckoo hashing becomes memory-bound as core counts increase.

Architecture and Methodology

DTA introduces a novel architecture that bypasses the collector's CPU entirely during the data ingestion phase. The system is composed of three main components:

  • Reporters: Standard programmable switches that export telemetry data using a lightweight, custom UDP-based protocol to keep hardware overhead minimal.
  • Translators: These "last-hop" switches (typically Top-of-Rack) intercept UDP reports and convert them into standard RDMA write commands. This centralizes RDMA management, sparing individual reporters from maintaining complex connection states.
  • Collectors: Servers that allocate large memory buffers where the Translator writes data directly via RDMA.
Overview of the DTA telemetry data flow, illustrating the roles of Reporters, Translators, and Collectors.

Specialized Primitives

To support diverse monitoring requirements, DTA provides four specialized primitives:

  • Key-Write (KW): Designed for key-value pairs (e.g., flow counters), it uses a probabilistic shared hash table. By resolving collisions during the read phase, it eliminates the need for memory reads during ingestion.
  • Postcarding: Optimized for path tracing, storing multiple hop IDs in consecutive memory blocks.
  • Append: Batches reports at the switch for sequential event logs (e.g., packet loss) to maximize RDMA efficiency.
  • Key-Increment (KI): Updates counters directly in server memory using RDMA Fetch-and-Add for sketch-based measurements.

Performance Evaluation

The authors evaluated DTA using a testbed of Intel Tofino 1 programmable switches and x86 servers equipped with Mellanox Bluefield-2 DPUs. DTA was compared against state-of-the-art software collectors including MultiLog (Confluo), BTrDB, and INTCollector.

Key Results

  • Throughput: DTA processes over 400 million In-band Network Telemetry (INT) reports per second on a single server—a 16x improvement over MultiLog.
  • Peak Ingestion: For sequential event reporting (Append primitive), DTA can ingest up to 1 billion reports per second, representing a 41x improvement.
  • Efficiency: DTA dramatically reduces memory pressure. The Key-Write primitive requires only 0.58% of the memory instructions per report compared to MultiLog.
  • Hardware Overhead: The Translator logic fits within the constraints of a first-generation Tofino switch, leaving ample resources for standard packet forwarding.

Conclusion and Future Work

DTA demonstrates that offloading telemetry ingestion to the network fabric can resolve the fundamental scalability limits of software-based collectors. While current implementations operate on a best-effort basis, future work could integrate reliability mechanisms or move Translator logic into SmartNICs to further simplify network architecture while maintaining the significant benefits of CPU-bypass ingestion.

Summary updated

BibTeX
@inproceedings{langlet2022direct,
  author = {Jonatan Langlet and Ran Ben Basat and Gabriele Oliaro and Michael Mitzenmacher and Minlan Yu and Gianni Antichi},
  title = {{Direct Telemetry Access}},
  booktitle = {SIGCOMM},
  year = {2022},
  doi = {10.1145/3603269.3604827},
}
Figure