THE LINUX FOUNDATION PROJECTS

Roland Sipos on DPDK in CERN Data Acquisition

By November 23, 2026User Stories
DPDK Summit Stockholm 2026: Roland Sipos on DPDK in CERN data acquisition, covering NA62, ProtoDUNE and LHCb

How physics experiments read out detector data with the Data Plane Development Kit

Roland Sipos designs and coordinates large-scale data acquisition (DAQ) and control systems at CERN. He presented at the DPDK Summit in Stockholm this year for the first time. His talk covered how DPDK moved from a test-bench experiment at CERN to the readout layer for several physics experiments.

Why DPDK

The experiments he presented share one problem: receiving detector data over UDP close to line rate, without loss, on commodity servers. In the 2017–2018 evaluations, DPDK’s appeal was programmability: packet steering, load balancing across cores, and control over packet processing at line rates from 1 to 40 Gbit/s. XDP wasn’t a viable alternative at the time because it didn’t support jumbo UDP payloads larger than 4 kB. The DUNE experiment’s front-end electronics, for example, aggregate data into payloads of 7 kB or more.

The DUNE team learned the same lesson separately. Early tests with POSIX sockets dropped data once the number of streams scaled up.

Timeline

CERN’s DAQ teams started testing DPDK at 10 and 40 Gbit/s line rates in 2016–2017. They evaluated it for UDP detector data readout in 2018–2019. Demonstrators followed at NA62 and the neutrino detector prototypes from 2020 to 2023. Production and scaling started in 2023 and continues now.

Testing has run across hardware generations since 2017: Intel Skylake through Sapphire Rapids, AMD Zen3 through Zen5, and NICs from the three main vendors.

NA62

NA62 measures ultra-rare charged kaon decays in a 270 m detector in CERN’s North Area. Its acquisition farm was commissioned in 2016 with a proprietary zero-copy network handler. That handler’s licensing was tied to the NIC, and its internal structure was rigid. Moving to DPDK removed the NIC lock-in and gave the team control over the receive path.

The handler was reimplemented on DPDK 22.11 and has run continuously since 2024. Each node in the 16-node farm runs seven packet handlers, each with its own TX and RX rings. The implementation uses NUMA-aware resource allocation, CPU affinity control, and kernel isolation of critical threads.

The traffic is bursty. The SPS beam delivers roughly 6 s on and 12 s off, and the front-end electronics send UDP to the farm round-robin at about 2 Gbit/s aggregate during bursts.

ProtoDUNE and DUNE

DUNE, the Deep Underground Neutrino Experiment, is an international collaboration. It is due to take data in the US in the early 2030s, 1.5 km underground in a former gold mine. CERN contributes to its DAQ technical design and to its readout and trigger systems. Its prototype detectors, NP02 and NP04, sit at CERN’s Neutrino Platform.

The DUNE DAQ moved to Ethernet readout in 2023. The DPDK-based readout has been in continuous operation on the prototypes since then. The front-end electronics send data over 10 Gbit/s links. Switches aggregate these into 100 Gbit/s uplinks feeding readout servers with commodity NICs. Each far detector module produces about 15 Tbit/s, read out by around 40 nodes at 400 Gbit/s each.

The underground power budget is about 120 kW, which is why the team is consolidating readout onto fewer servers. In Q4 2024, single servers each reading 4 × 100 Gbit/s inputs ran the prototypes under near-DUNE far detector conditions with no packet loss. The servers were two-socket Intel Sapphire Rapids and AMD Turin machines.

The current baseline for the readout unit is four 100 Gbit/s inputs per server, for 400 Gbit/s aggregate.

The readout path

Each detector frame carries a DAQ header with the source location, a timestamp from the detector timing system, and a sequence number for continuity checks. Each frame holds 64 channels × 64 time slices, a 7,200-byte payload, sent as 7,243-byte jumbo UDP frames.

The receive path uses vfio-pci and a run-to-completion model. Only five DPDK components are used:

  • •EAL, for interface setup, core assignment, and NUMA-aware DMA buffers.
  • •mbuf and mempool, for packet buffers.
  • •The flow API, for steering streams to queues.
  • •xstats, which feeds NIC counters into the DAQ’s operational monitoring.

Flow rules match the source IP in the IPv4 header and send every frame from a given source to a dedicated RX ring. This splits each 100 Gbit/s link into individual streams of about 2 Gbit/s. RX queues are assigned to cores round-robin.

DPDK’s footprint has to stay small. The receive threads share each server with the most CPU-intensive work in the readout: AVX-based hit finding that generates trigger primitives. Payloads are written directly into latency buffers through a callback path, skipping an intermediate copy. On a Skylake-based readout server, that change freed 12 virtual cores at about 60% utilization each and cut memory bandwidth by about 10 GB/s. Data stays in DRAM for about 10 seconds while the trigger decides. On request, up to 100 seconds of raw data is written to NVMe for supernova burst detection.

Tuning

System tuning alone did not eliminate dropped packets. The fix was in the RX loop and NIC configuration:

  • •RX burst size went from a few hundred packets to a couple of thousand.
  • •Opportunistic sleep between polls dropped to 10 µs.
  • •The mbuf pool was deepened.
  • •Descriptor counts were raised to hardware limits.

Kernel parameters reduce scheduling-clock interrupts and RCU callbacks on the receive cores. NICs and NVMe drives sit on dedicated PCIe root complexes, with hugepages on the NIC’s NUMA node.

Platform topology matters. Roland’s IEEE paper reports clear benefits from Intel’s Data Direct I/O (DDIO), an implementation of direct cache access (DCA) that lets the NIC write into last-level cache. The team also wanted to evaluate AMD’s Smart Data Cache Injection (SDCI), a comparable DCA implementation. AMD Zen3 favours an asymmetric layout, with reception and buffering on one socket and processing on the other.

In the paper’s conclusion, Roland wrote that moving to Ethernet “allowed us to focus efforts on software and tuning of servers and NICs” instead of on custom hardware and protocols.

Where the API contract breaks

Roland was direct about what does not work. The issues his team has hit across NICs include:

  • •offloads that are reported through ethdev but not actually supported,
  • •ambiguity in how flow rules are interpreted,
  • •xstats that differ in what they expose and how,
  • •device resets that do not behave the same way.

In each case the API is shared but the behaviour is not.

Thomas Monjalon responded from the audience:

“If you see any discrepancy, please open a bug.”

Thomas Monjalon, DPDK Lead Maintainer

Testing

DPDK’s existing tools did not match the team’s traffic patterns, so they built their own in 2018–2019. The tools emulate detector frames on the wire and route them to different RX queues. Early attempts with testpmd flooded the switch and tripped its loop protection, so the team moved to point-to-point links. Writing their own test and application layers also gave both junior and senior engineers their first in-depth experience with a framework this close to the hardware. The tooling is internal today, and Roland said he wants to bring it back to the community.

What would help

Roland identified two documentation gaps for teams outside traditional networking:

  • •A minimal reference application of about ten lines of main, covering EAL initialisation, lcore launch, RX queue balancing, telemetry, and clean shutdown.
  • •A consolidated tuning guide covering the platform side: PCIe and root complex placement, NIC locality, core isolation, and kernel isolation.

LHCb

LHCb’s current DAQ moves about 40 Tbit/s over PCIe and InfiniBand. The High-Luminosity LHC upgrade could raise that requirement up to fivefold over the next decade. The LHCb DAQ R&D team evaluated UDP, RoCE, and TCP as Ethernet transports for FPGA-based readout. Their DPDK benchmark ran a single-thread receiver on a direct 400GbE ConnectX-8 link with DPDK 22.11.2. It sustained 398.82 Gbit/s with zero loss over 610 million packets. UDP with DPDK is now a candidate for future LHCb DAQ upgrades.

Shared tooling

The DUNE work is being generalised into a common library, DPDK-DAQ. It is being exercised in SmartNIC R&D on FPGA offload of parts of the DUNE-DAQ processing pipeline. A detector-emulation package is being integrated into the DAQling framework so test-beds can run without detector electronics. The library is meant to extend to other detector R&D, including smart QSFP modules that convert custom detector links to standard Ethernet. It is also meant to serve upcoming experiments like SHiP and smaller experiments with limited engineering resources.

The DUNE readout code is public at github.com/DUNE-DAQ/dpdklibs.

Why Roland came to Stockholm

CERN’s DAQ teams have built on DPDK for years, but their connection to the wider DPDK community has been limited. Roland came to meet maintainers, find contacts for optimisation work, and set up a way for his team to contribute findings back to the project.

Get involved

Work on DPDK yourself

Patch review and patch submission both happen on the dev@dpdk.org mailing list. These guides walk through the workflow, from setup to your first reply or submission.

Roland Sipos is a computing engineer at CERN working on data acquisition systems for NA62, the DUNE prototype detectors at the Neutrino Platform, and DAQ R&D. His paper “The Ethernet Readout of the DUNE DAQ System,” published in IEEE Transactions on Nuclear Science in March 2025, describes the DUNE DAQ readout system, where DPDK is the core block for receiving high-speed UDP streams from the detector. DPDK is a Linux Foundation project. Learn more at dpdk.org.