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
Shielding Applications from an Untrusted Cloud with Haven
Baumann, A., Peinado, M., & Hunt, G. (2015) · ACM Transactions on Computer Systems · doi:10.1145/2799647 · Cited by 463
Chen, X., Garfinkel, T., Lewis, E. C., Subrahmanyam, P., Waldspurger, C. A., Boneh, D., Dwoskin, J., & Ports, D. R. K. (2008) · Proceedings of the 13th international conference on Architectural support for programming languages and operating systems · doi:10.1145/1346281.1346284 · Cited by 415
Using innovative instructions to create trustworthy software solutions
Hoekstra, M., Lal, R., Pappachan, P., Phegade, V., & Del Cuvillo, J. (2013) · Proceedings of the 2nd International Workshop on Hardware and Architectural Support for Security and Privacy · doi:10.1145/2487726.2488370 · Cited by 347
A Memory Encryption Engine Suitable for General Purpose Processors.Preprint
Gueron, S. (2016) · IACR Cryptology ePrint Archive · Cited by 234
FlexSC: flexible system call scheduling with exception-less system calls
Soares, L., & Stumm, M. (2010) · doi:10.5555/1924943.1924946 · Cited by 223
Iago attacks: why the system call API is a bad untrusted RPC interface
Checkoway, S., & Shacham, H. (2013) · Proceedings of the eighteenth international conference on Architectural support for programming languages and operating systems · doi:10.1145/2451116.2451145 · Cited by 215
IntelŴVirtualization Technology: Hardware Support for Efficient Processor Virtualization
Neiger, G. (2006) · Intel Technology Journal · doi:10.1535/itj.1003.01 · Cited by 215
Rethinking the library OS from the top down
Porter, D. E., Boyd-Wickizer, S., Howell, J., Olinsky, R., & Hunt, G. C. (2011) · Proceedings of the sixteenth international conference on Architectural support for programming languages and operating systems · doi:10.1145/1950365.1950399 · Cited by 212
Thin servers with smart pipes: designing SoC accelerators for memcached
Lim, K., Meisner, D., Saidi, A. G., Ranganathan, P., & Wenisch, T. F. (2013) · Proceedings of the 40th Annual International Symposium on Computer Architecture · doi:10.1145/2485922.2485926 · Cited by 175
Ryoan: a distributed sandbox for untrusted computation on secret data
Hunt, T., Zhu, Z., Xu, Y., Peter, S., & Witchel, E. (2016) · Operating Systems Design and Implementation · doi:10.5555/3026877.3026919 · Cited by 170
SecureME: a hardware-software approach to full system security
Chhabra, S., Rogers, B. M., Solihin, Y., & Prvulović, M. (2011) · International Conference on Supercomputing · doi:10.1145/1995896.1995914 · Cited by 79
Virtualization polling engine (VPE): using dedicated CPU cores to accelerate I/O virtualization
Liu, J., & Abali, B. (2009) · International Conference on Supercomputing · doi:10.1145/1542275.1542309 · Cited by 76
ARM Virtualization: Performance and Architectural Implications
Dall, C., Li, S.-W., Lim, J. T. E., Nieh, J., & Koloventzos, G. (2016) · Proceedings - International Symposium on Computer Architecture/Proceedings · doi:10.1109/isca.2016.35 · Cited by 50
Facilitating efficient synchronization of asymmetric threads on hyper-threaded processors
Anastopoulos, N., & Koziris, N. (2008) · IEEE International Parallel and Distributed Processing Symposium (IPDPS) · doi:10.1109/ipdps.2008.4536358 · Cited by 28
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
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.