北京谱仪III(BESIII)是北京正负电子对撞机II(BEPCII)上的一台大型通用磁谱仪,用于τ-粲物理实验研究。BESIII离线数据处理系统将实验获取的探测器原始数据转换为适合于物理分析的数据。主要研究了BESIII实验数据的并行计算处理。针对目前计算机的多核CPU硬件结构,采用多线程编程技术,实现了BESIII离线数据处理事例级别的多线程并行计算。性能测试表明多线程并行处理能够有效地提高运算速度,同时减少内存消耗。
The Beijing Spectrometer III (BESIII) is a general -purpose detector at Beijing Electron Positron Collider II (BEPCII) for the -τ - charm physics study. The raw data from detector is processed by the offline data processing system to produce the data suitable for physics analysis. It mainly studies the parallel processing of the BESIII experimental data. In order to benefit from the multi - core CPU architecture, we have developed software for parallel data processing at event level by using multi - threading techniques. The performance tests show that the implementation of multi - threaded parallel processing can significantly improve program's running speed with more efficient usage of memory.