跳到主要导航 跳到搜索 跳到主要内容

Efficient Cross-platform Multiplexing of Hardware Performance Counters via Adaptive Grouping

  • East China Normal University

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

Collecting sufficient microarchitecture performance data is essential for performance evaluation and workload characterization. There are many events to be monitored in a modern processor while only a few hardware performance monitoring counters (PMCs) can be used, so multiplexing is commonly adopted. However, inefficiency commonly exists in state-of-the-art profiling tools when grouping events for multiplexing PMCs. It has the risk of inaccurate measurement and misleading analysis. Commercial tools can leverage PMCs, but they are closed source and only support their specified platforms. To this end, we propose an approach for efficient cross-platform microarchitecture performance measurement via adaptive grouping, aiming to improve the metrics’ sampling ratios. The approach generates event groups based on the number of available PMCs detected on arbitrary machines while avoiding the scheduling pitfall of Linux perf_event subsystem. We evaluate our approach with SPEC CPU 2017 on four mainstream x86-64 and AArch64 processors and conduct comparative analyses of efficiency with two other state-of-the-art tools, LIKWID and ARM Top-down Tool. The experimental results indicate that our approach gains around 50% improvement in the average sampling ratio of metrics without compromising the correctness and reliability.

源语言英语
期刊论文编号8
期刊ACM Transactions on Architecture and Code Optimization
卷21
期1
DOI
出版状态已出版 - 19 1月 2024

学术指纹

探究 'Efficient Cross-platform Multiplexing of Hardware Performance Counters via Adaptive Grouping' 的科研主题。它们共同构成独一无二的学术指纹。

引用此