SGX-Perf: A performance analysis tool for intel SGX enclaves

Weichbrodt N, Aublin PL, Kapitza R (2018)


Publication Type: Conference contribution

Publication year: 2018

Publisher: Association for Computing Machinery, Inc

Pages Range: 201-213

Conference Proceedings Title: Proceedings of the 19th International Middleware Conference, Middleware 2018

Event location: Rennes, Brittany, FRA

ISBN: 9781450357029

DOI: 10.1145/3274808.3274824

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.

Authors with CRIS profile

Involved external institutions

How to cite

APA:

Weichbrodt, N., Aublin, P.-L., & Kapitza, R. (2018). SGX-Perf: A performance analysis tool for intel SGX enclaves. In Proceedings of the 19th International Middleware Conference, Middleware 2018 (pp. 201-213). Rennes, Brittany, FRA: Association for Computing Machinery, Inc.

MLA:

Weichbrodt, Nico, Pierre-Louis Aublin, and Rüdiger Kapitza. "SGX-Perf: A performance analysis tool for intel SGX enclaves." Proceedings of the 19th ACM/IFIP/USENIX International Middleware Conference, Middleware 2018, Rennes, Brittany, FRA Association for Computing Machinery, Inc, 2018. 201-213.

BibTeX: Download