Litcius/Paper detail

ZeroSpy: Exploring Software Inefficiency with Redundant Zeros

Xin You, Hailong Yang, Zhongzhi Luan, Depei Qian, Xu Liu

202014 citationsDOI

Abstract

Redundant zeros cause inefficiencies in which the zero values are loaded and computed repeatedly, resulting in unnecessary memory traffic and identity computation that waste memory bandwidth and CPU resources. optimizing compilers is difficult in eliminating these zero-related inefficiencies due to limitations in static analysis. Hardware approaches, in contrast, optimize inefficiencies without code modification, but are not widely adopted in commodity processors. In this paper, we propose ZeroSpy - a fine-grained profiler to identify redundant zeros caused by both inappropriate use of data structures and useless computation. ZeroSpy also provides intuitive optimization guidance by revealing the locations where the redundant zeros happen in source lines and calling contexts. The experimental results demonstrate ZeroSpy is capable of identifying redundant zeros in programs that have been highly optimized for years. Based on the optimization guidance revealed by ZeroSpy, we can achieve significant speedups after eliminating redundant zeros.

Topics & Concepts

CompilerComputer scienceComputationInefficiencyParallel computingBandwidth (computing)SoftwareOptimizing compilerPerformance tuningComputer engineeringAlgorithmOperating systemComputer networkMicroeconomicsEconomicsParallel Computing and Optimization TechniquesRadiation Effects in ElectronicsSecurity and Verification in Computing
ZeroSpy: Exploring Software Inefficiency with Redundant Zeros | Litcius