EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

PROMPT: A Fast and Extensible Memory Profiling Framework

Ziyang Xu, Yebin Chon, Yian Su, Zujun Tan, Sotiris Apostolakis, Simone Campanoni, David I. August

Proceedings of the ACM on Programming Languages · 29.04.2024 · 8 (OOPSLA1) · 449-473

DOI: 10.1145/3649827 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Programming Languages, online erschienen am 29.04.2024. Verfasst von Ziyang Xu und 6 weiteren Autor:innen. Die Arbeit wurde bisher 7-mal zitiert (Crossref) und nennt 58 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: NSF, DOE U.S. Department of Energy.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Memory profiling captures programs’ dynamic memory behavior, assisting programmers in debugging, tuning, and enabling advanced compiler optimizations like speculation-based automatic parallelization. As each use case demands its unique program trace summary, various memory profiler types have been developed. Yet, designing practical memory profilers often requires extensive compiler expertise, adeptness in program optimization, and significant implementation effort. This often results in a void where aspirations for fast and robust profilers remain unfulfilled. To bridge this gap, this paper presents PROMPT, a framework for streamlined development of fast memory profilers. With PROMPT, developers need only specify profiling events and define the core profiling logic, bypassing the complexities of custom instrumentation and intricate memory profiling components and optimizations. Two state-of-the-art memory profilers were ported with PROMPT where all features preserved. By focusing on the core profiling logic, the code was reduced by more than 65% and the profiling overhead was improved by 5.3× and 7.1× respectively. To further underscore PROMPT’s impact, a tailored memory profiling workflow was constructed for a sophisticated compiler optimization client. In 570 lines of code, this redesigned workflow satisfies the client’s memory profiling needs while achieving more than 90% reduction in profiling overhead and improved robustness compared to the original profilers.

Förderung

  • NSF
  • DOE U.S. Department of Energy

Zitieren

APA

Xu, Z., Chon, Y., Su, Y., Tan, Z., Apostolakis, S., Campanoni, S., & August, D. I. (2024). PROMPT: A Fast and Extensible Memory Profiling Framework. Proceedings of the ACM on Programming Languages, 8(OOPSLA1), 449-473. https://doi.org/10.1145/3649827

Vancouver

Xu Z, Chon Y, Su Y, Tan Z, Apostolakis S, Campanoni S, et al. PROMPT: A Fast and Extensible Memory Profiling Framework. Proceedings of the ACM on Programming Languages. 2024;8(OOPSLA1):449-473. doi:10.1145/3649827

BibTeX
@article{Xu2024,
  author = {Xu, Ziyang and Chon, Yebin and Su, Yian and Tan, Zujun and Apostolakis, Sotiris and Campanoni, Simone and August, David I.},
  title = {PROMPT: A Fast and Extensible Memory Profiling Framework},
  journal = {Proceedings of the ACM on Programming Languages},
  year = {2024},
  volume = {8},
  number = {OOPSLA1},
  pages = {449--473},
  doi = {10.1145/3649827}
}
Kostenlos starten →