The Joint Accelerator Conferences Website (JACoW) is an international collaboration that publishes the proceedings of accelerator conferences held around the world.
TY - CONF AU - Vodopivec, K. AU - Breeding, J.E. AU - Sinclair, J.W. ED - White, Karen S. ED - Brown, Kevin A. ED - Dyer, Philip S. ED - Schaa, Volker RW TI - The Linux Device Driver Framework for High-Throughput Lossless Data Streaming Applications J2 - Proc. of ICALEPCS2019, New York, NY, USA, 05-11 October 2019 CY - New York, NY, USA T2 - International Conference on Accelerator and Large Experimental Physics Control Systems T3 - 17 LA - english AB - Many applications in experimental physics facilities require custom hardware solutions to control process parameters or to acquire data at high rates with high integrity. These hardware solutions typically require custom software implementations. The neutron scattering detectors at the Spallation Neutron Source at ORNL* implement custom protocols over optical fiber connected to a PCI express based read-out board. A dedicated kernel device driver provides an interface to the software application and must be able to sustain data bursts from a pulsed source while acquiring data for long periods of time. The same optical channel is also used as low-latency communication link to detector electronics for configuration and real time fault detection. This paper presents a Linux device driver design, implementation challenges in a low-latency high-throughput setup, real use case benchmarks and importance of clean application programming interface for seamless integration in control systems. This software implementation was developed as a generic framework and has been extended beyond neutron data acquisition. It is suitable to diverse applications where it allows for rapid FPGA development. PB - JACoW Publishing CP - Geneva, Switzerland SP - 602 EP - 605 KW - Linux KW - software KW - interface KW - neutron KW - FPGA DA - 2020/08 PY - 2020 SN - 2226-0358 SN - 978-3-95450-209-7 DO - doi:10.18429/JACoW-ICALEPCS2019-MOPHA156 UR - https://jacow.org/icalepcs2019/papers/mopha156.pdf ER -