TrivialSpy: Identifying Software Triviality via Fine-grained and Dataflow-based Value Profiling

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Trivial operations cause software inefficiencies that waste functional units and memory bandwidth for executing useless instructions. Although previous works have identified a significant amount of trivial operations in widely used programs, the proposed solutions only provide useful observations, other than actionable guid-ance to eliminate trivial operations for better performance. In this paper, we propose TrivialSpy - a fine-grained and dataflow-based value profiler to effectively identify software triviality with optimization potential estimation. With the help of dataflow analysis, TrivialSpy can detect software trivialities of heavy operation, triv-ial chain, and redundant backward slice. In addition, TrivialSpy can identify trivial breakpoints that combine multiple trivial conditions for more optimization opportunities. The evaluation results demonstrate TrivialSpy is capable of identifying software triviality in highly optimized programs. Based on the optimization guid-ance provided by TrivialSpy, we can achieve 52.09% performance speedup at maximum after eliminating trivial operations.

Original languageEnglish
Title of host publicationSC 2023 - International Conference for High Performance Computing, Networking, Storage and Analysis
PublisherIEEE Computer Society
ISBN (Electronic)9798400701092
DOIs
StatePublished - 2023
Event2023 International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2023 - Denver, United States
Duration: 12 Nov 202317 Nov 2023

Publication series

NameInternational Conference for High Performance Computing, Networking, Storage and Analysis, SC
ISSN (Print)2167-4329
ISSN (Electronic)2167-4337

Conference

Conference2023 International Conference for High Performance Computing, Networking, Storage and Analysis, SC 2023
Country/TerritoryUnited States
CityDenver
Period12/11/2317/11/23

Keywords

  • Dynamic Binary Instrumentation
  • Performance Analysis
  • Performance Optimization
  • Software Triviality

Fingerprint

Dive into the research topics of 'TrivialSpy: Identifying Software Triviality via Fine-grained and Dataflow-based Value Profiling'. Together they form a unique fingerprint.

Cite this