SC2020Top-tier venue
ZeroSpy: exploring software inefficiency with redundant zeros
Xin You, Hailong Yang, Zhongzhi Luan, Depei Qian, Xu Liu
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.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers2
- Extending the limit of molecular dynamics with ab initio accuracy to 10 billion atomsZhuoqiang Guo, Denghui Lu, Yujin Yan, Siyu Hu et al.PPoPP 2022 · 50 citations
- TypeCraft: A Lightweight Data Type Profiler with High ResolutionZecheng Li, Xu Liu, Namhyung Kim, Blake Jones et al.OSDI 2026
Related papers
- Zero-Value Code Specialization via Profile-Guided Control Data Flow AnalysisShaokang Du, Kelun Lei, Xin You, Hailong Yang et al.SC 2025 · 1 citation
- TrivialSpy: Identifying Software Triviality via Fine-grained and Dataflow-based Value ProfilingXin You, Hailong Yang, Kelun Lei, Zhongzhi Luan et al.SC 2023 · 5 citations
- RedSan: A Redundant Memory Instruction Sanitizer for GPU ProgramsYanbo Zhao, Yueming Hao, Zecheng Li, Shuyin Jiao et al.SC 2025 · 1 citation
- The Sparsity-Aware LazyGPU ArchitectureChangxi Liu, Miao Yu, Yifan Sun, Trevor E. CarlsonISCA 2025 · 1 citation
- GRAPHSPY: Fused Program Semantic Embedding through Graph Neural Networks for Memory EfficiencyYixin Guo, Pengcheng Li, Yingwei Luo, Xiaolin Wang et al.DAC 2021 · 8 citations
