arrow
Return

CacheC: LLM-Based GPU Cache Management to Enhance Kernel Concurrency

delete2026-01-01
delete0
PRE
AI
M
Mengyue Xi
J
Jingyi He
X
Xianwei Zhang *
DOI:10.1007/978-3-031-99857-7_9delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Each new generation of GPUs significantly enhances the resources available for diverseGPGPU applications, with kernel concurrency playing a crucial role in maximizing utilization and boosting performance. However, existing kernel concurrency strategies usually tend to neglect cache contention, where concurrent kernels potentially target the same cache levels. Traditional cache management methods are inadequate for addressing this issue, as they focus on individual kernels without heavily considering inter-kernel interactions. To overcome these challenges, we propose CacheC, a method that utilizes large language models (LLMs) to analyze cache affinity at the granularity of individual load instructions. For each kernel pair, CacheC extracts detailed features of all loads, evaluates their cache affinity across levels, and scores their suitability for concurrency. Based on these scores, CacheC not only selects kernel pairs with appropriateoptimal cache compatibility but also formulates load-specific cache bypassing strategies to enhance utilization. By iteratively scheduling kernel pairs and adjusting their cache policies, CacheC dynamically optimizes cache utilization and reduces cache contention during concurrent kernel execution. Experiments on off-theshelf GPUs demonstrate that CacheC achieves a 19.67% reduction in turnaround time and a 24.48% improvement in throughput. It also delivers an average speedup of 1.337.x across scheduled kernel pairs, showcasing its effectiveness in alleviating cache contention and enhancing kernel concurrency performance.
Keywords:
GPU cache management
Concurrent kernel execution
Kernel pairing
Large language models

Journal

E
EURO-PAR 2025: PARALLEL PROCESSING, PT II
IF:
0
Papers:
24
Citations:
0

Organization

S
Sun Yat sen University
Scholars:
7.7K
Papers: 2.0K
Citations: 1.8W
Cited Papers

Cited Papers

errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Aggressive GPU cache bypassing with monolithic 3D-based NoC
err2023-03-01
err0
PREAI
errDo,Cong Thuan; Kim,Cheol Hong; Chung,Sung Woo
errShare
errSave
cCUDA: Effective Co-Scheduling of Concurrent Kernels on GPUs
err2020-04-01
err12
PREAI
errShekofteh, S. -Kazem; Noori, Hamid; Naghibzadeh, Mahmoud; Froning, Holger; Yazdi, Hadi Sadoghi
errShare
errSave
A Survey on Large Language Models: Applications, Challenges, Limitations, and Practical Usage
err
IF0
err2023-07-10
err0
errOAAI
errMuhammad Usman Hadi; qasem al tashi; Rizwan Qureshi; Abbas Shah; amgad muneer; Muhammad Irfan; Anas Zafar; Muhammad Bilal Shaikh; Naveed Akhtar; Jia Wu; Seyedali Mirjalili
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
researcher View more