arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.17773cs.ARcs.CR
收藏

在AmpereOne处理器上优化的内存标记

Optimized Memory Tagging on AmpereOne Processors

Ampere Computing(安培计算)
Shivnandan Kaushik, Mahesh Madhav, Nagi Aboulenein, Jason Bessette, Sandeep Brahmadathan, Benjamin Chaffin, Matthew Erler, Stephan Jourdan, Thomas Maciukenas, R… 展开作者

Shivnandan Kaushik, Mahesh Madhav, Nagi Aboulenein, Jason Bessette, Sandeep Brahmadathan, Benjamin Chaffin, Matthew Erler, Stephan Jourdan, Thomas Maciukenas, Ramya Jayaram Masti, Jon Perry, Massimo Sutera, Scott Tetrick, Bret Toll, David Turley, Carl Worth, Atiq Bajwa

AI总结:

本文研究了AmpereOne处理器中优化的内存标记技术,通过减少内存开销和提升性能,有效防止内存安全漏洞,为云环境提供安全解决方案。

摘要:

内存安全漏洞持续成为多种安全攻击的起始点,尤其是针对大量以指针语言(如C/C++)编写的已部署软件。尽管已引入编译器和指令集架构(ISA)扩展来解决此问题,但开销和适用性限制了广泛部署。ARM AArch64指令集架构的内存标记扩展(MTE)是解决内存安全漏洞的有价值的工具;在同步标记检查模式下,MTE可确定性地检测并防止顺序缓冲区溢出攻击,并对时间使用后释放指针编程错误导致的漏洞进行概率性检测和预防。2024年发布的AmpereOne处理器是首个支持MTE的数据中心处理器。其优化的MTE实现无需为标记存储增加内存容量,并在广泛的数据中心类工作负载中以单位性能影响提供同步标记检查。此外,本文分析了完整的软硬件栈,识别出应用程序内存管理是剩余开销的主要来源,并强调了软件优化的明确机会。高效的硬件基础与软件改进的清晰路径使AmpereOne处理器的MTE实现对生产云环境具有高度吸引力。

英文摘要:

Memory-safety escapes continue to form the launching pad for a wide range of security attacks, especially for the substantial base of deployed software that is coded in pointer-based languages such as C/C++. Although compiler and Instruction Set Architecture (ISA) extensions have been introduced to address elements of this issue, the overhead and/or comprehensive applicability have limited broad production deployment. The Memory Tagging Extension (MTE) to the ARM AArch64 Instruction Set Architecture is a valuable tool to address memory-safety escapes; when used in synchronous tag-checking mode, MTE provides deterministic detection and prevention of sequential buffer overflow attacks, and probabilistic detection and prevention of exploits resulting from temporal use-after-free pointer programming bugs. The AmpereOne processor, launched in 2024, is the first datacenter processor to support MTE. Its optimized MTE implementation uniquely incurs no memory capacity overhead for tag storage and provides synchronous tag-checking with single-digit performance impact across a broad range of datacenter class workloads. Furthermore, this paper analyzes the complete hardware-software stack, identifying application memory management as the primary remaining source of overhead and highlighting clear opportunities for software optimization. The combination of an efficient hardware foundation and a clear path for software improvement makes the MTE implementation of the AmpereOne processor highly attractive for deployment in production cloud environments.

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

↑