【24h】

Computer performance microscopy with Shim

机译:电脑性能显微镜与垫片

获取原文

摘要

Developers and architects spend a lot of time trying to understand and eliminate performance problems. Unfortunately, the root causes of many problems occur at a fine granularity that existing continuous profiling and direct measurement approaches cannot observe. This paper presents the design and implementation of Shim, a continuous profiler that samples at resolutions as fine as 15 cycles; three to five orders of magnitude finer than current continuous profilers. Shim's fine-grain measurements reveal new behaviors, such as variations in instructions per cycle (IPC) within the execution of a single function. A Shim observer thread executes and samples autonomously on unutilized hardware. To sample, it reads hardware performance counters and memory locations that store software state. Shim improves its accuracy by automatically detecting and discarding samples affected by measurement skew. We measure Shim's observer effects and show how to analyze them. When on a separate core, Shim can continuously observe one software signal with a 2% overhead at a ~1200 cycle resolution. At an overhead of 61%, Shim samples one software signal on the same core with SMT at a ~15 cycle resolution. Modest hardware changes could significantly reduce overheads and add greater analytical capability to Shim. We vary prefetching and DVFS policies in case studies that show the diagnostic power of fine-grain IPC and memory bandwidth results. By repurposing existing hardware, we deliver a practical tool for fine-grain performance microscopy for developers and architects.
机译:开发人员和建筑师花了很多时间试图理解和消除性能问题。遗憾的是,许多问题的根本原因发生在细粒度下,即现有的连续分析和直接测量方法无法观察到。本文介绍了垫片的设计和实施,连续分析器,在分辨率上以较好的方式样品为15个循环;比目前的连续分布商更精细的三到五个数量级。垫片的细粒度测量揭示了新行为,例如每周期(IPC)的指令的变化,在单个函数的情况下。垫片观察线程在未自由的硬件上自主地执行和样品。要示例,它读取存储软件状态的硬件性能计数器和内存位置。垫片通过自动检测和丢弃受测量偏差影响的样本来提高其准确性。我们测量垫片的观察者效果,并展示如何分析它们。在单独的核心时,垫片可以在〜1200周期分辨率下连续地观察一个具有2%开销的一个软件信号。在61%的开销中,垫片以〜15个循环分辨率的SMT在同一核心上的一个软件信号。适度的硬件变化可能会显着降低开销并增加垫片的更大的分析能力。在案例研究中,我们可以改变预取和DVFS策略,显示细粒IPC和内存带宽结果的诊断功能。通过重新估算现有硬件,我们为开发人员和建筑师提供了一种实用的细粒性能显微镜工具。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号