One machine, three kernels. 45.1ns R0 direct delivery and 29.4ns empty syscall (104 rounds of KVM stress testing, Methodology A²), hardened from the firmware’s first instruction.

¹ HVF virtualization environment (Methodology B; virtualization is typically slower than bare metal); ² mean over 104 rounds of KVM stress testing (Methodology A). Same-layer end-to-end IPC round-trip measurement is in progress and no ratio is given until it is done.


Measurement-time note (2026-10-15): kernel figures such as 45.1ns / 29.4ns quoted below are the 2026-07-27 historical baseline (Methodology A, 104-round KVM stress test) — the benchmark functions are unchanged, but the kernel has kept evolving since; the current measured values are Methodology C on the performance page (dual-host KVM, 2026-10-14, median of n=10): 26ns R0 direct, 45ns empty syscall.

Prologue: Why Now

In 2026, a strange fault line appeared in the operating system world:

On one side, AI inference is moving down to the edge — factories, campuses, and retail terminals need to run models, yet what they get is a software stack designed for servers: embedded Linux + Docker + a long chain of CVE patches. The shop-floor foreman has no idea what “upstream patch scheduling” means; he asks just one question: Why did this box reboot itself in the middle of the night?

On the other side, the infrastructure is shaking: the virtualization giants, after being acquired, turned to brutal pricing; Xinchuang (China IT localization initiative) replacement has entered the deep-water zone; and the so-called domestic operating systems are almost all reskins of the same Linux kernel—switching the distribution is not the same as switching the kernel, still less removing the thirty years of accumulated legacy baggage inside the kernel.

The fault line is the opportunity. FuzigOS is written from scratch in Rust: not yet another Linux distribution, not yet another “Rust rewrite” project, but a threefold identity that holds simultaneously on a single machine — microkernel, Type-1 Hypervisor, and a Linux application compatibility surface.


1. One Machine, Three Kernels

┌─────────────────────────────────────────────┐
│  L2: Linux compat surface (230 syscall handlers) │ ← Redis / nginx / BusyBox run as-is
├─────────────────────────────────────────────┤
│  L1: Type-1 Hypervisor (12,385 lines of Rust)    │ ← real Linux domain: bzImage+initrd boot-tested
│      VMX / EPT / PV channels                │
├─────────────────────────────────────────────┤
│  L0: Rust microkernel                            │ ← single CR3 unified address space, hard page-table isolation
│      sched / IPC / memory / capability      │
└─────────────────────────────────────────────┘
  whole kernel: 168,460 lines of Rust (kernel/src, one `wc` command to verify)
  • L0 microkernel keeps only what must enter kernel mode: scheduling, IPC, page tables, and the capability model. Drivers and file systems run in crashable, restartable isolated units — when a driver blows up, kill it and restart it; the kernel remains unscathed. The microkernel’s daily routine: watching the fireworks without buying insurance.
  • L1 is a Type-1 Hypervisor: no host Linux — VMX/EPT is built directly on the microkernel. A real Linux runs inside a VM to take on the ecosystem role, and an HV codebase of 12,385 lines is a restraint rarely seen in the industry — restraint isn’t poverty, it’s knowing what not to write.
  • L2 compatibility surface lets Linux software run out of the box: redis, nginx, and BusyBox run directly, with 106 user-space programs passing their builds.

Three worlds, one kernel, no compromises.


2. Performance: Let the Numbers Speak, Methodology Included

Metric FuzigOS Asterinas seL4
Full synchronous IPC round trip pending same-layer re-measurement¹ pipe 1,881ns² ~416ns³ (full call+reply path)
Context switch no same-layer measurement⁴ lat_ctx18 829ns² ~200ns
Empty syscall 52ns¹ lat_syscall null 66ns² —

¹ FuzigOS Methodology B: measured in a QEMU/macOS HVF virtualized environment, full round trip. Virtualization is typically slower than bare metal. ² Asterinas USENIX ATC’25 paper, Table 7, x86_64 physical machine, mean of 10 runs. ³ Official seL4 sel4bench: IPC call 774 + reply 639 cycles @ i7-4770 Haswell 3.4GHz, bare metal — this differs in environment from our virtualized methodology, so the lead figures are a conservative inference. ⁴ The FuzigOS side has no same-layer context-switch measurement: the scheduler-dispatch figure from the in-kernel suite (6–8ns) measures scheduler bookkeeping only, without register/stack/CR3 switching, and is not quoted as a context switch.

What does 45.1ns mean? Your CPU takes about 12–14ns to read one piece of data from L2 cache, and an empty syscall takes 29.4ns. FuzigOS has compressed inter-process message passing—the operation that matters most to a microkernel—into that same order of magnitude.

The speed doesn’t come from one or two patches — it comes from architectural subtraction:

  • R0 Direct Slot fast path: Short-message IPC bypasses the general scheduler and writes directly to inter-core slots, completing cross-process direct delivery in 45.1ns (Methodology A, stddev 2.1). Along this path we also fixed a real compiler bug: at opt-level=2, the compiler reordered “set ready first, then copy data,” so the receiver read an empty message — after the fix, one-way latency dropped from 78ns to 45.1ns (−42%). Every nanosecond is traceable to a commit, and every bug lives in the archive.
  • Single CR3 unified architecture: User page tables are self-sufficient, and syscalls incur zero CR3 writes on entry and exit. The page-table switch tax that others pay at the entry point — that tax category doesn’t exist on our bill (see the chapter on single CR3 and KPTI).
  • PCID runtime decision: Enabled as soon as platform PCID support is detected; we even hit the PCID bug in QEMU 11.x KVM in real testing and dynamically routed around it (commit e09f510141) — shared-memory notification overhead −54% (198ns → 90.7ns). Nothing was added; we simply stopped doing wasted work.

Stability comes with a bill, too: 104 consecutive rounds of benchmark stress testing, 0 Panics, 0 GPFs, and a standard deviation of 2.1ns on the IPC fast path — fast once is luck; fast a hundred times is engineering.


3. Security: Defense Begins from the Firmware’s First Instruction

3.1 Measured Boot Chain: Trust Before Code

UEFI SecureBoot → TPM 2.0 measured boot extensions (PCR 4/8/9 + event log, tpmlogic.rs, 778 lines) → kernel self-verification boot → KPTI isolation state → user space. Measurements are produced before trust — any layer in the chain that gets tampered with leaves an indelible trace in the PCRs. The be-quirks list documents firmware pitfalls across the three platforms — real hardware/OVMF/QEMU — entry by entry: every self-developed entry carries a commit, and real-hardware entries are honestly marked “pending re-review” — the list may be incomplete, but the record must never lie.

3.2 Single CR3 × Compile-Time KPTI: Turning the Tax into a SKU

Mainline kernels pay a constant tax called KPTI for Meltdown-class side channels: two CR3 switches per syscall, plus a full TLB flush on older CPUs. Community-published measurements put the overhead at ~5% for most workloads and up to 25–30% in syscall-intensive scenarios. FuzigOS’s answer is to turn that tax into a SKU:

  • Default image: single CR3, zero switches, full performance;
  • Compliance image (kpti feature): generated from the same source code with a one-line compile-time switch — the K0 skeleton (feature gating + dual-mode compilation matrix + exit RAII guard) has landed, and the K1 reserved set/trampoline is being finalized. The design semantics is full KVA-Shadow, progress is labeled honestly, no jumping the gun.

Xinchuang (China IT localization initiative) mainstream CPUs (Hygon inherits the AMD lineage; Kunpeng and Phytium are ARM) are unaffected by Meltdown, so the default image delivers full performance; for the legacy Intel installed base and MLPS (classified protection) scenarios, a single feature flag yields the compliant build. The same codebase chooses how it pays the Meltdown tax according to CPU generation.

3.3 capability: a 1,624-line permission model

Permissions are not a binary world of root/non-root. Every capability is explicitly granted, auditable, and revocable — the attack surface shrinks from “the entire kernel” to “the few capabilities actually granted.”

3.4 Honest Gaps

We do not claim to “have passed formal verification,” nor do we promise “absolute security.” The security chapter retains a section with an honest gaps list — the courage to list what you do not have is the first line of defense of any security narrative.


4. Compatibility: Run Linux Software Without Becoming Linux

Software Status Notes
redis-server ✅ Full dynamic-musl chain; PING→PONG loop verified 3/3 in KVM testing (stability hardening underway)
nginx 🔶 Dynamic loading to entry achieved (M2); master-ready in progress (M3); HTTP responses not started (M4)
BusyBox ✅ Common applets
106 user programs ✅ compositor / wasm-runtime / ai-infer full suite builds green

Three hard metrics of compatibility depth:

  • 230 syscall handlers registered, covering the high-frequency surface of Linux applications;
  • Full dynamic linking pipeline: ldso loading → four classes of relocations → PLT → TLS → main program execution, all implemented natively;
  • 5 file systems (EXT4, exFAT, FAT32, FuzigFS, tmpfs, unified under a single FsDriver trait) + a network stack (TCP, UDP, DHCP, DNS, epoll, timerfd, IPv6) — line counts verifiable with wc, not PPT numbers.

Compatibility is not a pile of patches: 86 musl patches, each documented with 18 fields — ID, category, offset, status, rollback path. Why any given patch exists and whether it can be reverted is a table lookup. This is an auditable compatibility layer, not word-of-mouth magic.

Redis’s entrance exam deserves a section of its own: to get the dynamically linked redis-server through its first PING→PONG, we fought for about 40 days, through 800+ commits and 400+ debugging rounds—from allocator crashes, to SYS_READ=0 being wrongly routed to file reads so socket data was never read, to copy_to_user returning EFAULT when writing user pages under the kernel CR3. Every pitfall was fixed at the syscall semantics layer, not patched inside the Redis source. We didn’t adapt Redis; Redis simply didn’t recognize this kernel—and then it did.

The answer for glibc is equally clear: enter the VM first, then go native. The native side starts narrow and deep (musl-only), with the full glibc ecosystem initially handed off to the L1 Linux domain—this is scenario-based tailoring, rather than chasing the unbounded debt of full ABI compatibility from the outset; the glibc ecosystem can be rounded out step by step later when necessary.


5. Innovation and Breakthroughs: Five Things That Aren’t Just Slideware

We set one test for “innovation”: demonstrable, reproducible, measurable. All five pass:

1. Three layers, one kernel: one machine, three kernels. The microkernel + Type-1 HV + Linux compatibility surface are not three products; they are three facets of one and the same kernel. Among others pursuing the same route in the industry (Asterinas/Redox/DragonOS), none has yet delivered the complete combination of a Type-1 HV surface together with a Linux compatibility surface.

2. R0 direct delivery at 45.1ns (mean over 104 KVM rounds, Methodology A). The end-to-end round trip on the FuzigOS side is not measured yet — the 126ns quoted previously was a synthetic estimate (data plane + overhead + scheduling added together) and was withdrawn from external use on 2026-10-15 — so no ratio is given here. When comparing with competitors in the same table, mind the methodology: theirs are bare-metal official benchmarks, ours are measured under virtualization, and we have already conceded the first move.

3. Single CR3 × Compile-time KPTI. The performance image and the compliance image fork from the same source, turning the industry’s “security vs performance” dilemma into a one-line feature flag.

4. Taming Dynamic Linking + a Living Patch Archive. Treat musl as a fingerprint to decipher: 40 rounds of pinpointing, 86 entries on file, each one reversible. The compatibility layer’s engineering methodology is itself an asset.

5. AI native, with a place in the kernel — a place that is reserved, not hyped into existence. Scheduling hooks for lightweight tasks such as intent classification are reserved at L0 (the comments in neural_sched admit as much from the very first line: a hand-calibrated linear model, not a neural network); heavy models go through the L1 Linux domain ecosystem (TensorRT/ONNX); one microVM per workload (the Firecracker pattern), making multi-model isolation hardware-level. What we sell is “the lane for AI into the kernel is already marked out,” not “autonomous driving has been achieved.”


6. Application Scenarios: Five Customers, Five Ways to Live

Scenario What FuzigOS Delivers Why It Wins
AI boxes (primary battleground) L1 domain runs heavyweight models + hardware-grade multi-model isolation + minimal-image A/B OTA An embedded-Linux CVE waits on the upstream patch chain; FuzigOS’s TCB is an order of magnitude smaller
Cloud foundation Type-1 hypervisor as the cloud substrate directly, no host Linux The brutal pricing of virtualization giants is an industry-wide pain; a lightweight HV is the replacement wedge
Industrial control Deterministic scheduling (10kHz active tick, ACTIVE_HZ = 10000 in real code), hard-real-time surface reserved The VxWorks replacement window is opening
Security-compliance devices Measured boot + KPTI-compliant image + capabilities First bite of the policy dividend
Education Full source code + a kernel sized to actually finish reading in one semester A 40-million-line kernel can’t teach an OS course; 168,000 lines can

7. Engineering Methodology: The Compound Interest of Extreme Engineering

  • 166K+ lines of kernel code, about 1 year, an extremely small team with AI assistance — compared with Asterinas at 100K+ lines / 50+ contributors / 3 years (as reported in the USENIX ATC’25 paper). The gap is not arithmetic like “X times the output per person”; it is structural: Rust + microkernel + a restrained scope, with AI assistance lifting a small team’s output to the scale of an industry team.
  • 104 rounds of stress testing, 23 self-tests registered in-kernel, 2,560 #[test]/#[test_case] annotations across the entire repository, 86 patches × 18 fields — behind every number lies an auditable engineering discipline.
  • Honest gap culture: every technical article keeps a “Next steps (no evasion)” section. Only by knowing where we stand can we know where to go.

8. Next Steps (No Dodging)

  • Real-hardware bare-metal performance matrix collection in progress — the Boot Entry multi-platform quirks framework has been documented; real-hardware entries pending backfill;
  • The 128-concurrency stress test will be rerun after merge regression wrap-up (Redis stability SL-71 not yet closed, honestly recorded);
  • RK3588 BSP pre-research kicked off; AI box prototype hardware is on the selection list.

Conclusion

Building an operating system is the industry’s hardest test of long-term commitment. In one year, FuzigOS proved one thing: writing a kernel from scratch that is fast, secure, and capable of running Linux software is not a fantasy—it is a measurable engineering fact.

We don’t write off Linux — we run Linux where it belongs. We don’t build an operating system for everyone — we build the one the edge AI era calls for.

FuzigOS · One machine, three kernels.


Data discipline: 52ns is measured in a QEMU/HVF virtualized environment (Methodology B — virtualization is typically slower than bare metal); 45.1ns/29.4ns are the mean of 104 rounds of KVM stress testing (Methodology A); the end-to-end IPC round trip has no same-layer measurement and no ratio is given (the 126ns figure was a synthetic estimate, withdrawn from external use on 2026-10-15); competitor data is cited from the Asterinas USENIX ATC’25 Table 7 and seL4 sel4bench (bare metal, methodology noted); Linux KPTI overhead cites publicly reported measured ranges from the community. All figures are traceable to repository archives and benchmark scripts.

Honesty Statement (Must Read)

  1. All data comes from virtualized environments (macOS QEMU HVF / KVM), with no bare-metal measurements; comparisons against competitors measured on bare metal involve measurement-environment differences, and the size of the lead includes an element of inference (virtualization is typically slower → the lead on real hardware would likely be larger, but this has not been measured).
  2. Methodology A (104-round KVM average), Methodology B (competitor benchmarks; the FuzigOS side awaits same-layer re-measurement) and Methodology C (same-environment Linux comparison) are three separate measurement methodologies; this document labels them distinctly and never mixes them.
  3. Sole source for the seL4 numbers: docs/COMPETITIVE_REPORT_2026-08.md (sel4bench: call 774cyc + reply 639cyc @ Haswell 3.4GHz).
  4. nginx status is reported as-is per docs/nginx-m0-m2-m3-status.md (2026-09-16): M2 achieved, M3 in active development, M4 not started.
  5. AI inference is an architectural provision: neural_sched self-describes as a hand-calibrated linear model, not a neural network; multi-model isolation in microVM form has already landed in L1, while the native-side lightweight inference path remains untested.