逯海涛,任翔,钟伟军,等.CPUBench: 一款开放的通用计算CPU性能基准工具[J]. 微电子学与计算机,2023,40(5):75-83. doi: 10.19304/J.ISSN1000-7180.2022.0469
引用本文: 逯海涛,任翔,钟伟军,等.CPUBench: 一款开放的通用计算CPU性能基准工具[J]. 微电子学与计算机,2023,40(5):75-83. doi: 10.19304/J.ISSN1000-7180.2022.0469
LU H T,REN X,ZHONG W J,et al. CPUBench: An open general computing CPU performance benchmark tool[J]. Microelectronics & Computer,2023,40(5):75-83. doi: 10.19304/J.ISSN1000-7180.2022.0469
Citation: LU H T,REN X,ZHONG W J,et al. CPUBench: An open general computing CPU performance benchmark tool[J]. Microelectronics & Computer,2023,40(5):75-83. doi: 10.19304/J.ISSN1000-7180.2022.0469

CPUBench: 一款开放的通用计算CPU性能基准工具

CPUBench: An open general computing CPU performance benchmark tool

  • 摘要: 计算产品性能基准工具是支撑计算产品性能迭代优化和牵引计算产业能力提升的重要保障.为弥补当前国内CPU性能评测基准工具的空白,开发了CPUBench,定位于对通用计算场景下的CPU、内存子系统以及所依赖的编译器进行综合计算能力评估. CPUBench测试框架采用Python语言开发,模块化设计,兼容x86_64、aarch64、ppc64le、sw_64和loongarch64等多种CPU架构. 测试负载来源于各领域典型业务场景的计算密集型应用,具有良好的实际业务代表性,从指令比例、Top-down等架构相关或无关特征看,负载之间特征差异明显,整个测试套件的特征覆盖广,能够充分代表目前通用计算场景下的实际业务特征.同时通过PCA分析方法对比CPUBench和SPEC CPU2017在相同测试环境上的微架构特征,CPUBench基本覆盖SPEC CPU2017的特征类,并增加了大数据、数据库等新型应用的特征.此外,在14个不同的被测平台上对CPUBench和SPEC CPU2017两款工具进行了测试比较,测试分数曲线显示出良好的趋势一致性,间接证明CPUBench作为一款通用计算CPU性能评测基准工具的可用性与合理性.总体上,CPUBench在业务代表性、易用性、易维护性等方面具备一定的优势,可用于指导通用计算CPU、服务器等计算产品的设计优化、规格选型和市场采购等工作,对计算产业的发展具有重要的牵引意义.

     

    Abstract: The computing product performance benchmark tool is an important guarantee to support the iterative optimization of computing product performance and improve the capability of the computing industry. In order to fill the gap in the current domestic CPU performance evaluation benchmark tool, CPUBench is developed, which is positioned to evaluate the comprehensive computing capacity of the CPU, memory subsystem and the compiler under the general computing scenario. The framework of CPUBench is developed by Python, modular design, and compatible with x86_64, aarch64, ppc64le, sw_64, loongarch64 and other pocessor architectures. The workloads comes from the computing intensive applications of typical business scenarios in various fields, and has a good representation of the actual business. From the perspective of architecture related or irrelevant characteristics such as instruction proportion and top-down, the characteristics of the workloads are obviously different. The characteristics of the whole test suite cover a wide range, and can fully represent the actual business characteristics under the current general computing scenario. At the same time, the microarchitecture characteristics of CPUBench and SPEC CPU2017 on the same test environment are compared by PCA analysis method.CPUBench basically covers the characteristic classes of SPEC CPU2017, and adds the characteristics of new applications such as big data and database.In addition, CPUBench and SPEC CPU2017 were tested and compared on 14 different tested platforms, and the score curve showed good trend consistency, indirectly proving the availability and rationality of CPUBench as a general CPU evaluation tool.In general, CPUBench has certain advantages in business representativeness, ease of use and maintainability, which can be used to guide the design optimization, specification selection and market procurement of general computing CPU, server and other computing product, and has important guiding significance for the development of the computing industry.

     

/

返回文章
返回