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

针对冗余零的跨平台细粒度性能分析技术

  • Beihang University
  • Beijing Simulation Center

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

摘要

Software inefficiencies caused by redundant zeros will introduce massive zero values to be loaded or used for trivial computation, which significantly wastes memory and compute resources. However, the compiler toolchain still cannot effectively identify the redundant operations dealing with zeros and hardware optimizations handling redundant zeros have not been adopted in commercial hardware yet. Although ZeroSpy can detect the existence of redundant zero buried within software and report sufficient information for performance optimization, its detection is still limited in Intel platform as well as its large overhead. Therefore, we propose a cross-platform tool DrZero to overcome these limitations. DrZero can detect redundant zeros in both x86 and ARM platforms and it implements novel online analysis based on buffered tracing for lower overhead. For ARM platform, we propose floating-point estimation via dataflow analysis to estimate the data type of a memory operand for further detection. The evaluation results demonstrate that DrZero can detect redundant zeros with code-centric, data-centric analysis on both x86 and ARM platforms with 45.31×, 54.20× and 14.12×, 13.40× performance overheads, respectively. Besides, DrZero incurs 37.2% and 55.8% lower time overheads than ZeroSpy with code-centric and data-centric analysis on the x86 platform, respectively. Based on the optimization guidance revealed by DrZero, we can achieve 1.76× and 2.12× speedups at maximum on both x86 and ARM platforms after eliminating redundant zeros for evaluated applications. DrZero is open-source at https://github.com/buaa-hipo/zerospy-drcctprof.

投稿的翻译标题A Cross-Platform Fine-Grained Performance Analysis Technique for Redundant Zeros
源语言繁体中文
页(从-至)1164-1176
页数13
期刊Jisuanji Yanjiu yu Fazhan/Computer Research and Development
60
5
DOI
出版状态已出版 - 2023

关键词

  • binary instrumentation
  • cross-platform
  • performance analysis and optimization
  • redundant zero
  • software inefficiency

学术指纹

探究 '针对冗余零的跨平台细粒度性能分析技术' 的科研主题。它们共同构成独一无二的学术指纹。

引用此