摘要
在飞腾1500A处理器平台对程序性能分析工具Likwid展开研究,主要研究了飞腾1500A处理器硬件拓扑信息的获取、性能监测单元PMU的访问以及性能分析工具的使用和数据分析。通过hwloc获取飞腾1500A处理器的硬件信息,给程序员提供关于飞腾1500A处理器的拓扑结构及相关概要信息;编写内核驱动模块使能飞腾1500A处理器的性能监控单元,指定事件类型,通过对应硬件计数器记录目标程序执行过程中事件发生的次数;结合简单代码和模板化的微基准测试程序,使用性能分析工具收集程序执行过程中相关数据,进行性能分析。
We exploit a performance analysis tool Likwid on the FT-1500 Aprocessor,which aims to be easy-to-use and low-overheaded.We mainly study the acquisition of hardware topology information,access to the performance monitor unit(PMU),and the use of performance analysis tools,and data analysis.The hwloc is used to get the hardware information of FT-1500 A CPU.The programmers are provided with the topology information and the related summary information of FT-1500 A multi-core CPU.The kernel drive module is written to enable the PMU.The event types are specified and the corresponding hardware counters are used to count the number of events during the execution of the target program.Based on simple codes and template micro benchmarks,performance analysis tools are used to collect data during the program execution and do the performance analysis.
作者
彭林
方建滨
杜琦
唐滔
黄春
杨灿群
PENG Lin;FANG Jian bin;DU Qi;TANG Tao;HUANG Chun;YANG Can qun(College of Computer,National University of Defense Technology,Changsha 410073;National Laboratory for Parallel and Distributed Processing,National University o{ De{ense Technology,Changsha 410073,China)
出处
《计算机工程与科学》
CSCD
北大核心
2018年第7期1147-1154,共8页
Computer Engineering & Science
基金
国家重点研发计划(2017YFB0202004)
国家自然科学基金(61602501)