用于C-RORC和CRU读出卡的O2通用驱动程序
The ALICE O2 common driver for the C-RORC and CRU read-out cards
摘要:
ALICE(大型离子对撞机实验)是重离子探测器,旨在研究在欧洲核子研究中心大型强子对撞机(LHC)的相对论性重离子碰撞中实现的物质的强相互作用态。计划在2019-2020年长期关闭期间对实验进行重大升级。为了应对比LHC运行1期间高100倍的数据速率以及时间投影室(TPC)的连续读出,有必要将在线和离线计算升级到称为O2的新通用系统。O2读出链将使用商品x86 Linux服务器,并配备基于FPGA的定制PCIe读出卡。本文讨论了将在O2中使用的卡的驱动程序架构:PCIe v2 x8、基于Xilinx Virtex 6的C-RORC(通用读出接收器卡)和PCIe v3 x16、基于Intel Arria 10的CRU(通用读出单元)。通过三层软件提供对PCIe卡的访问。首先,低层PCIe(PCI Express)层负责低层操作的用户空间接口,例如内存映射PCIe BAR(基址寄存器)和创建分散-聚集列表,这是由法兰克福高级研究所(FIAS)开发的PDA(便携式驱动程序架构)库提供的。在此之上是我们的用户空间驱动程序,它实现同步,控制读出卡-例如重置和配置卡,为它提供总线地址以传输数据并检查数据到达-并提供统一的高级C++接口,该接口抽象了C-RORC和CRU之间的差异。该接口主要用于高性能读出过程,允许用户配置和使用读出卡的各个方面,如配置、DMA传输和前端命令。[...]
英文摘要:
ALICE (A Large Ion Collider Experiment) is the heavy-ion detector designed to study the strongly interacting state of matter realized in relativistic heavy-ion collisions at the CERN Large Hadron Collider (LHC). A major upgrade of the experiment is planned during the 2019-2020 long shutdown. In order to cope with a data rate 100 times higher than during LHC Run 1 and with the continuous read-out of the Time Projection Chamber (TPC), it is necessary to upgrade the Online and Offline Computing to a new common system called O2 . The O2 read- out chain will use commodity x86 Linux servers equipped with custom PCIe FPGA-based read- out cards. This paper discusses the driver architecture for the cards that will be used in O2 : the PCIe v2 x8, Xilinx Virtex 6 based C-RORC (Common Readout Receiver Card) and the PCIe v3 x16, Intel Arria 10 based CRU (Common Readout Unit). Access to the PCIe cards is provided via three layers of software. Firstly, the low-level PCIe (PCI Express) layer responsible for the userspace interface for low-level operations such as memory mapping the PCIe BAR (Base Address Registers) and creating scatter-gather lists, which is provided by the PDA (Portable Driver Architecture) library developed by the Frankfurt Institute for Advanced Studies (FIAS). Above that sits our userspace driver which implements synchronization, controls the read-out card -- e.g. resetting and configuring the card, providing it with bus addresses to transfer data to and checking for data arrival -- and presents a uniform, high-level C++ interface that abstracts over the differences between the C-RORC and CRU. This interface -- of which direct usage is principally intended for high-performance read-out processes -- allows users to configure and use the various aspects of the read-out cards, such as configuration, DMA transfers and commands to the front-end. [...]
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。