Regaining Lost Cycles with HotCalls: A Fast Interface for SGX Secure Enclaves
The DOI matches its Crossref record; 24 of the 24 references it cites were found in a registry or an index.
Abstract
Intel's SGX secure execution technology allows running computations on secret data using untrusted servers. While recent work showed how to port applications and large-scale computations to run under SGX, the performance implications of using the technology remains an open question. We present the first comprehensive quantitative study to evaluate the performance of SGX. We show that straightforward use of SGX library primitives for calling functions add between 8,200 - 17,000 cycles overhead, compared to 150 cycles of a typical system call. We quantify the performance impact of these library calls and show that in applications with high system calls frequency, such as memcached, openVPN, and lighttpd, which all have high bandwidth network requirements, the performance degradation may be as high as 79%. We investigate the sources of this performance degradation by leveraging a new set of microbenchmarks for SGX-specific operations such as enclave entry-calls and out-calls, and encrypted memory I/O accesses. We leverage the insights we gain from these analyses to design a new SGX interface framework HotCalls. HotCalls are based on a synchronization spin-lock mechanism and provide a 13-27x speedup over the default interface. It can easily be integrated into existing code, making it a practical solution. Compared to a baseline SGX implementation of memcached, openVPN, and lighttpd - we show that using the new interface boosts the throughput by 2.6-3.7x, and reduces application latency by 62-74%.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
SPEC CPU2006 benchmark descriptions
Henning, J. L. (2006) · ACM SIGARCH Computer Architecture News · doi:10.1145/1186736.1186737 · Cited by 1,970
CryptDB: protecting confidentiality with encrypted query processing
Popa, R. A., Redfield, C. M. S., Zeldovich, N., & Balakrishnan, H. (2011) · Proceedings of the Twenty-Third ACM Symposium on Operating Systems Principles · doi:10.1145/2043556.2043566 · Cited by 1,155
Innovative instructions and software model for isolated execution
McKeen, F., Alexandrovich, I., Berenzon, A., Rozas, C. V., Shafi, H., Shanbhogue, V., & Savagaonkar, U. R. (2013) · Proceedings of the 2nd International Workshop on Hardware and Architectural Support for Security and Privacy · doi:10.1145/2487726.2488368 · Cited by 1,095
Lest we remember: cold-boot attacks on encryption keys
Halderman, J. A., Schoen, S. D., Heninger, N., Clarkson, W., Paul, W., Calandrino, J. A., Feldman, A. J., Appelbaum, J., & Felten, E. W. (2009) · Communications of the ACM · doi:10.1145/1506409.1506429 · Cited by 980
Workload analysis of a large-scale key-value store
Atikoglu, B., Xu, Y., Frachtenberg, E., Jiang, S., & Paleczny, M. (2012) · Proceedings of the 12th ACM SIGMETRICS/PERFORMANCE joint international conference on Measurement and Modeling of Computer Systems · doi:10.1145/2254756.2254766 · Cited by 901
Controlled-Channel Attacks: Deterministic Side Channels for Untrusted Operating Systems
Xu, Y., Cui, W., & Peinado, M. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.45 · Cited by 713
Durumeric, Z., Li, F., Kasten, J., Amann, J., Beekman, J., Payer, M., Weaver, N., Adrian, D., Paxson, V., Bailey, M., et al. (2014) · Proceedings of the 2014 Conference on Internet Measurement Conference · doi:10.1145/2663716.2663755 · Cited by 668
VC3: Trustworthy Data Analytics in the Cloud Using SGX
Schuster, F., Costa, M., Fournet, C., Gkantsidis, C., Peinado, M., Mainar-Ruiz, G., & Russinovich, M. (2015) · 2015 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2015.10 · Cited by 595
SCONE: secure Linux containers with Intel SGX
(2016) · Operating Systems Design and Implementation · doi:10.5555/3026877.3026930 · Cited by 582
Security and Communication Networks
(2018) · Security and Communication Networks · doi:10.1002/(issn)1939-0122 · Cited by 564
Research works printed but not linked: 7
- Ittai Anati, Shay Gueron, Simon Johnson, and Vincent Scarlata. 2013. Innovative Technology For CPU Based Attestation and sealing. In Proc. of HASP.
- Victor Costan, Ilia Lebedev, and Srinivas Devadas. 2016. Sanctum: Minimal Hardware Extensions for Strong Software Isolation. In Proc. of USENIX Security.
- Andrew Douglas Hilton, BC Lee, and TS Lehman. 2016. PoisonIvy: Safe Speculation for Secure Memory. In Proc. of ACM MICRO.
- Intel. Software Developer Manual, chapters 37--43. Intel. http://www.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-manual-325462.pdf.
- Sanjay Kumar, Himanshu Raj, Karsten Schwan, and Ivan Ganev. 2007. Rearchitecting VMMs for Multicore Systems: The Sidecore Approach. In Proc. of WIOSCA. Citeseer.
- 10.5555/1268488.1268506 · doi:10.5555/1268488.1268506
- Wenting Zheng, Ankur Dave, Jethro Beekman, Raluca Ada Popa, Joseph Gonzalez, and Ion Stoica. 2017. Opaque: An Oblivious and Encrypted Distributed Analytics Platform. In Proc. of NSDI.
Cited by
A survey of Intel SGX and its applications
Zheng, W., Wu, Y., Wu, X., Feng, C., Sui, Y., Luo, X., & Zhou, Y. (2020) · Frontiers of Computer Science · doi:10.1007/s11704-019-9096-y · Cited by 104
VeriDB: An SGX-based Verifiable Database
Zhou, W., Cai, Y., Peng, Y., Wang, S., Ma, K., & Li, F. (2021) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3448016.3457308 · Cited by 75
Building enclave-native storage engines for practical encrypted databases
Sun, Y., Wang, S., Li, H., & Li, F. (2021) · Proceedings of the VLDB Endowment · doi:10.14778/3447689.3447705 · Cited by 68
VeDB: A Software and Hardware Enabled Trusted Relational Database
Yang, X., Zhang, R., Yue, C., Liu, Y., Ooi, B. C., Gao, Q., Zhang, Y., & Yang, H. (2023) · Proceedings of the ACM on Management of Data · doi:10.1145/3589774 · Cited by 62
Howard, H., Alder, F., Ashton, E., Chamayou, A., Clebsch, S., Costa, M., Delignat-Lavaud, A., Fournet, C., Jeffery, A., Kerner, M., et al. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3626292.3626304 · Cited by 44
High-Performance Smart Contracts Concurrent Execution for Permissioned Blockchain Using SGX
Fang, M., Zhang, Z., Jin, C., & Zhou, A. (2021) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde51399.2021.00175 · Cited by 32
Challenges and New Directions in Securing Spectrum Access Systems
Shi, S., Xiao, Y., Lou, W., Wang, C., Li, X., Hou, Y. T., & Reed, J. H. (2021) · IEEE Internet of Things Journal · doi:10.1109/jiot.2021.3064583 · Cited by 30
Authenticated Range Query Using SGX for Blockchain Light Clients
Shao, Q., Pang, S., Zhang, Z., & Jing, C. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-59419-0_19 · Cited by 25
Confidential Computing Across Edge‐To‐Cloud for Machine Learning: A Survey Study
Zobaed, S., & Amini Salehi, M. (2025) · Software Practice and Experience · doi:10.1002/spe.3398 · Cited by 21
Precursor: a fast, client-centric and trusted key-value store using RDMA and Intel SGX
Messadi, I., Neumann, S., Weichbrodt, N., Almstedt, L., Mahhouk, M., & Kapitza, R. (2021) · International Middleware Conference · doi:10.1145/3464298.3476129 · Cited by 20
Montsalvat: Intel SGX shielding for GraalVM native images
Yuhala, P., Ménétrey, J., Felber, P. A., Schiavoni, V., Tchana, A., Thomas, G., Guiroux, H., & Lozi, J.-P. (2021) · International Middleware Conference · doi:10.1145/3464298.3493406 · Cited by 19
Mitigating Adversarial Attacks in Federated Learning with Trusted Execution Environments
Queyrut, S., Schiavoni, V., & Felber, P. (2023) · 2023 IEEE 43rd International Conference on Distributed Computing Systems (ICDCS) · doi:10.1109/icdcs57875.2023.00069 · Cited by 18
On the Challenges of Detecting Side-Channel Attacks in SGX
Jiang, J., Soriente, C., & Karame, G. (2022) · International Symposium on Research in Attacks, Intrusions and Defenses (RAID) · doi:10.1145/3545948.3545972 · Cited by 17
Zhang, C., Liu, Y., Xu, M., Yang, X. S., Li, P., Yang, C., Liu, Q., Xiong, X., Chen, P., & Wang, W. (2025) · IEEE Access · doi:10.1109/access.2025.3541295 · Cited by 14
Omar, H., D’Agostino, B., & Khan, O. (2020) · IEEE Transactions on Computers · doi:10.1109/tc.2020.2996021 · Cited by 14
Enclavisor: A Hardware-software Co-design for Enclaves on Untrusted Cloud
Gu, J., Wu, X., Zhu, B., Xia, Y., Zang, B., Guan, H., & Chen, H. (2020) · IEEE Transactions on Computers · doi:10.1109/tc.2020.3019704 · Cited by 14
S2Dedup: SGX-enabled secure deduplication
Miranda, M., Esteves, T., Portela, B., & Paulo, J. (2021) · ACM International Conference on Systems and Storage · doi:10.1145/3456727.3463773 · Cited by 13
Giantsidi, D., Pritzi, J., Gust, F., Katsarakis, A., Koshiba, A., & Bhatotia, P. (2025) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3676641.3716277 · Cited by 12
Sequestered Encryption: A Hardware Technique for Comprehensive Data Privacy
Biernacki, L., Demissie, M. Z., Workneh, K. B., Andargie, F. A., & Austin, T. M. (2022) · International Symposium on Secure and Private Execution Environment Design (SEED) · doi:10.1109/seed55351.2022.00014 · Cited by 12
Self-citationTrusted Execution, and the Impact of Security on Performance
Brenner, S., Behlendorf, M., & Kapitza, R. (2018) · Workshop on System Software for Trusted Execution (SysTEX) · doi:10.1145/3268935.3268943 · Cited by 12
Jupiter: a modern federated learning platform for regional medical care
Xing, J., Tian, J., Jiang, Z., Cheng, J., & Yin, H. (2021) · Science China Information Sciences · doi:10.1007/s11432-020-3062-8 · Cited by 12
T-Counter: Trustworthy and Efficient CPU Resource Measurement Using SGX in the Cloud
Dong, C., Shen, Q., Ding, X., Yu, D., Luo, W., Wu, P., & Wu, Z. (2022) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2022.3145814 · Cited by 12
Aurora: Providing Trusted System Services for Enclaves On an Untrusted SystemPreprint
Liang, H., Li, M., Zhang, Q., Yu, Y., Jiang, L. C., & Chen, Y. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1802.03530 · Cited by 12
Wang, Z., & Zhou, Y. (2025) · Future Internet · doi:10.3390/fi17010032 · Cited by 9
Performance Analysis of Scientific Computing Workloads on Trusted Execution Environments
Akram, A., Giannakou, A., Akella, V., Lowe-Power, J., & Peisert, S. (2020) · Lawrence Berkeley National Laboratory · doi:10.2172/1768054 · Cited by 9
On Real-Time Guarantees in Intel SGX and TDX
Yuhala, P., Göttel, C., Ménétrey, J., Schiavoni, V., Kozhaya, D., & Felber, P. A. (2025) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.ecrts.2025.8 · Cited by 8
Tee-based key-value stores: a survey
Messaoud, A. A., Mokhtar, S. B., & Simonet, A. (2024) · The VLDB Journal · doi:10.1007/s00778-024-00877-6 · Cited by 8
Palacios, S., Ault, A. C., Krogmeier, J. V., Bhargava, B., & Brinton, C. G. (2022) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2022.3192852 · Cited by 7
Cabin: Confining Untrusted Programs Within Confidential VMs
Mei, B., Xia, S., Wang, W., & Lin, D. (2024) · Lecture notes in computer science · doi:10.1007/978-981-97-8798-2_9 · Cited by 7
OVERSEE: Outsourcing Verification to Enable Resource Sharing in Edge Environment
Cai, X., Shi, J., Yuan, R. H., Liu, C., Zheng, W., Chen, Q., Li, C., Leng, J., & Guo, M. (2020) · Proceedings of the International Conference on Parallel Processing · doi:10.1145/3404397.3404409 · Cited by 6
An SGX-based execution framework for smart contracts upon permissioned blockchain
Fang, M., Zhang, Z., Jin, C., & Zhou, A. (2022) · Distributed and Parallel Databases · doi:10.1007/s10619-022-07409-7 · Cited by 6
Toward an SGX-Friendly Java Runtime
Wu, M., Li, Z., Chen, H., Zang, B., Wang, S., Yu, L., Li, S., & Song, H. (2023) · IEEE Transactions on Computers · doi:10.1109/tc.2023.3318400 · Cited by 5
Towards Shielding 5G Control Plane Functions
Maitra, S., Atalay, T., Stavrou, A., & Wang, H. (2024) · International Conference on Dependable Systems & Networks/Proceedings · doi:10.1109/dsn58291.2024.00039 · Cited by 5
Faster enclave transitions for IO-intensive network applications
Svenningsson, J., Paladi, N., & Vahidi, A. (2021) · doi:10.1145/3472873.3472879 · Cited by 4
Memory Optimization System for SGXv2 Trusted Execution Environment
Li, M., Xia, Y., & Chen, H. (2022) · International Journal of Software and Informatics · doi:10.21655/ijsi.1673-7288.00287 · Cited by 4
One System Call Hook to Rule All TEE OSes in the Cloud
Qin, K., & Gu, D. (2024) · IEEE ... International Conference on Cloud Computing · doi:10.1109/cloud62652.2024.00032 · Cited by 4
An Optimization Methodology for Adapting Legacy SGX Applications to Use Switchless Calls
Kim, S. (2021) · Applied Sciences · doi:10.3390/app11188379 · Cited by 4
TGh: A TEE/GC Hybrid Enabling Confidential FaaS PlatformsPreprint
Choncholas, J., Bhardwaj, K., & Gavrilovska, A. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2309.07764 · Cited by 4
Lightweight, Secure and Stateful Serverless Computing with PSLPreprint
Thomas, A., Mishra, S., Chen, K., & Kubiatowicz, J. D. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2410.20004 · Cited by 4
XHarvest: Rethinking High-Performance and Cost-Efficient SSD Architecture with CXL-Driven Harvesting
Li, P., Wu, W., Yi, S., Chen, X., Wang, C., Liang, S., Wang, Z., Xiao, N., Li, Q., Zhang, M., et al. (2025) · Proceedings - International Symposium on Computer Architecture/Proceedings · doi:10.1145/3695053.3731028 · Cited by 3
SGX-Enabled Encrypted Cross-Cloud Data Synchronization
Zhao, J., Ren, Y., Li, J., & Lee, P. P. C. (2025) · IEEE International Conference on Distributed Computing Systems (ICDCS) · doi:10.1109/icdcs63083.2025.00092 · Cited by 2
Recipe: Hardware-Accelerated Replication Protocols
Giantsidi, D., Giortamis, E., Pritzi, J., Bailleu, M., Kapritsos, M., & Bhatotia, P. (2025) · International Middleware Conference · doi:10.1145/3721462.3770763 · Cited by 2
Park, J., & Kang, B. B. (2023) · International Symposium on Research in Attacks, Intrusions and Defenses (RAID) · doi:10.1145/3607199.3607210 · Cited by 2
Omega: A Secure Event Ordering Service for the Edge
Correia, C., Correia, M. P., & Rodrigues, L. (2021) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2021.3078520 · Cited by 2
Intel SGX-Based Trust Framework Designed for Secure Machine Learning
Liu, C., Zhang, L., Dai, Y., Chen, F., Chen, H., & Zhong, P. (2022) · IEEE Conference on Energy Internet and Energy System Integration (EI2) · doi:10.1109/ei256261.2022.10116101 · Cited by 2
Design and implementation of high-performance cloud computing system
Zhang, Z. (2020) · International Conference on Big Data and Informatization Education (ICBDIE) · doi:10.1109/icbdie50010.2020.00106 · Cited by 2
SGXFault: An Efficient Page Fault Handling Mechanism for SGX Enclaves
Pandith, O. S. (2023) · IEEE Transactions on Dependable and Secure Computing · doi:10.1109/tdsc.2023.3268169 · Cited by 2
A Tug-of-War Between Static and Dynamic Memory in Intel SGX
Kumar, S., Panda, A., Nerlikar, A., & Sarangi, S. R. (2025) · International Conference on VLSI Design · doi:10.1109/vlsid64188.2025.00060 · Cited by 2
Confidential computing for population-scale genome-wide association studies with SECRET-GWAS
Rosenblum, J., Dong, J., & Narayanasamy, S. (2025) · Nature Computational Science · doi:10.1038/s43588-025-00856-z · Cited by 2
LETIndex: A Secure Learned Index with TEE
Cao, S., Niu, Z., & Li, G. (2025) · Proceedings of the VLDB Endowment · doi:10.14778/3750601.3750682 · Cited by 1
Enabling Confidential I/O on RISC-V Without Hardware Modifications
Haas, G., Chung, M., & Kohlbrenner, D. (2025) · ACM Workshop on CPS&IoT Security and Privacy (CPSIoTSec) · doi:10.1145/3733801.3764196 · Cited by 1
SGX-Bundler: speeding up enclave transitions for IO-intensive applications
Svenningsson, J., Paladi, N., & Vahidi, A. (2022) · IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGrid) · doi:10.1109/ccgrid54584.2022.00036 · Cited by 1
Svenningsson, J. (2019) · KTH Publication Database DiVA (KTH Royal Institute of Technology) · Cited by 1
SCL: A Secure Concurrency Layer For Paranoid Stateful LambdasPreprint
Chen, K., Thomas, A., Lu, H., Mullen, W., Ichnowski, J., Arya, R., Krishnakumar, N., Teoh, R., Wang, W., Joseph, A. D., et al. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2210.11703 · Cited by 1
Trusted Implementation and Enforcement of Application Security Policies
Schlegel, M. (2023) · Communications in computer and information science · doi:10.1007/978-3-031-36840-0_16
A Comparison Study of the Compatibility Approaches for SGX Enclaves
Cui, J., Yin, Y., Cai, Z., & Zhang, J. (2023) · Proceedings - Asian Test Symposium/Proceedings · doi:10.1109/ats59501.2023.10317965
齊木, 昭., & SAIKI, A. (2024) · Waseda University Repository (Waseda University)
Analyzing and Improving the Security of Trusted Execution Environments
Morbitzer, M., Eckert, C., & München, T. U. (2023)
Crowe, M., & Laux, F. (2023) · Reutlingen University Academic Bibliography (Reutlingen University)
Hardware/Software Co-Design for Secure High Performance Computing Systems
Akram, A. (2023) · eScholarship (California Digital Library)
TEE-based confidential processing systems and distributed storage
Messaoud, A. A. (2025) · theses.fr (ABES) · doi:10.70675/0f7a699bz3ee9z4695z8dc8z261be7ddf508
TrustSearch: Toward Secure and Efficient Reverse Image Search via SGX
Zou, F., Zhang, J., Li, J. C., Wu, D., Li, X., Li, H., Chen, T., & Zhang, X. (2026) · IEEE Transactions on Information Forensics and Security · doi:10.1109/tifs.2026.3696201
高機能実時間アプリケーションのための汎用OS機能を備えた複合実時間OSの研究
Yang, C., ゾンファン, ヤ., & Chung-Fan, Y. (2025) · Institutional Repositories DataBase (IRDB) · doi:10.15068/0002017564
Metadata
- Authors
- Weisse, O., Bertacco, V., & Austin, T.
- Affiliations
- University of Michigan (US)
- Venue
- ACM SIGARCH Computer Architecture News
- Published
- 2017-06-24
- Volume
- 45
- Issue
- 2
- Pages
- 81-93
- ISSN
- 0163-5964 (ISSN-L)
- OpenAlex
- W3000648809
- Cited by
- 47
- References
- 24
- Citations by year
- 2026: 1 · 2025: 9 · 2024: 5 · 2023: 8 · 2022: 6 · 2021: 11 · 2020: 6 · 2018: 1
- FWCI
- 1.14
- Type
- journal article
- Language
- en
- Open access
- closed
- Locations
- ACM SIGARCH Computer Architecture News (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Hardware and Architecture › Security and Verification in Computing
- Physical Sciences › Computer Science › Hardware and Architecture › Parallel Computing and Optimization Techniques
- Physical Sciences › Computer Science › Computer Networks and Communications › Distributed systems and fault tolerance
- Keywords
- Intel SGX, secure enclaves, system call overhead, performance degradation, microbenchmarks, Memcached, OpenVPN, application latency
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.