sgx-perf: a performance analysis tool for intel SGX enclaves
File(s)a16-weichbrodt.pdf (1.11 MB)
Accepted version
Author(s)
Weichbrodt, Nico
Aublin, PRER
Kapitza, Rüdiger
Type
Conference Paper
Abstract
Novel trusted execution technologies such as Intel's Software Guard Extensions (SGX) are considered a cure to many security risks in clouds. This is achieved by offering trusted execution contexts, so called enclaves, that enable confidentiality and integrity protection of code and data even from privileged software and physical attacks. To utilise this new abstraction, Intel offers a dedicated Software Development Kit (SDK). While it is already used to build numerous applications, understanding the performance implications of SGX and the offered programming support is still in its infancy. This inevitably leads to time-consuming trial-and-error testing and poses the risk of poor performance.
To enable the development of well-performing SGX-based applications, this paper makes the following three contributions: First, it summarises identified performance critical factors of SGX. Second, it presents sgx-perf, a collection of tools for high-level dynamic performance analysis of SGX-based applications. In particular, sgx-perf performs not only fined-grained profiling of performance critical events in enclaves but also offers recommendations on how to improve enclave performance. Third, it demonstrates how we used sgx-perf in four non-trivial SGX workloads to increase their performance by up to 2.16x.
To enable the development of well-performing SGX-based applications, this paper makes the following three contributions: First, it summarises identified performance critical factors of SGX. Second, it presents sgx-perf, a collection of tools for high-level dynamic performance analysis of SGX-based applications. In particular, sgx-perf performs not only fined-grained profiling of performance critical events in enclaves but also offers recommendations on how to improve enclave performance. Third, it demonstrates how we used sgx-perf in four non-trivial SGX workloads to increase their performance by up to 2.16x.
Date Issued
2018-11
Date Acceptance
2018-08-24
Citation
Middleware '18: Proceedings of the 19th International Middleware Conference, 2018, pp.201-213
ISBN
978-1-4503-5702-9
Publisher
ACM
Start Page
201
End Page
213
Journal / Book Title
Middleware '18: Proceedings of the 19th International Middleware Conference
Copyright Statement
© 2018 Copyright held by the owner/author(s). Publication rights licensed to ACM. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in Middleware '18: Proceedings of the 19th International Middleware Conference, November 2018, Pages 201–213, https://doi.org/10.1145/3274808.3274824
Sponsor
Commission of the European Communities
Grant Number
690111
Source
The ACM/IFIP/USENIX Middleware conference
Subjects
Intel Software Guard Extensions
Trusted Execution
Performance Profiling
Publication Status
Published
Start Date
2018-12-10
Finish Date
2018-12-14
Coverage Spatial
Rennes, France
Date Publish Online
2018-11