ShadowBinding:实现核内安全推测方案的有效微架构
ShadowBinding: Realizing Effective Microarchitectures for In-Core Secure Speculation Schemes
AI总结:
ShadowBinding为STT和NDA两种安全推测方案设计了有效微架构,提出STT-Issue通过延迟污点计算到发射阶段消除依赖链,并在RISC-V平台上评估了核内安全方案的IPC与时序性能损失。
摘要:
安全推测方案在对抗推测侧信道攻击的战争中展现出巨大前景,并将成为未来开发安全、高性能架构的关键构建模块。随着该领域逐渐成熟,对严格微架构以及相应性能和成本分析的需求变得至关重要,这既有助于评估安全方案,也有助于推动其未来采用。在ShadowBinding中,我们为两种最先进的安全方案提出了有效的微架构,揭示并缓解了所分析方案中的根本性微架构限制,并提供了重要的设计特征。我们发现,Speculative Taint Tracking(STT)基于重命名的污点计算必须在单个周期内完成,从而形成了一条代价高昂的依赖链,极大地限制了更宽处理器核心的性能。我们还为STT引入了一种新颖的微架构方法,命名为STT-Issue,该方法通过将污点计算延迟到发射阶段,消除了依赖链,从而在每周期指令数(IPC)、时序、面积和性能结果方面取得了更好的表现。通过在RISC-V Berkeley Out-of-Order Machine上对我们的STT和Non-Speculative Data Access(NDA)微架构设计进行全面评估,我们发现核内安全方案对IPC的影响高于此前估计,对于最高性能核心接近20%。结合我们RTL评估中的时序洞察,由IPC和时序共同影响造成的性能损失甚至更大,STT-Rename、STT-Issue和NDA分别为35%、27%和22%。如果这些趋势在领先的处理器核心设计中持续存在,那么即使对于性能最佳的方案,性能影响也将远超30%。
英文摘要:
Secure speculation schemes have shown great promise in the war against speculative side-channel attacks, and will be a key building block for developing secure, high-performance architectures moving forward. As the field matures, the need for rigorous microarchitectures, and corresponding performance and cost analysis, become critical for evaluating secure schemes and for enabling their future adoption. In ShadowBinding, we present effective microarchitectures for two state-of-the-art secure schemes, uncovering and mitigating fundamental microarchitectural limitations within the analyzed schemes, and provide important design characteristics. We uncover that Speculative Taint Tracking's (STT's) rename-based taint computation must be completed in a single cycle, creating an expensive dependency chain which greatly limits performance for wider processor cores. We also introduce a novel michroarchitectural approach for STT, named STT-Issue, which, by delaying the taint computation to the issue stage, eliminates the dependency chain, achieving better instructions per cycle (IPC), timing, area, and performance results. Through a comprehensive evaluation of our STT and Non-Speculative Data Access (NDA) microarchitectural designs on the RISC-V Berkeley Out-of-Order Machine, we find that the IPC impact of in-core secure schemes is higher than previously estimated, close to 20% for the highest performance core. With insights into timing from our RTL evaluation, the performance loss, created by the combined impact of IPC and timing, becomes even greater, at 35%, 27%, and 22% for STT-Rename, STT-Issue, and NDA, respectively. If these trends were to hold for leading processor core designs, the performance impact would be well over 30%, even for the best-performing scheme.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。