基于LLVM的便携式定向采样框架
Portable Targeted Sampling Framework Using LLVM
AI总结:
Nugget通过LLVM IR实现二进制无关的区间分析,生成可移植的轻量级可执行片段,实现跨平台高效采样验证。
摘要:
在现实工作负载上评估架构思想越来越具有挑战性,因为详细模拟的成本高昂且缺乏可移植的采样工具。现有的定向采样技术通常与特定二进制文件绑定,产生显著的开销,并且在系统间快速验证不可行。为了解决这些限制,我们引入了Nugget,一个灵活的框架,能够跨模拟器、硬件、架构差异和库进行便携式采样。Nugget利用LLVM IR进行二进制无关的区间分析,然后生成轻量级、跨平台的可执行片段(nuggets),这些片段可以在真实硬件上原生验证后再用于模拟。这种方法将样本与特定二进制文件解耦,大幅减少了分析开销,并允许研究人员在不同系统上高效验证样本的同时迭代采样方法。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。