Arm DynamIQ Shared Unit and Real-Time: An Empirical Evaluation

Ashutosh Pradhan, Daniele Ottaviano, Yi Jiang, Haozheng Huang, Alexander Zuepke, Andrea Bastoni, Marco Caccamo · DOI

Abstract

This paper provides the first deep-dive empirical evaluation of the Arm DynamIQ Shared Unit (DSU) and its hardware-based cache partitioning features for real-time systems. While the DSU effectively isolates workloads, the researchers uncover critical "corner cases"—such as memory controller saturation and "write-streaming" bypasses—that can undermine predictability in complex multicore chips.

Introduction

In modern embedded systems, such as those used in autonomous vehicles or robotics, multiple CPU cores share a single memory hierarchy. This sharing creates a "noisy neighbor" problem: a low-priority task can hog the cache or memory bandwidth, causing a high-priority real-time task to miss its deadline.

To solve this, researchers often use cache partitioning. Traditionally, this was achieved via "cache coloring," a software technique involving memory page management to isolate cache sets. However, Arm’s newer DynamIQ Shared Unit (DSU) introduces hardware-level way-partitioning, allowing developers to physically reserve portions of the L3 cache for specific cores. This study rigorously evaluates whether this hardware feature delivers the deterministic performance required for hard real-time systems across various commercial chips.

Methodology

The authors integrated DSU support into both the Linux kernel and the Jailhouse hypervisor. They evaluated three modern platforms—Rockchip RK3568, Rockchip RK3588, and NVIDIA Orin AGX—comparing them against an AMD Zynq UltraScale+ baseline.

Comparison of address mapping for traditional set-partitioning (cache coloring) versus the DSU's hardware way-partitioning.

The experimental approach compared hardware way-partitioning against traditional software-based set-partitioning. Micro-architectural analysis was performed using Performance Monitoring Units (PMUs) to track cache refills, prefetching behavior, and memory bus traffic. Benchmarks included the SD-VBS (San Diego Vision Benchmark Suite) and a custom "Interference-bench" designed to stress the system with sequential reads, writes, and software prefetches.

Key Insights and Architectural Challenges

  • The Associativity Trap: Way-partitioning works by reducing the associativity of the cache. For certain strided memory access patterns, this can actually increase conflict misses, making the system slower than if it had no partitioning at all.
  • The Memory Controller Bottleneck: Cache partitioning is not a universal solution. Once a task's working set exceeds the size of its assigned cache partition, it hits the memory controller. At this point, all tasks suffer from contention at the DRAM interface.
  • The "Write-Streaming" Loophole: On Arm Cortex-A55 cores, a feature called "write-streaming" allows continuous write operations to bypass the L3 cache entirely. Because these writes skip the L3, the DSU’s partitioning becomes ineffective at stopping interference from these operations.
  • L4 Interference on Orin: On the NVIDIA Orin, which features multiple DSU clusters and a massive L4 system cache, the authors discovered that while L3 partitioning helps within a cluster, the non-partitioned L4 cache remains a source of unpredictable interference between different clusters.

Key Results

Both way and set partitioning significantly reduce execution time slowdowns (often by 2x-4x) compared to unpartitioned systems when facing heavy interference.

Execution time comparison between unpartitioned, set-partitioned, and way-partitioned configurations across varying workloads.

On practical benchmarks, neither hardware way-partitioning nor software set-partitioning consistently outperformed the other. However, way-partitioning is significantly easier to implement and is immune to "bit-scrambling" (undocumented hardware hashes that can break cache coloring). In one extreme case on the RK3568, disabling "write-streaming" reduced the maximum slowdown of a vision task from 6.2x to 2.2x, proving that architectural optimizations can often hurt real-time predictability.

Limitations and Future Work

The study focused exclusively on inter-core interference between different physical cores, rather than task-level isolation on a single core. Future research should investigate the overhead of dynamically changing DSU partitions during runtime and the management of unregulated L4 caches in high-end SoCs to achieve true cluster-level isolation.

Summary updated

BibTeX
@inproceedings{pradhan2025arm,
  author = {Ashutosh Pradhan and Daniele Ottaviano and Yi Jiang and Haozheng Huang and Alexander Zuepke and Andrea Bastoni and Marco Caccamo},
  title = {{Arm DynamIQ Shared Unit and Real-Time: An Empirical Evaluation}},
  booktitle = {RTAS},
  year = {2025},
  doi = {10.1109/rtas65571.2025.00032},
}
Figure