Lune

HPCA2022Top-tier venue

Adaptive Security Support for Heterogeneous Memory on GPUs

Shougang Yuan, Amro Awad, Ardhi Wiratama Baskara Yudha, Yan Solihin, Huiyang Zhou

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata Management
  • Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing
  • Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
  • Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous Processors cites Plutus: Bandwidth-Efficient Memory Security for GPUs
  • Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata Management cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
  • Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata Management cites Plutus: Bandwidth-Efficient Memory Security for GPUs
  • TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing cites Securator: A Fast and Secure Neural Processing Unit
  • TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
  • TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing cites Telekine: Secure Computing with Cloud GPUs
  • TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing cites Plutus: Bandwidth-Efficient Memory Security for GPUs
  • TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor Computing cites Rendered Insecure: GPU Side Channel Attacks are Practical
  • Securator: A Fast and Secure Neural Processing Unit cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
  • Common Counters: Compressed Encryption Counters for Secure GPU Memory cites Telekine: Secure Computing with Cloud GPUs
  • Common Counters: Compressed Encryption Counters for Secure GPU Memory cites Rendered Insecure: GPU Side Channel Attacks are Practical
  • Telekine: Secure Computing with Cloud GPUs cites Rendered Insecure: GPU Side Channel Attacks are Practical
  • Plutus: Bandwidth-Efficient Memory Security for GPUs cites Accel-Sim: An Extensible Simulation Framework for Validated GPU Modeling
  • Plutus: Bandwidth-Efficient Memory Security for GPUs cites Common Counters: Compressed Encryption Counters for Secure GPU Memory
  • Plutus: Bandwidth-Efficient Memory Security for GPUs cites Telekine: Secure Computing with Cloud GPUs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Securator: A Fast and Secure Neural Processing UnitNivedita Shrivastava, Smruti Ranjan SarangiHPCA 2023 · 16 citations
  2. Plutus: Bandwidth-Efficient Memory Security for GPUsRahaf Abdullah, Huiyang Zhou, Amro AwadHPCA 2023 · 13 citations
  3. TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor ComputingHusheng Han, Xinyao Zheng, Yuanbo Wen, Yifan Hao et al.ASPLOS 2024 · 12 citations
  4. Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata ManagementSeonjin Na, Jungwoo Kim, Sunho Lee, Jaehyuk HuhHPCA 2024 · 11 citations
  5. Unified Memory Protection with Multi-granular MAC and Integrity Tree for Heterogeneous ProcessorsSunho Lee, Seonjin Na, Jeongwon Choi, Jinwon Pyo et al.ISCA 2025 · 2 citations

Builds on4

  1. Accel-Sim: An Extensible Simulation Framework for Validated GPU ModelingMahmoud Khairy, Zhesheng Shen, Tor M. Aamodt, Timothy G. RogersISCA 2020 · 366 citations
  2. Rendered Insecure: GPU Side Channel Attacks are PracticalHoda Naghibijouybari, Ajaya Neupane, Zhiyun Qian, Nael B. Abu-GhazalehCCS 2018 · 214 citations
  3. Telekine: Secure Computing with Cloud GPUsTyler Hunt, Zhipeng Jia, Vance Miller, Ariel Szekely et al.NSDI 2020 · 108 citations
  4. Common Counters: Compressed Encryption Counters for Secure GPU MemorySeonjin Na, Sunho Lee, Yeonjae Kim, Jongse Park et al.HPCA 2021 · 34 citations

Related papers

  1. Salus: Efficient Security Support for CXL-Expanded GPU MemoryRahaf Abdullah, Hyokeun Lee, Huiyang Zhou, Amro AwadHPCA 2024 · 16 citations
  2. Let-Me-In: (Still) Employing In-pointer Bounds Metadata for Fine-grained GPU Memory SafetyJaewon Lee, Euijun Chung, Saurabh Singh, Seonjin Na et al.HPCA 2025 · 3 citations
  3. Adaptive CHERI Compartmentalization for Heterogeneous AcceleratorsJianyi Cheng, A. Theodore Markettos, Alexandre Joannou, Paul Metzger et al.ISCA 2025 · 4 citations
  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 citations
  5. BCoal: Bucketing-Based Memory Coalescing for Efficient and Secure GPUsGurunath Kadam, Danfeng Zhang, Adwait JogHPCA 2020 · 23 citations
Dusk over the sea between two cliffs drawn in fine vertical lines