Markov Operating System
Markov is a capability-based microkernel operating system inspired by L4 and seL4, with UNIX® and POSIX® compatibility as design goals.*
Rationale
Markov keeps privileged code small and runs most subsystems in isolated userspace processes. A driver or filesystem can fail independently of the kernel.
The microkernel is BSD 2-Clause licensed. Imported services and drivers, including code from FreeBSD and Linux, retain their own licenses.
Features
The architecture covers working components and planned support.
- Microkernel
- Capability-checked IPC and userspace services for virtual memory, VFS, and drivers.
- Base system
- Bootloader, kernel, and userland with a package-based build and a Single UNIX® Specification Version 5 compatibility goal.
- Storage and memory
- FreeBSD and Linux filesystem ports, including UFS, ZFS, FAT, ext4, and XFS, plus WKdm, Zstandard, LZ4, and 842 compression for memory and swap.
- Networking
- FreeBSD-derived IPv4 and IPv6 networking, with PF, IPFW, and the FreeBSD, RACK, and BBR TCP stacks in scope.
- Scheduling and tracing
- SMP and NUMA scheduling with cache, energy, heterogeneous-core, and hardware-feedback awareness. Timeshare policies draw on EEVDF, 4BSD, and ULE. Tracing uses eBPF.
- Drivers and graphics
- Linux driver compatibility through LinuxKPI, with DRM, X11, and Wayland in scope.
- Foreign ABIs
- The design supports launching individual foreign executables directly from the native shell and running full foreign userspaces in zones inspired by Solaris BrandZ. Planned targets include Linux, FreeBSD, Darwin, and Windows through Wine.
Downloads
FAQ
What language is Markov written in?
The microkernel is written in C++. Native interfaces are available in C and C++, and upstream C ports use the C API.
Why C++ instead of Rust?
I can read and write C++, and I prefer it for kernel work. I use LLMs to generate much of the code, and I still want to understand it and stay in control of what goes into the kernel.
Can I write a driver or server in Rust?
Rust will stay optional. I’ll reject Rust PRs that touch core or shared code. I’ll consider only trivial, self-contained components, and what counts as trivial is a judgment call.
Is Markov production-ready?
Markov is under active development and is still experimental.
When will the source and images be available?
I’m currently vibe coding to see whether the concept works. Once I’ve cleaned up the code and fixed what I find, I’ll publish the source and disk images.
How are platforms selected?
A platform needs an active maintainer who can keep it working after the first successful boot. That sets a high bar for niche architectures like SPARC, Itanium, Alpha, PA-RISC, and MIPS.
Where did the name Markov come from?
I thought it sounded cool, which makes it a perfect name for LinkedIn larping.
How does versioning work?
Markov follows Semantic Versioning 2.0, with release names inspired by AT&T UNIX® System V. The first stable release will be Markov System I Release 1 (SIR1), and System I is abbreviated SysI. Version 1.5.3 is Markov System I Release 5 Patch 3 (SIR5P3). Breaking userspace API or ABI changes bump the major version. New features and breaking kernel API or ABI changes bump the minor version. Bug fixes, including security fixes, bump the patch version.
UNIX is a registered trademark of The Open Group. POSIX is a registered certification mark of IEEE.