PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 12, 20260 citationsOpen Access

From Copy to Zero-Copy: Enforcing a Control/Data Boundary for Microkernel Ipc (Reference Design and Microbenchmarks) Open Nexus Os / Neuron Architecture Series — Part Ii: Bounded Control-Plane Ipc and Explicit Bulk Data Paths

View Full Paper
JSJenning Schäfer

Key Points

  • This research aims to improve inter-process communication (IPC) efficiency in microkernels by transitioning to zero-copy bulk data transfer.
  • Developed a Rust-based capability microkernel named NEURON for RISC-V architecture.
  • Implemented a hard upper bound on inline IPC payloads of 8 KiB at the syscall boundary.
  • Conducted microbenchmarks on a RISC-V QEMU 'virt' platform to evaluate IPC performance.
  • Utilized loopback and cross-task benchmarks to analyze control-plane behavior.
  • Latency increases linearly with payload size up to the 8 KiB limit, showing copy-based messaging effects.
  • Cross-task benchmarks reveal largely payload-insensitive round-trip latency for 8-512 B messages.
  • Findings emphasize that scheduling and address-space transitions significantly affect control-plane RPC costs.

Abstract

Microkernels reduce the trusted computing base and improve fault isolation by moving drivers and system services to user space, but IPC overhead remains a central design concern in service-decomposed systems. This paper presents NEURON, a compact Rust-based capability microkernel for RISC-V, as a reference implementation that makes the transition from copy-based messaging to zero-copy bulk transfer an explicit, enforceable architectural boundary. NEURON enforces a hard 8~KiB (8192 bytes) upper bound on inline IPC payloads at the syscall boundary, yielding a bounded control-plane path for small request/reply interactions. Bulk data is handled via a dedicated data-plane primitive: capability-protected virtual memory objects (VMOs) that can be mapped across address spaces without copying payload bytes through the kernel IPC path. We characterize control-plane behavior using reproducible microbenchmarks on a RISC-V QEMU ``virt'' platform. A loopback benchmark isolates kernel IPC overhead and shows latency increasing approximately linearly with payload size up to the 8~KiB boundary (~ 9.8-47µs), consistent with copy-dominated inline transfer. A cross-task ping-pong benchmark between isolated tasks shows largely payload-insensitive round-trip latency for 8-512 B messages (~186-190 µs), indicating that scheduling and address-space transitions dominate control-plane RPC costs in the current prototype. These results motivate ``bounded control + explicit bulk'' as a practical default for microkernel service decomposition, while leaving fast-path IPC optimizations and high-throughput VMO evaluation to future work.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Jenning Schäfer (2026) studied this question.

synapsesocial.com/papers/69b25be596eeacc4fceca450https://doi.org/10.5281/zenodo.18935754
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1FROM COPY TO ZERO-COPY: ENFORCING A CONTROL/DATA BOUNDARY FOR MICROKERNEL IPC (REFERENCE DESIGN AND MICROBENCHMARKS) OPEN NEXUS OS / NEURON ARCHITECTURE SERIES — PART II: BOUNDED CONTROL-PLANE IPC AND EXPLICIT BULK DATA PATHS2026
  2. 2Bounding Priority Inversion at IPC Endpoints: An AArch64 Microkernel Architecture for Autonomous-Vehicle Control Loops2026
  3. 3Technical Specification: Non-Markovian Block I/O Subsystem Optimization for Linux Kernel via Memory Kernel Compression2026
  4. 4Kernel vs. User-Level Networking: Don't Throw Out the Stack with the Interrupts2024
  5. 5Kernel vs. User-Level Networking: Don't Throw Out the Stack with the Interrupts2024 · 1 citations