arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.11786cs.CR
收藏

ARM MTE性能的实际表现(扩展版)

ARM MTE Performance in Practice (Extended Version)

UT Austin(德克萨斯大学奥斯汀分校);UC Berkeley(加州大学伯克利分校);Google(谷歌);Ampere Computing(安培计算)

Taehyun Noh, Yingchen Wang, Tal Garfinkel, Mahesh Madhav, Daniel Moghimi, Mattan Erez, Shravan Narayan

AI总结:

本文分析了ARM MTE在不同微架构上的性能表现,探讨了其在内存安全和安全应用中的优劣势及未来改进方向。

摘要:

我们对ARM MTE硬件性能进行了首次全面分析,涵盖了四种不同的微架构:Google Pixel 8和9上的ARM Big(A7x)、Little(A5x)和Performance(Cortex-X)核心,以及Ampere Computing的AmpereOne CPU核心。我们还包含了初步分析MTE在Apple M5芯片上的表现。我们调查了MTE的主要应用——概率性内存安全——在SPEC CPU基准测试和服务器工作负载如RocksDB、Nginx、PostgreSQL和Memcached中的性能。虽然MTE通常表现出适度的开销,但我们也在某些基准测试中观察到性能下降高达6.64倍。我们识别了这些开销的微架构原因,并指出未来处理器中可以解决的地方。然后我们分析了MTE在更专门的安全应用中的性能,如内存追踪、时间检查时间使用预防、沙盒和控制流完整性。在某些情况下,MTE今天提供了显著优势,而在其他情况下,好处则微不足道或取决于未来硬件。最后,我们探讨了以往研究MTE性能的工作在方法学或实验错误方面要么不完整或错误。

英文摘要:

We present the first comprehensive analysis of ARM MTE hardware performance on four different microarchitectures: ARM Big (A7x), Little (A5x), and Performance (Cortex-X) cores on the Google Pixel 8 and Pixel 9, and on Ampere Computing's AmpereOne CPU core. We also include preliminary analysis of MTE on Apple's M5 chip. We investigate performance in MTE's primary application -- probabilistic memory safety -- on both SPEC CPU benchmarks and in server workloads such as RocksDB, Nginx, PostgreSQL, and Memcached. While MTE often exhibits modest overheads, we also see performance slowdowns up to 6.64x on certain benchmarks. We identify the microarchitectural cause of these overheads and where they can be addressed in future processors. We then analyze MTE's performance for more specialized security applications such as memory tracing, time-of-check time-of-use prevention, sandboxing, and CFI. In some of these cases, MTE offers significant advantages today, while the benefits for other cases are negligible or will depend on future hardware. Finally, we explore where prior work characterizing MTE performance has either been incomplete or incorrect due to methodological or experimental errors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑