Lune

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 Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. 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
  2. TypeCraft: A Lightweight Data Type Profiler with High ResolutionZecheng Li, Xu Liu, Namhyung Kim, Blake Jones et al.OSDI 2026

Related papers

  1. Zero-Value Code Specialization via Profile-Guided Control Data Flow AnalysisShaokang Du, Kelun Lei, Xin You, Hailong Yang et al.SC 2025 · 1 citation
  2. 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
  3. RedSan: A Redundant Memory Instruction Sanitizer for GPU ProgramsYanbo Zhao, Yueming Hao, Zecheng Li, Shuyin Jiao et al.SC 2025 · 1 citation
  4. The Sparsity-Aware LazyGPU ArchitectureChangxi Liu, Miao Yu, Yifan Sun, Trevor E. CarlsonISCA 2025 · 1 citation
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines