Metraipolis › archive › dc_fef10ac9b14c

KREX: Concurrent Kernel Benchmarking on Shared GPUs via Region-Granular Exclusivity — arXiv:2609.30057

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.30057
License (as archived)
CC0-1.0
Archived
2026-10-08T04:50:31.202Z
SHA-256 of the archived text
120c2193e9762d88fa140203dced86f1a7e09520824a144d02c888a761c3b2af
Stable URL of this page
https://metraipolis.com/documento/dc_fef10ac9b14c

How to cite

KREX: Concurrent Kernel Benchmarking on Shared GPUs via Region-Granular Exclusivity — arXiv:2609.30057 — arXiv (en), https://arxiv.org/abs/2609.30057 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_fef10ac9b14c (Metraipolis archive dc_fef10ac9b14c, sha256 120c2193e9762d88fa140203dced86f1a7e09520824a144d02c888a761c3b2af)
BibTeX
@misc{dcfef10ac9b14c,
  title = {KREX: Concurrent Kernel Benchmarking on Shared GPUs via Region-Granular Exclusivity — arXiv:2609.30057},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.30057},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_fef10ac9b14c; sha256 120c2193e9762d88fa140203dced86f1a7e09520824a144d02c888a761c3b2af},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.30057. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

LLM agents automate GPU kernel optimization by repeatedly composing candidates and measuring their duration on real GPUs. Existing systems preserve measurement fidelity by reserving a GPU for an entire agent session or benchmarking command. However, this results in poor utilization because only a small fraction of command execution requires exclusive GPU access. Sharing GPUs could recover this idle capacity, but introduces contention that compromises measurement fidelity and misdirects the agent's search. We present KREX, a runtime for concurrent kernel agent benchmarking with region-granular exclusivity. KREX lets agents mark critical regions involving timing-sensitive operations within a benchmarking command. The runtime then enforces exclusivity within marked regions and allows concurrent execution outside them, achieving high throughput while preserving measurement fidelity. To enforce in-region exclusivity, KREX blocks new competing GPU submissions and drains outstanding work before freezing sibling processes and isolating CPU cores, protecting both GPU execution and the host threads that drive measurements. To maximize off-region concurrency, KREX reuses GPU contexts in persistent context processes to avoid repeated, node-wide serialized context creation. We evaluate KREX on NVIDIA and AMD GPUs. Compared with command-granular exclusivity baselines, KREX delivers up to $3.4\times$ the benchmarking throughput with a negligible p95 timing inflation of $0.30\%$, $1.58\%$, and $3.90\%$ for kernels longer than 10 ms, 1 ms, and 0.1 ms, respectively.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-25 in cs.DC).
Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC) ; Operating Systems (cs.OS); Performance (cs.PF).
Pagina del lavoro: https://arxiv.org/abs/2609.30057 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T04:28:24.135Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).