Adaptive Security Support for Heterogeneous Memory on GPUs
Shougang Yuan, Amro Awad, Ardhi Wiratama Baskara Yudha, Yan Solihin, Huiyang Zhou
摘要
The wide use of accelerators such as GPUs necessities their security support Recent works [17], [33], [34] pointed out that directly adopting the CPU secure memory design to GPUs could incur significant performance overheads due to the memory bandwidth contention between regular data and security metadata. In this paper, we analyze the security guarantees that used to defend against physical attacks, and make the observation that heterogeneous GPU memory system may not always need all the security mechanisms to achieve the security guarantees. Based on the memory types as well as memory access patterns either explicitly specified in the GPU programming model or implicitly detected at run time, we propose adaptive security memory support for heterogeneous memory on GPUs. Specifically, we first identify the read-only data and propose to only use MAC (Message Authentication Code) to protect their integrity. By eliminating the freshness checks on read-only data, we can use an on-chip shared counter for such data regions and remove the corresponding parts in the Bonsai Merkel Tree (BMT), thereby reducing the traffic due to encryption counters and the BMT. Second, we detect the common streaming data access pattern and propose coarse- grain MACs for such stream data to reduce the MAC access bandwidth. With the hardware-based detection of memory type (read-only or not) and memory access patterns (streaming or not), our proposed approach adapts the security support to significantly reduce the performance overhead without sacrificing the security guarantees. Our evaluation shows that our scheme can achieve secure memory on GPUs with low overheads for memory-intensive workloads. Among the fifteen memory-intensive workloads in our evaluation, our design reduces the performance overheads of secure GPU memory from 53.9% to 8.09% on average. Compared to the state-of- the-art secure memory designs for GPU [17], [33], our scheme outperforms PSSM by up to 41.63% and 9.5% on average and outperforms Common counters by 84.04% on average for memory-intensive workloads. We further propose to use the L2 cache as a victim cache for security metadata when the L2 is either underutilized or suffers from very high miss rates, which further reduces the overheads by up to 4% and 0.65% on average.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors 引用了 Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata Management
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors 引用了 TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors 引用了 Common Counters: Compressed Encryption Counters for Secure GPU Memory
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors 引用了 Plutus: Bandwidth-Efficient Memory Security for GPUs
- Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata Management 引用了 Common Counters: Compressed Encryption Counters for Secure GPU Memory
- Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata Management 引用了 Plutus: Bandwidth-Efficient Memory Security for GPUs
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing 引用了 Securator: A Fast and Secure Neural Processing Unit
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing 引用了 Common Counters: Compressed Encryption Counters for Secure GPU Memory
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing 引用了 Telekine: Secure Computing with Cloud GPUs
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing 引用了 Plutus: Bandwidth-Efficient Memory Security for GPUs
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing 引用了 Rendered Insecure: GPU Side Channel Attacks are Practical
- Securator: A Fast and Secure Neural Processing Unit 引用了 Common Counters: Compressed Encryption Counters for Secure GPU Memory
- Common Counters: Compressed Encryption Counters for Secure GPU Memory 引用了 Telekine: Secure Computing with Cloud GPUs
- Common Counters: Compressed Encryption Counters for Secure GPU Memory 引用了 Rendered Insecure: GPU Side Channel Attacks are Practical
- Telekine: Secure Computing with Cloud GPUs 引用了 Rendered Insecure: GPU Side Channel Attacks are Practical
- Plutus: Bandwidth-Efficient Memory Security for GPUs 引用了 Accel-Sim: An Extensible Simulation Framework for Validated GPU Modeling
- Plutus: Bandwidth-Efficient Memory Security for GPUs 引用了 Common Counters: Compressed Encryption Counters for Secure GPU Memory
- Plutus: Bandwidth-Efficient Memory Security for GPUs 引用了 Telekine: Secure Computing with Cloud GPUs
引用它的顶会 Paper6
- Securator: A Fast and Secure Neural Processing UnitNivedita Shrivastava, Smruti Ranjan SarangiHPCA 2023 · 16 次引用
- Plutus: Bandwidth-Efficient Memory Security for GPUsRahaf Abdullah, Huiyang Zhou, Amro AwadHPCA 2023 · 13 次引用
- TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor ComputingHusheng Han, Xinyao Zheng, Yuanbo Wen, Yifan Hao 等ASPLOS 2024 · 12 次引用
- Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata ManagementSeonjin Na, Jungwoo Kim, Sunho Lee, Jaehyuk HuhHPCA 2024 · 11 次引用
- Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous ProcessorsSunho Lee, Seonjin Na, Jeongwon Choi, Jinwon Pyo 等ISCA 2025 · 2 次引用
它引用的 Paper4
- Accel-Sim: An Extensible Simulation Framework for Validated GPU ModelingMahmoud Khairy, Zhesheng Shen, Tor M. Aamodt, Timothy G. RogersISCA 2020 · 366 次引用
- Rendered Insecure: GPU Side Channel Attacks are PracticalHoda Naghibijouybari, Ajaya Neupane, Zhiyun Qian, Nael B. Abu-GhazalehCCS 2018 · 214 次引用
- Telekine: Secure Computing with Cloud GPUsTyler Hunt, Zhipeng Jia, Vance Miller, Ariel Szekely 等NSDI 2020 · 108 次引用
- Common Counters: Compressed Encryption Counters for Secure GPU MemorySeonjin Na, Sunho Lee, Yeonjae Kim, Jongse Park 等HPCA 2021 · 34 次引用
相关 Paper
- Salus: Efficient Security Support for CXL-Expanded GPU MemoryRahaf Abdullah, Hyokeun Lee, Huiyang Zhou, Amro AwadHPCA 2024 · 16 次引用
- Let-Me-In: (Still) Employing In-pointer Bounds Metadata for Fine-grained GPU Memory SafetyJaewon Lee, Euijun Chung, Saurabh Singh, Seonjin Na 等HPCA 2025 · 3 次引用
- Adaptive CHERI Compartmentalization for Heterogeneous AcceleratorsJianyi Cheng, A. Theodore Markettos, Alexandre Joannou, Paul Metzger 等ISCA 2025 · 4 次引用
- Implicit Memory Tagging: No-Overhead Memory Safety Using Alias-Free Tagged ECCMichael B. Sullivan, Mohamed Tarek Ibn Ziad, Aamer Jaleel, Stephen W. KecklerISCA 2023 · 17 次引用
- BCoal: Bucketing-Based Memory Coalescing for Efficient and Secure GPUsGurunath Kadam, Danfeng Zhang, Adwait JogHPCA 2020 · 23 次引用
