Eleos
Authors:
Open Access
- 23 April 2017
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 238-253
Abstract
Intel Software Guard extensions (SGX) enable secure and trusted execution of user code in an isolated enclave to protect against a powerful adversary. Unfortunately, running I/O-intensive, memory-demanding server applications in enclaves leads to significant performance degradation. Such applications put a substantial load on the in-enclave system call and secure paging mechanisms, which turn out to be the main reason for the application slowdown. In addition to the high direct cost of thousands-of-cycles long SGX management instructions, these mechanisms incur the high indirect cost of enclave exits due to associated TLB flushes and processor state pollution. We tackle these performance issues in Eleos by enabling exit-less system calls and exit-less paging in enclaves. Eleos introduces a novel Secure User-managed Virtual Memory (SUVM) abstraction that implements application-level paging inside the enclave. SUVM eliminates the overheads of enclave exits due to paging, and enables new optimizations such as sub-page granularity of accesses. We thoroughly evaluate Eleos on a range of microbenchmarks and two real server applications, achieving notable system performance gains. memcached and a face verification server running in-enclave with Eleos, achieves up to 2.2× and 2.3× higher throughput respectively while working on datasets up to 5× larger than the enclave's secure physical memory.Keywords
Funding Information
- Israel Science Foundation (1138/14)
This publication has 14 references indexed in Scilit:
- Intel® Software Guard Extensions (Intel® SGX) Software Support for Dynamic Memory Allocation inside an Enclave2016
- Intel® Software Guard Extensions (Intel® SGX) Support for Dynamic Memory Management Inside an Enclave2016
- Shielding Applications from an Untrusted Cloud with HavenACM Transactions on Computer Systems, 2015
- Controlled-Channel Attacks: Deterministic Side Channels for Untrusted Operating Systems2015
- VC3: Trustworthy Data Analytics in the Cloud Using SGX2015
- Using innovative instructions to create trustworthy software solutions2013
- GPUfs2013
- Face Description with Local Binary Patterns: Application to Face RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2006
- Memory resource management in VMware ESX serverACM SIGOPS Operating Systems Review, 2002
- Design and performance of the Shasta distributed shared memory protocol1997