Improved HLT Framework for Belle II Experiment

Improved HLT Framework for Belle II Experiment
复制标题

DOI:
10.1051/epjconf/202429502016
复制
发表时间:
2024
影响因子:
--
通讯作者:
Ryosuke Itoh;Anselm Baur;Seokhee Park;Mikihiko Nakao;Satoru Yamada;S. Suzuki;T. Kunigo;Dmytro Levit
Ryosuke Itoh;Anselm Baur;Seokhee Park;Mikihiko Nakao;Satoru Yamada;S. Suzuki;T. Kunigo;Dmytro Levit
中科院分区:
--
文献类型:
--
作者:
Ryosuke Itoh;Anselm Baur;Seokhee Park;Mikihiko Nakao;Satoru Yamada;S. Suzuki;T. Kunigo;Dmytro Levit

文献摘要

相似文献

正式升级了原来的贝儿II HLT框架,用ZeroMQ数据传输取代了旧的基于IPC的环形缓冲区,以克服意外的IPC锁定问题。到目前为止,新的框架已经在束流运行中稳定地工作,但是它缺乏在不停止正在进行的数据获取的情况下恢复处理故障的能力。此外,与离线框架(basf 2)的兼容性也丢失了,这在原始版本中得到了维护。为了解决这些问题,在原有basf 2的基础上开发了一个改进的核心处理框架,同时保持服务器之间现有的ZeroMQ数据传输不变。开发了一个新的核心框架zmq-basf 2,它使用ZeroMQ IPC套接字进行无锁的1对N和N对1数据传输,从而保持了与原始基于环形缓冲区的框架的100%兼容性。当发生处理故障时,受影响的故障事件将从输入缓冲区中回收,并使用ZeroMQ广播直接发送到输出。终止的进程将自动重新启动,而不会停止数据获取。本文详细介绍了改进后的贝儿II HLT框架,并给出了在真实的贝儿II DAQ数据流中的性能测试结果。
The original Belle II HLT framework was formally upgraded replacing the old IPC based ring buffer with the ZeroMQ data transport to overcome the unexpected IPC locking problem. The new framework has been working stably in the beam run so far, but it lacks the capability to recover the processing fault without stopping the on-going data taking. In addition, the compatibility with the offline framework (basf2) was lost which was maintained in the original. In order to solve these, an improved core processing framework is developed based on original basf2, while keeping the existing ZeroMQ data transport between the servers unchanged. A new core framework zmq-basf2 is developed with a lock-free 1-to-N and N-to-1 data transport using the ZeroMQ IPC socket so that it keeps a 100% compatibility with the original ring-buffer based framework. When a processing fault occurs, the affected faulty event is salvaged from the input buffer and sent directly to the output using the ZeroMQ broadcast. The terminated process is automatically restarted without stopping data taking. This contribution describes the detail of the improved Belle II HLT framework with the result of the performance test in the real Belle II DAQ data flow.