Eleos: ExitLess OS services for SGX enclaves

Meni Orenbach, Pavel Lifshits, Marina Minkin, Mark Silberstein

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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.

Original languageEnglish
Title of host publicationProceedings of the 12th European Conference on Computer Systems, EuroSys 2017
Pages238-253
Number of pages16
ISBN (Electronic)9781450349383
DOIs
StatePublished - 23 Apr 2017
Event12th European Conference on Computer Systems, EuroSys 2017 - Belgrade, Serbia
Duration: 23 Apr 201726 Apr 2017

Publication series

NameProceedings of the 12th European Conference on Computer Systems, EuroSys 2017

Conference

Conference12th European Conference on Computer Systems, EuroSys 2017
Country/TerritorySerbia
CityBelgrade
Period23/04/1726/04/17

All Science Journal Classification (ASJC) codes

  • Computer Networks and Communications
  • Software
  • Information Systems
  • Hardware and Architecture
  • Control and Systems Engineering

Fingerprint

Dive into the research topics of 'Eleos: ExitLess OS services for SGX enclaves'. Together they form a unique fingerprint.

Cite this