使用ROOT散装I/O加速HEP分析
Speeding HEP Analysis with ROOT Bulk I/O
摘要:
不同的HEP工作流具有不同的I/O需求;虽然ROOT I/O擅长序列化重建常见的复杂C++对象,但分析工作流通常具有更简单的对象,并且可以维持更高的事件率。为了满足这些工作流,我们开发了一个“批量I/O”接口,允许每个库调用返回多个事件数据。这减少了与ROOT相关的开销并增加了事件率-数量级的改进在微基准测试中显示。不幸的是,这种批量接口很难使用,因为它需要用户识别何时适用,并且他们仍然根据事件而不是数据数组来“思考”。我们已经将批量I/O接口集成到ROOT中新的RDataFrame分析框架中。由于RDataFrame的接口可以提供改进的类型信息,因此框架本身可以通过批量IO确定哪些数据是可读的,并自动在接口之间切换。我们演示了如何在读取分析数据格式(如CMS的NanoAOD)时提高事件发生率。
英文摘要:
Distinct HEP workflows have distinct I/O needs; while ROOT I/O excels at serializing complex C++ objects common to reconstruction, analysis workflows typically have simpler objects and can sustain higher event rates. To meet these workflows, we have developed a "bulk I/O" interface, allowing multiple events data to be returned per library call. This reduces ROOT-related overheads and increases event rates - orders-of-magnitude improvements are shown in microbenchmarks. Unfortunately, this bulk interface is difficult to use as it requires users to identify when it is applicable and they still "think" in terms of events, not arrays of data. We have integrated the bulk I/O interface into the new RDataFrame analysis framework inside ROOT. As RDataFrame's interface can provide improved type information, the framework itself can determine what data is readable via the bulk IO and automatically switch between interfaces. We demonstrate how this can improve event rates when reading analysis data formats, such as CMS's NanoAOD.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。