TL;DR
SysLLMatic leverages Large Language Models, performance diagnostics, and a curated pattern catalog to automatically optimize complex software systems, surpassing traditional methods and prior LLM approaches.
Contribution
Introduces SysLLMatic, a novel system integrating LLMs with diagnostics and optimization patterns to scale software system optimization beyond simple programs.
Findings
Achieves average 1.54x latency improvement over compiler optimization.
Surpasses state-of-the-art LLM baselines on microbenchmarks.
Improves energy efficiency and resource utilization in real-world applications.
Abstract
Automatic software system optimization can improve software speed, reduce operating costs, and save energy. Traditional approaches to optimization rely on manual tuning and compiler heuristics, limiting their ability to generalize across diverse codebases and system contexts. Recent methods using Large Language Models (LLMs) introduce automation on simple programs, but they do not scale effectively to the complexity and size of real-world software systems. We present SysLLMatic, a system that integrates LLMs with performance diagnostics and a curated catalog of 43 optimization patterns to automatically optimize software systems. By leveraging profiling to identify performance hotspots, our approach enables LLMs to optimize real-world software beyond isolated code snippets. We evaluate it on three benchmark suites: HumanEval_CPP (competitive programming in C++), SciMark2 (scientific…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
