Portable Targeted Sampling Framework Using LLVM

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Qiu, Zhantong, Samani, Mahyar, Lowe-Power, Jason
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912865224491008
author Qiu, Zhantong
Samani, Mahyar
Lowe-Power, Jason
author_facet Qiu, Zhantong
Samani, Mahyar
Lowe-Power, Jason
contents Evaluating architectural ideas on realistic workloads is increasingly challenging due to the prohibitive cost of detailed simulation and the lack of portable sampling tools. Existing targeted sampling techniques are often tied to specific binaries, incur significant overhead, and make rapid validation across systems infeasible. To address these limitations, we introduce Nugget, a flexible framework that enables portable sampling across simulators, hardware, architectural differences, and libraries. Nugget leverages LLVM IR to perform binary-independent interval analysis, then generates lightweight, cross-platform executable snippets (nuggets), that can be validated natively on real hardware before use in simulation. This approach decouples samples from specific binaries, dramatically reduces analysis overhead, and allows researchers to iterate on sampling methodologies while efficiently validating samples across diverse systems.
format Preprint
id arxiv_https___arxiv_org_abs_2509_02873
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Portable Targeted Sampling Framework Using LLVM
Qiu, Zhantong
Samani, Mahyar
Lowe-Power, Jason
Hardware Architecture
Evaluating architectural ideas on realistic workloads is increasingly challenging due to the prohibitive cost of detailed simulation and the lack of portable sampling tools. Existing targeted sampling techniques are often tied to specific binaries, incur significant overhead, and make rapid validation across systems infeasible. To address these limitations, we introduce Nugget, a flexible framework that enables portable sampling across simulators, hardware, architectural differences, and libraries. Nugget leverages LLVM IR to perform binary-independent interval analysis, then generates lightweight, cross-platform executable snippets (nuggets), that can be validated natively on real hardware before use in simulation. This approach decouples samples from specific binaries, dramatically reduces analysis overhead, and allows researchers to iterate on sampling methodologies while efficiently validating samples across diverse systems.
title Portable Targeted Sampling Framework Using LLVM
topic Hardware Architecture
url https://arxiv.org/abs/2509.02873