Reproduce “Cuttlefish: Library for Achieving Energy Efficiency in Multicore Parallel Programs” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Sunil Kumar, Akshat Gupta, Vivek Kumar, Sridutt Bhalachandra
A C/C++ library named Cuttlefish enables dynamic energy efficiency in multicore parallel programs by adaptively scaling both core and uncore frequencies on Intel processors based on real-time memory access patterns. This online approach, which does not require prior training, reduced energy consumption by a geometric mean of 19.4% with a 3.6% slowdown and 16.5% EDP savings across a diverse set of OpenMP benchmarks.
Key insights
- An application's Memory Access Pattern (MAP), measured by TOR Inserts per Instruction (TIPI), directly correlates with its energy efficiency (Joules per Instruction) and can be leveraged to dynamically tune core and uncore frequencies.
- Compute-bound workloads achieve optimal energy efficiency with high core frequencies and low uncore frequencies, while memory-bound workloads benefit from lower core frequencies and optimized/higher uncore frequencies.
- Dynamic online profiling via Model-Specific Registers (MSRs) enables adaptive frequency scaling across diverse workloads and programming models without the need for prior training or application-specific profiling.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.