Theodosian: A Deep Dive into Memory-Hierarchy-Centric FHE Acceleration

View at publisher
Authors: Wonseok Choi, Hyunah Yu, Junsu Kim, Hyesung Ji, Jaiyoung Park, Jung Ho Ahn
Cited by: 1
References: 50

Abstract

Fully homomorphic encryption (FHE) enables secure computation on encrypted data, mitigating privacy concerns in cloud and edge environments. However, due to its high compute and memory demands, extensive acceleration research has been pursued across diverse hardware platforms, especially GPUs. In this paper, we perform a microarchitectural analysis of CKKS, a popular FHE scheme, on modern GPUs. Focusing on the memory hierarchy, we demonstrate that dominant kernels remain bound by the on-chip L2 cache despite its high bandwidth, exposing a persistent inner memory wall beyond the conventional off-chip DRAM bottleneck. Further, we reveal that the overall CKKS throughput is constrained by low per-kernel hardware utilization, caused by insufficient intra-kernel parallelism. Motivated by these findings, we introduce Theodosian, a set of complementary, memory-aware optimizations that improve cache efficiency and reduce runtime overheads. Theodosian achieves $\mathbf{1. 4 5}-\mathbf{1. 8 3} \times$ performance improvements over a highly optimized baseline, Cheddar, across representative CKKS workloads. On an RTX 5090, we reduce the bootstrapping latency for 32,768 complex numbers from 22.1 ms to 15.2 ms, and further to 12.8 ms with additional algorithmic optimizations, establishing a new state-of-the-art GPU performance to the best of our knowledge.

Fields of Study & Subjects

Logic programming and type systems Mathematics Computing and Information Processing Cold Fusion and Nuclear Reactions

Publication details

Journal / source
2026 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS)
Publisher
IEEE
Pages
299–310
Publication date
26 April 2026