A 40 Gbit/s FPGA-based RoCEv2 transport for detector readout: development and performance
Sheng Dong, Jingzhou Zhao, Haoxin Wang, Tingxuan Zeng, Fei Li
Abstract
Recording the complete input of a detector trigger allows trigger algorithms to be replayed and studied offline. For the BESIII main drift chamber (MDC), this requires moving tens of Gbit/s from trigger FPGAs into server memory without loss. Remote direct memory access over Converged Ethernet (RoCEv2) lets commercial network adapters write such data into host memory. Detector readout also needs record boundaries that the receiver can check, replay from a verified copy, and host buffers that are reused only after consumption. We present a 40 Gbit/s FPGA RoCEv2 transport that provides these functions. Records are aggregated into CRC32C-checked blocks, and unacknowledged data are kept in DDR memory and verified before replay. Acknowledgment-aware retention writes to DDR only the data that are not acknowledged in time. The transport runs on a ZCU102 board and on the 9U VME Trigger Core Board (TCB). With records of 128 B to 4 KiB it comes within 0.4% of the packetization limit of the link, delivering 36.9 Gbit/s of payload at a path MTU of 1024 B, and its block latency is set by the time needed to fill a block. On a direct link, acknowledgment-aware retention cuts DDR writes for large blocks from 106% to 0.03% of the payload, and injected DDR access errors stay within their queue pair. On the TCB, three 16.4 TB transfers through two switches lost at most five packets each, all recovered by replay. An installation at the MDC is under test.
Create a lesson
Related papers
Development of an FPGA-Based Readout System and Functional Characterization of a Custom NSX1 ASIC for X-ray instrumentation
Shared title terminology · Nabin Poudyal, Wayne Baumgartner, Sukanya Chakrabarti et al.
Development of a real-time FPGA-based CNN trigger operating on full-granularity calorimeter images
Shared title terminology · Jia-Jen Wu, Yun-Tsung Lai, Yu-Chen Tung et al.
Development of microwave multiplexed readout for athermal phonon TES-based detectors
Shared title terminology · Tran Tsan, Douglas A. Bennett, Daniel T. Becker et al.
Development of a Hybrid Scintillator Strip-Drift Tube Muon Detector for the FCC-ee
Shared title terminology · Jiajin Ge
CHARMS250V1: A Cryogenic Front-End ASIC for Low-Noise Readout of Charge or Light Signals in Noble Liquid Detectors
Shared title terminology · Prashansa Mukim, Shanshan Gao, Hucheng Chen et al.
Compact GridPix Tracking: Test Beam Performance and Detector Response Modelling
Shared title terminology · Dhruv Chouhan, Jochen Kaminski, Konstantinos Spyrou et al.