Performance Analysis of Scientific Computing Workloads on Trusted Execution Environments
Preprint
Abstract
Scientific computing sometimes involves computation on sensitive data. Depending on the data and the execution environment, the HPC (high-performance computing) user or data provider may require confidentiality and/or integrity guarantees. To study the applicability of hardware-based trusted execution environments (TEEs) to enable secure scientific computing, we deeply analyze the performance impact of AMD SEV and Intel SGX for diverse HPC benchmarks including traditional scientific computing, machine learning, graph analytics, and emerging scientific computing workloads. We observe three main findings: 1) SEV requires careful memory placement on large scale NUMA machines (1$\times$$-$3.4$\times$ slowdown without and 1$\times$$-$1.15$\times$ slowdown with NUMA aware placement), 2) virtualization$-$a prerequisite for SEV$-$results in performance degradation for workloads with irregular memory accesses and large working sets (1$\times$$-$4$\times$ slowdown compared to native execution for graph applications) and 3) SGX is inappropriate for HPC given its limited secure memory size and inflexible programming model (1.2$\times$$-$126$\times$ slowdown over unsecure execution). Finally, we discuss forthcoming new TEE designs and their potential impact on scientific computing.
Keywords
All Related Versions
This publication has 9 references indexed in Scilit:
- SEVurity: No Security Without Integrity : Breaking Integrity-Free Memory Encryption with Minimal Assumptions2020
- Enabling Rack-scale Confidential Computing using Heterogeneous Trusted Execution Environment2020
- Everything You Should Know About Intel SGX Performance on Virtualized SystemsProceedings of the ACM on Measurement and Analysis of Computing Systems, 2019
- Mobiliti: Scalable Transportation Simulation Using High-Performance Parallel Computing2018
- SIG-DB: Leveraging homomorphic encryption to securely interrogate privately held genomic databasesPLOS Computational Biology, 2018
- Security in high-performance computing environmentsCommunications of the ACM, 2017
- Shielding Applications from an Untrusted Cloud with HavenACM Transactions on Computer Systems, 2015
- The Nas Parallel BenchmarksThe International Journal of Supercomputing Applications, 1991
- Basic local alignment search toolJournal of Molecular Biology, 1990