Understanding and boosting fully homomorphic encryption applications on GPU

作者
Shengyu Fan,Xianglong Deng,Xulong Tang,Weizhi Xu,Mingzhe Zhang
出处
期刊:Cybersecurity [Springer Nature]
卷期号:9 (1)
标识
DOI:10.1186/s42400-025-00482-2
摘要

Abstract Fully Homomorphic Encryption (FHE) is considered one of the most promising candidates for future privacy computing since it allows to directly compute the encrypted data. Though FHE enables secure computation on untrusted servers, its utilization is limited due to the dramatically increased computation workload and a 4–5 orders of magnitude slowdown ratio. Several previous works have been proposed to accelerate FHE on GPUs, while most of these efforts focus on the algorithm or scheduling and still leave a significant performance gap. However, there is a lack of understanding of the FHE applications from the micro-architecture level, which is important for further optimization of FHE applications or designing hardware accelerators. In this paper, we make a detailed analysis for running FHE on GPUs and present the following key performance bottlenecks at the micro-architecture level: (1) FHE applications require more capacity for the I-cache than other workloads; (2) FHE causes large amount of pipeline stalls due to the Read-After-Write (RAW) issues and significantly hurts the performance due to poor hardware utilization; (3) the capacity of texture cache is severely under-utilized in FHE execution. We propose a simple yet effective pure-hardware scheme for boosting FHE on GPUs based on these observations. Our proposed scheme significantly reduces the RAW-caused pipeline stalls by adding a small forwarding buffer. Besides, our proposed scheme also leverages a partition of the texture cache as the victim buffer for the proposed forwarding buffer to minimize the hardware overheads. We explore various design choices to balance the performance and hardware complexity. The experiment results show that our design improves the performance of the end-to-end FHE workflow by 47.5% with only 0.5% additional hardware overhead.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
精明的zm完成签到,获得积分20
1秒前
Vancomycin完成签到 ,获得积分10
1秒前
rjy完成签到 ,获得积分10
1秒前
Kayagakull完成签到,获得积分10
1秒前
JJ_fly完成签到,获得积分10
2秒前
1010完成签到 ,获得积分10
2秒前
波波完成签到,获得积分10
2秒前
EE5577完成签到,获得积分10
3秒前
磊磊完成签到,获得积分10
3秒前
初景发布了新的文献求助10
5秒前
淳于安筠完成签到 ,获得积分10
5秒前
糟糕的学姐完成签到 ,获得积分10
5秒前
zhanglinfeng完成签到,获得积分10
5秒前
彭彭完成签到,获得积分10
5秒前
5秒前
魔幻嚓茶完成签到,获得积分10
6秒前
yy完成签到,获得积分10
7秒前
乐乐乐完成签到,获得积分10
7秒前
踏实采波完成签到,获得积分10
7秒前
2010完成签到,获得积分10
8秒前
Peng完成签到 ,获得积分10
8秒前
leave完成签到,获得积分10
8秒前
WXyue完成签到 ,获得积分10
10秒前
10秒前
qq发布了新的文献求助10
12秒前
第七个南瓜完成签到,获得积分10
13秒前
ilk666完成签到,获得积分10
13秒前
诗尔发布了新的文献求助10
14秒前
adoudoo完成签到,获得积分10
14秒前
ala完成签到,获得积分10
14秒前
xiaoai完成签到 ,获得积分10
15秒前
guanz完成签到,获得积分10
16秒前
frog完成签到,获得积分10
16秒前
wei完成签到,获得积分10
16秒前
orixero的应助被卜算子采纳,获得10
17秒前
橙橙完成签到,获得积分10
18秒前
善良的冰绿完成签到,获得积分10
18秒前
whx完成签到,获得积分10
18秒前
甜蜜冷风完成签到,获得积分10
19秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Das Matthäusevangelium: Kapitel 1:1–17 1000
IRTSD: Open-Source Data and Toolset for Electromagnetic Transient Analysis of Disturbances and IBR Control Malfunctions in Transmission Systems 1000
Entre Praga y Madrid : los contactos checoslovaco-españoles (1948-1977) 600
Les Mots du discours 600
A Consideration on Use of Material Grades for Hull Structural Members Based on Fracture Toughness(Second Report) 500
AI Disclosure in Annual Reports: Evolution, Determinants, and Capital Market Participants’ Perceptions 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8115661
求助须知:如何正确求助?哪些是违规求助? 9521517
关于积分的说明 21533979
捐赠科研通 7693831
什么是DOI,文献DOI怎么找? 3413595
关于科研通互助平台的介绍 2539944
邀请新用户注册赠送积分活动 2453622