Lune

HPCA2021Top-tier venue

Common Counters: Compressed Encryption Counters for Secure GPU Memory

Seonjin Na, Sunho Lee, Yeonjae Kim, Jongse Park, Jaehyuk Huh

Abstract

Hardware-based trusted execution has opened a promising new opportunity for enabling secure cloud computing. Nevertheless, the current trusted execution environments are limited to the traditional CPU-based computation, while more and more critical workloads such as machine learning require to use GPUs. For secure GPU computing, recent studies proposed to isolate critical GPU operations from the operating system by providing trusted execution environments for GPUs. However, a missing component in the prior GPU trusted execution studies is a hardware-based memory protection technique optimized for GPUs. Start-of-art memory protection techniques for CPUs use counter-mode encryption, where per-block counters are used as timestamps for generating one-time pads. The integrity of counters is protected by a counter tree. This study investigates the hardware memory encryption for GPUs and identifies counter cache misses as one of the key performance bottlenecks. To mitigate the overheads of counter cache misses, this paper proposes a novel technique, called common counters, for efficient counter-mode encryption and counter integrity protection. The proposed technique exploits unique characteristics of common GPU applications. In GPU applications, a large portion of application memory is written only once by the initial data transfer from the CPU memory, or the number of writes by the GPU applications to major data structures tends to be uniform. Exploiting the uniform write property, this study proposes to use a common counter representation to complement the existing per-block encryption counters. With the common counters, the proposed technique can almost eliminate the performance overheads caused by counter cache misses, reducing the degradation to 2.9%.

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.

13 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

  • sNPU: Trusted Execution Environments on Integrated NPUs cites Securator: A Fast and Secure Neural Processing Unit
  • sNPU: Trusted Execution Environments on Integrated NPUs cites Telekine: Secure Computing with Cloud GPUs
  • sNPU: Trusted Execution Environments on Integrated NPUs 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 Adaptive Security Support for Heterogeneous Memory on GPUs
  • 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 Adaptive Security Support for Heterogeneous Memory on GPUs
  • Adaptive Security Support for Heterogeneous Memory on GPUs cites Telekine: Secure Computing with Cloud GPUs
  • Adaptive Security Support for Heterogeneous Memory on GPUs 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 Adaptive Security Support for Heterogeneous Memory on GPUs
  • 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 papers13

  1. Securator: A Fast and Secure Neural Processing UnitNivedita Shrivastava, Smruti Ranjan SarangiHPCA 2023 · 16 citations
  2. Adaptive Security Support for Heterogeneous Memory on GPUsShougang Yuan, Amro Awad, Ardhi Wiratama Baskara Yudha, Yan Solihin et al.HPCA 2022 · 15 citations
  3. sNPU: Trusted Execution Environments on Integrated NPUsErhu Feng, Dahu Feng, Dong Du, Yubin Xia et al.ISCA 2024 · 13 citations
  4. Plutus: Bandwidth-Efficient Memory Security for GPUsRahaf Abdullah, Huiyang Zhou, Amro AwadHPCA 2023 · 13 citations
  5. TensorTEE: Unifying Heterogeneous TEE Granularity for Efficient Secure Collaborative Tensor ComputingHusheng Han, Xinyao Zheng, Yuanbo Wen, Yifan Hao et al.ASPLOS 2024 · 12 citations

Builds on3

  1. Rendered Insecure: GPU Side Channel Attacks are PracticalHoda Naghibijouybari, Ajaya Neupane, Zhiyun Qian, Nael B. Abu-GhazalehCCS 2018 · 214 citations
  2. Telekine: Secure Computing with Cloud GPUsTyler Hunt, Zhipeng Jia, Vance Miller, Ariel Szekely et al.NSDI 2020 · 108 citations
  3. BCoal: Bucketing-Based Memory Coalescing for Efficient and Secure GPUsGurunath Kadam, Danfeng Zhang, Adwait JogHPCA 2020 · 23 citations

Related papers

  1. SCALE: Tackling Communication Bottlenecks in Confidential Distributed Machine LearningJoongun Park, Yongqin Wang, Huan Xu, Hanjiang Wu et al.HPCA 2026
  2. TNPU: Supporting Trusted Execution with Tree-less Integrity Protection for Neural Processing UnitSunho Lee, Jungwoo Kim, Seonjin Na, Jongse Park et al.HPCA 2022 · 37 citations
  3. Supporting Secure Multi-GPU Computing with Dynamic and Batched Metadata ManagementSeonjin Na, Jungwoo Kim, Sunho Lee, Jaehyuk HuhHPCA 2024 · 11 citations
  4. SAGE: Software-based Attestation for GPU ExecutionAndrei Ivanov, Benjamin Rothenberger, Arnaud Dethise, Marco Canini et al.USENIX ATC 2023 · 1 citation
  5. StrongBox: A GPU TEE on Arm EndpointsYunjie Deng, Chenxu Wang, Shunchang Yu, Shiqing Liu et al.CCS 2022 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines