Exploiting Application-to-Architecture Dependencies for Designing Scalable OS

Yao Xiao, Nikos Kanakaris, Anzhe Cheng, Chenzhong Yin, Nesreen K. Ahmed, Shahin Nazarian, Andrei Irimia, Paul Bogdan · DOI

Introduction

As computing moves toward "many-core" architectures featuring hundreds of cores, traditional operating systems face significant scalability hurdles. Monolithic systems like Linux often suffer from application-oblivious designs, relying on global locks and cache coherence protocols that degrade performance as core counts increase. Conversely, microkernels like MINIX 3 offer modularity but introduce high Inter-Process Communication (IPC) overhead. To address these issues, researchers have developed NetworkedOS, a framework that treats the relationship between applications, the OS, and hardware as a multi-layer network.

The NetworkedOS Framework

The core innovation of NetworkedOS is the Multi-Layer Graph (MLG) abstraction. This model bridges the gap between high-level application logic and low-level hardware constraints by representing the system through four distinct layers:

  • Application Layer: Captures instruction-level data and control dependencies using static analysis and dynamic tracing.
  • Process Interaction Layer: Tracks IPC messages between applications and kernel services.
  • Physical Frame Layer: Maps virtual memory to physical frames to optimize data sharing.
  • Architecture Layer: Models physical hardware cores and their interconnects.
The NetworkedOS framework utilizes a Multi-Layer Graph (MLG) to optimize process partitioning and mapping.

The framework operates in two phases. During Compile-Time Optimization, a graph-partitioning algorithm clusters instructions into processes, balancing parallelism against IPC overhead using a specialized Quality Function. At Run-Time, a greedy scheduling algorithm maps these processes to hardware cores, prioritizing data affinity and minimizing communication latency between adjacent cores.

Experimental Results

The researchers evaluated NetworkedOS using industry-standard benchmarks, including NAS Parallel Benchmarks (NPB) 3.0 and PARSEC 3.0, alongside specialized workloads like PageRank (PR), Convolutional Neural Networks (CNN), and Brain-Machine Interface (BMI) simulations.

Application speedup of NetworkedOS compared to Linux, MINIX 3, and Barrelfish across various benchmarks.

The results demonstrate significant performance gains across diverse workloads:

  • Scalability: NetworkedOS achieved up to a 7.11x speedup over Linux on a 128-core system.
  • Efficiency: Compared to the Barrelfish multikernel, it provided a 2.01x speedup on 64 cores.
  • IPC Optimization: For communication-intensive tasks, execution time was reduced by up to 3.4x compared to unmodified MINIX 3, largely due to the framework's ability to minimize message latency through intelligent core mapping.

Conclusion

NetworkedOS proves that an OS deeply aware of application-to-architecture dependencies can overcome the bottlenecks of traditional designs. While current limitations include static compile-time partitioning and a focus on standard CPUs, future work aims to incorporate dynamic phase-shift adaptation and support for heterogeneous accelerators like GPUs and TPUs, where data movement costs are even more critical.

Summary updated

BibTeX
@inproceedings{xiao2025exploiting,
  author = {Yao Xiao and Nikos Kanakaris and Anzhe Cheng and Chenzhong Yin and Nesreen K. Ahmed and Shahin Nazarian and Andrei Irimia and Paul Bogdan},
  title = {{Exploiting Application-to-Architecture Dependencies for Designing Scalable OS}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
  doi = {10.1109/icassp49660.2025.10890781},
}
Figure