Rkt-io: A direct I/O stack for shielded execution

Jörg Thalheim, Harshavardhan Unnibhavi, Christian Priebe, Pramod Bhatotia, Peter Pietzuch

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

21 Scopus citations

Abstract

The shielding of applications using trusted execution environments (TEEs) can provide strong security guarantees in untrusted cloud environments. When executing I/O operations, today's shielded execution frameworks, however, exhibit performance and security limitations: they assign resources to the I/O path inefficiently, perform redundant data copies, use untrusted host I/O stacks with security risks and performance overheads. This prevents TEEs from running modern I/O-intensive applications that require high-performance networking and storage. We describe rkt-io (pronounced "rocket I/O"), a direct user-space network and storage I/O stack specifically designed for TEEs that combines high-performance, POSIX compatibility and security. rkt-io achieves high I/O performance by employing direct userspace I/O libraries (DPDK and SPDK) inside the TEE for kernel-bypass I/O. For efficiency, rkt-io polls for I/O events directly, by interacting with the hardware instead of relying on interrupts, and it avoids data copies by mapping DMA regions in the untrusted host memory. To maintain full Linux ABI compatibility, the userspace I/O libraries are integrated with userspace versions of the Linux VFS and network stacks inside the TEE. Since it omits the host OS from the I/O path, does not suffer from host interface/Iago attacks. Our evaluation with Intel SGX TEEs shows that rkt-io is 9×faster for networking and 7× faster for storage compared to host- (Scone) and LibOS-based (SGX-LKL) I/O approaches.

Original languageEnglish
Title of host publicationEuroSys 2021 - Proceedings of the 16th European Conference on Computer Systems
PublisherAssociation for Computing Machinery, Inc
Pages490-506
Number of pages17
ISBN (Electronic)9781450383349
DOIs
StatePublished - 21 Apr 2021
Event16th European Conference on Computer Systems, EuroSys 2021 - Virtual, Online, United Kingdom
Duration: 26 Apr 202128 Apr 2021

Publication series

NameEuroSys 2021 - Proceedings of the 16th European Conference on Computer Systems

Conference

Conference16th European Conference on Computer Systems, EuroSys 2021
Country/TerritoryUnited Kingdom
CityVirtual, Online
Period26/04/2128/04/21

Fingerprint

Dive into the research topics of 'Rkt-io: A direct I/O stack for shielded execution'. Together they form a unique fingerprint.

Cite this