一句话:提出软硬件协同的 SUIT,用指令陷阱与双 DVFS 曲线在几乎不损失安全性的前提下降低降压安全裕量。
现代 CPU 为能效动态调压调频,但电压过低会引发安全关键错误,厂商只能保留较大安全裕量,带来能耗开销。论文观察到不同指令对降压故障敏感度不同,且多数可故障指令实际很少执行。SUIT 采用双 DVFS 曲线:对频繁可故障指令在硬件上静态放松关键路径,使其在高效曲线上不再故障但增加该指令性能开销;对不频繁可故障指令引入陷阱,阻止其在高效曲线上执行,临时切换到保守曲线,并在一定时间内未执行可故障指令后切回。作者在真实硬件和模拟上评估各组件,SPEC CPU2017 上性能开销 3.79%,CPU 能效平均提升 20.8%。
Modern CPUs dynamically scale voltage and frequency for efficiency. However, too low voltages can result in security-critical errors. Hence, vendors use a generous safety margin to avoid errors at the cost of higher energy overheads. In this work, we present SUIT, a novel hardware-software co-design to reduce the safety margin substantially without compromising reliability or security. We observe that not all instructions are equally affected by undervolting faults and that most faultable instructions are infrequent in practice. Hence, SUIT addresses infrequent faultable instructions via two separate DVFS curves, a conservative and an efficient one. For frequent faultable instructions, SUIT statically relaxes the critical path in hardware. Consequently, the instruction is not faultable anymore on the efficient DVFS curve at the cost of performance overheads for this specific instruction. For infrequent faultable instructions, SUIT introduces a trap mechanism preventing execution on the efficient curve. With this trap mechanism, SUIT temporarily switches to the conservative DVFS curve and switches back if no faultable instruction was executed within a certain time frame. We evaluate all building blocks of SUIT, using both measurements on real hardware and simulations, showing a performance overhead of 3.79%, and a CPU efficiency gain of 20.8% on average on SPEC CPU2017.