• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science

Previous Articles     Next Articles

Performance analysis with Likwid
on the FT-1500A processor

PENG Lin1,FANG Jianbin1,DU Qi1,TANG Tao1,HUANG Chun1,YANG Canqun1,2   

  1. (1.College of Computer,National University of Defense Technology,Changsha 410073;
    2.National Laboratory for Parallel and Distributed Processing,
    National University of Defense Technology,Changsha 410073,China)
  • Received:2018-01-17 Revised:2018-04-02 Online:2018-07-25 Published:2018-07-25

Abstract:

We exploit a performance analysis tool Likwid on the FT-1500A processor, 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-1500A CPU. The programmers are provided with the topology information and the related summary information of FT-1500A 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.

Key words: FT-1500A processor, performance analysis tool, PMU