Skip to content

CW-Ghost: Search-Free Granularity Selection for Helper-Thread Prefetching via Capacity Windows

Jul 2026 · arXiv.org · Vol abs/2607.25363 · 0 citations · 25 references
Computer Science

TL;DR

CW-Ghost, which uses a single offline profiling run to estimate the average demand cache line fill volume generated per target iteration in a target region, and derives a Capacity Window, which determines the iteration granularity of each prefetch chunk, demonstrates that cache capacity constraints can effectively guide the selection of granularity for helper-thread prefetching.

Abstract

Helper-thread prefetching hides the latency of irregular memory accesses by executing address dependency chains ahead of the main thread. However, its effectiveness depends on the range of future iterations covered by the helper thread. A fixed coverage range cannot consistently accommodate different workloads and processors, whereas exhaustively evaluating candidate configurations incurs substantial configuration cost. This paper presents CW-Ghost, which uses a single offline profiling run to estimate the average demand cache line fill volume generated per target iteration in a target region. CW-Ghost combines this estimate with a cache capacity budget to derive a Capacity Window, which determines the iteration granularity of each prefetch chunk. In addition, bounded chunk-level synchronization limits the number of chunks by which the helper thread may run ahead of the main thread. Across 14 workload instances evaluated on Intel and AMD CPU platforms, CW-Ghost achieves geometric mean speedups of 1.54x and 1.33x, respectively, over the original programs. Compared with Ghost Threading, it improves geometric mean performance by 15.8% and 10.8%, respectively, while achieving more than 99% of the empirically optimal performance within the candidate set on both platforms. These results demonstrate that cache capacity constraints can effectively guide the selection of granularity for helper-thread prefetching.

View source

Similar papers

Open access Sep 2026

STATE-AWARE PREFETCHING AND CACHE POLICIES FOR LATENCY-OPTIMIZED WEB EXPERIENCES

Modern web applications demand sustained low latency under workloads that shift across users, devices, sessions, and network conditions. Classical cache replacement policies such as Least Recently Used (LRU) and Least Frequently Used (LFU) treat every cached object identically and ignore the cost-of-miss heterogeneity...

Akshatha Madapura Anantharamu · 0 citations
Book Open access Sep 2026

BASIC-Prefetcher: Bin-based Address and Size-Informed Caching for AI-Driven SSD Workloads

The BASIC Prefetcher is proposed, which recovers application-level I/O patterns by classifying requests into size-based bins and modeling temporal bin transitions with a lightweight Markov-chain framework and achieves up to 89% prediction accuracy on sequential workloads and 70% on highly random workloads, including AI...

Han Jang, Dongjun Lee, Youngbin Jin et al. · 0 citations
Book Open access Sep 2026

PINCH: Predictive Importance-Sampling-Informed Cache for I/O-Bound DNN Training

Pinch, a cache middleware that decouples clairvoyant and importance sampling at the granularity of a planning horizon, enabling planned cache retention and bounded prefetch on DNN training on large datasets.

Yu-Chen Liu, Shu Yin · 0 citations
#artificial intelligence Preprint Sep 2026

Where Should the KV Cache Live? Placement Policies Across GPU, CPU, and SSD for Long-Lived Sessions

This work compares recency, reuse frequency, predicted reuse, and an EWMA predictor with prefetch lookahead across chat, agent, and document question answering workloads, and concludes that reuse frequency performs best for agents and document question answering and prefetching does not justify its bandwidth cost.

Srikanta Datta Tumkur, Jay Iyer, Mehar Simhadri et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.