Skip to main navigation Skip to search Skip to main content

Fast & Safe IO Memory Protection

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

IO Memory protection mechanisms prevent malicious and/or buggy IO devices from executing errant transfers into memory. Modern servers achieve this using an IOMMU - -IO devices operate on virtual addresses, and IOMMU translates virtual addresses to physical addresses (potentially speeding up translations using a cache called IOTLB) before executing memory transfers. Despite their importance, design of memory protection mechanisms that can provide strong safety properties while achieving high performance has remained elusive. Indeed, recent studies from production datacenters demonstrate that inefficiencies within state-of-the-art memory protection mechanisms result in significant throughput degradation, orders-of-magnitude tail latency inflation, and violation of isolation guarantees.We present Fast & Safe (F&S), a simple modification to existing memory protection mechanisms that enables them to provide the strongest safety property, and yet, near-completely eliminates their overheads. The key insight in F&S design is that, rather than solely focusing on minimizing IOTLB miss rates, we should focus on reducing the cost of each IOTLB miss. We demonstrate that this change of perspective enables a simple F&S design that requires no modifications in host hardware and minimal modifications within the operating system.

Original languageEnglish (US)
Title of host publicationSOSP 2024 - Proceedings of the 2024 ACM SIGOPS 30th Symposium on Operating Systems Principles
PublisherAssociation for Computing Machinery
Pages95-109
Number of pages15
ISBN (Electronic)9798400712517
DOIs
StatePublished - Nov 15 2024
Event30th ACM Symposium on Operating Systems Principles, SOSP 2024 - Austin, United States
Duration: Nov 4 2024Nov 6 2024

Publication series

NameSOSP 2024 - Proceedings of the 2024 ACM SIGOPS 30th Symposium on Operating Systems Principles

Conference

Conference30th ACM Symposium on Operating Systems Principles, SOSP 2024
Country/TerritoryUnited States
CityAustin
Period11/4/2411/6/24

Keywords

  • IOMMU
  • memory protection

ASJC Scopus subject areas

  • Computational Theory and Mathematics
  • Computer Science Applications
  • Software

Fingerprint

Dive into the research topics of 'Fast & Safe IO Memory Protection'. Together they form a unique fingerprint.

Cite this