Beyond the Bermuda Triangle of Contention: IOMMU Interference in Mixed Criticality Systems

1 st Diogo Costa, 2 nd José Martins, 3 rd Sandro Pinto · 2025

Read Beyond the Bermuda Triangle of Contention: IOMMU Interference in Mixed Criticality Systems by 1 st Diogo Costa, 2 nd José Martins, 3 rd Sandro Pinto (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2508-19670.txt.

Introduction

Diogo Costa, José Martins, and Sandro Pinto studied timing strain from a memory guard unit in mixed systems. Their paper, from twenty twenty-five, deals with mixed criticality systems. Such rigs mix main chips with fast helpers like AI engines and graphics units. Those helpers reach memory on their own, as bus masters. A guard unit, the IOMMU, checks their access and keeps them apart.

Past work pried at this guard for security holes. This team asked what it does to timing, which must stay sure in safety linked tasks. Shared paths through the guard can slow key work in ways that are hard to bound. Readers who build such rigs get a look past the known clash points at a new source of delay.

Catalog record

CREATOR1 st Diogo Costa, 2 nd José Martins, 3 rd Sandro Pinto
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE51 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2508-19670

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Beyond the Bermuda Triangle of Contention: IOMMU Interference in Mixed Criticality Systems 1 st Diogo Costa, 2 nd José Martins, 3 rd Sandro Pinto Abstract As MCSs ( MCSs ) evolve, they increasingly integrate heterogeneous computing platforms, combining general-purpose processors with specialized accelerators such as AI engines, GPUs, and high-speed networking interfaces. This heterogeneity introduces challenges, as these accelerators and DMA-capable devices act as independent bus masters, directly accessing memory. Consequently, ensuring both security and timing predictability in such environments becomes critical. To address these concerns, the Input-Output Memory Management Unit (IOMMU) plays a key role in mediating and regulating memory access, preventing unauthorized transactions while enforcing isolation and access control policies. While prior work has explored IOMMU-related side-channel vulnerabilities from a security standpoint, its role in performance interference remains largely unexplored. Moreover, many of the same architectural properties that enable side-channel leakage, such as shared TLBs, caching effects, and translation overheads, can also introduce timing unpredictability. In this work, we analyze the contention effects within IOMMU structures using the Xilinx UltraScale+ ZCU104 platform, demonstrating how their shared nature introduce unpredictable delays. Our findings reveal that IOMMU-induced interference primarily affects small memory transactions, where translation overheads significantly impact execution time. Additionally, we hypothesize that contention effects arising from IOTLBs exhibit similar behavior across architectures due to shared caching principles, such as prefetching and hierarchical TLB structures. Notably, our experiments show that IOMMU interference can delay DMA transactions by up to 1.79× for lower-size transfers on the Arm SMMUv2 implementation. COTS Commercial Off-The-Shelf GPUs Graphics Processing Units TPUs Tensor Processing Units NPUs Neural Processing Units CPUs Central Processing Units FPGAs Field-Programmable Gate Arrays SWaP-C Size, Weight, Power, and Cost MCSs Mixed Criticality Systems SPH Static Partitioning Hypervisors LLC Last-Level Cache WCET Worst-Case Execution Time VMs Virtual Machines MBR Memory Bandwidth Reser SMMU System Memory Management Unit IOMMU Input/Output Memory Management Unit IOTLB Input/Output Translation Lookaside Buffer TBU Translation Buffer Unit TLB Translation Lookaside Buffer DMA Direct Memory Access FPD Full-Power Domain LPD Low-Power Domain PMU Performance Monitor Unit ILA Integrated Logic Analyzer FPGA Field-Programmable Array PTW Page Table Walk TCU Translation Control Unit SoC System on Chip MCUs Microcontroller Units I Introduction In recent decades, the trend toward digitization [ 1 , 2 ] has reshaped numerous industries, including automotive, robotics, and aerospace. This evolution has rapidly increased in system complexity, with high-end embedded platforms evolving from simple, single-core MCUs ( MCUs ) into complex, heterogeneous architectures [ 3 ] . These modern systems integrate multi-core CPUs and specialized hardware accelerators such as GPUs ( GPUs ), TPUs ( TPUs ), NPUs ( NPUs ), and FPGA [ 4 , 5 ] , enabling unprecedented levels of performance and functionality. At the same time, the demand for integration and efficiency has driven the consolidation of multiple workloads onto a single hardware platform, as integrating peripherals and computational tasks helps meet stringent SWaP-C ( SWaP-C ) requirements. This shift gave rise to Mixed Criticality Systems (MCSs), where systems with different criticality levels co-exist on the same hardware [ 6 ] . Consolidating mixed-criticality workloads onto a shared platform presents significant challenges in ensuring safety, security, and isolation [ 7 , 3 ] . To address these challenges, virtualization has emerged as a key technology. SPH ( SPH ) [ 8 , 9 , 10 , 11 ] represent the zeitgeist of MCSs hypervisors, as they leverage static resource allocation to ensure isolation and determinism [ 12 , 13 ] . While SPH s effectively enforce spatial isolation by partitioning architectural resources (e.g. memory regions and devices) among VMs ( VMs ), they cannot fully guarantee temporal isolation, as microarchitectural resources, including the LLC ( LLC ), main memory, and system bus, remain inherently shared. The resulting resource contention introduces two key challenges: (i) increased execution time and (ii) reduced determinism, caused by unpredictable delays [ 14 , 15 , 16 , 17 , 18 ] . These timing variations pose a significant challenge in hard real-time systems, where strict WCET ( WCET ) guarantees are essential to ensuring system correctness and safety [ 19 , 17 ] . Over the past decade, considerable research has been conducted to identify and mitigate interference caused by shared micro-architectural resources. The majority of this work has focused on three primary sources of contention: (i) the LLC [ 20 , 21 , 22 ] , (ii) the system bus [ 23 , 24 , 25 , 26 ] , and (iii) the main memory [ 23 , 27 , 28 , 29 , 30 , 31 , 31 ] - forming what we refer to as the ’Bermuda Triangle of Contention’ . While these sources have been well studied, modern platforms incorporate a broader array of shared resources (e.g., interrupt controllers [ 3 ] ), whose effects on contention remain insufficiently explored. Fig. 1: Conceptual overview of address translation for CPU and non-CPU bus-master devices, comparing MMU and IOMMU operations. Among these overlooked components, the IOMMU ( IOMMU ) plays a critical role in enforcing memory isolation for non-CPU bus masters, preventing unauthorized memory access and enhancing system security [ 32 , 33 ] . While IOMMUs are primarily recognized for these security functions, existing research has focused on a narrow set of concerns, mainly their susceptibility to side-channel attacks such as IOTLB ( IOTLB )-based timing attacks [ 32 , 34 ] . In contrast, the implications of IOMMU design and usage on timing predictability in consolidated MCSs remain largely unexplored. In such systems, where multiple devices may simultaneously share IOMMU resources, contention in translation structures such as address translation overheads and IOTLB cache pressure can lead to unpredictable latency, undermining the determinism required for real-time applications. This oversight is concerning, as such contention not only impacts system behavior but can also undermine timing determinism in real-time workloads. Despite the critical role of the IOMMU in MCSs , there has been little investigation into how contention for its internal resources may affect execution latency and predictability. In this paper, we aim to advance the understanding of these effects through an empirical study of contention in a representative COTS ( COTS ) platform: the Xilinx UltraScale+ ZCU104. This platform integrates an IOMMU compliant with the ARM SMMU-500 (SMMUv2) specification. a decentralized architecture in which multiple Translation Buffer Units (TBUs) handle address translation for device clusters. We adapt established microbenchmarking techniques to the IOMMU domain to quantify the impact of shared translation structures under concurrent DMA traffic. Our contributions are as follows: 1. Reverse-Engineering IOMMU Structures for Contention Analysis – In this work, we reverse-engineer the translation structures of the IOMMU implementation found in the ZCU104 platform. By uncovering the microarchitectural details of the IOMMU, we gain valuable insights into how translation caches, like the IOTLB, contribute to contention and DMA performance degradation. This reverse-engineering effort enhances our understanding of IOMMU internals and provides procedures that can be applied in future research to analyze IOMMU contention across other platforms and architectures. 2. Characterizing Contention Effects on Translation Latency – Our experimental results show that IOMMU contention can introduce measurable latency increases (up to 1.79×) in DMA transactions. While moderate in magnitude, these delays may affect fine-grained timing

Read the complete text