motor-os README

The project's README from github.com/moturus/motor-os. As one markdown file: README.md.

Motor OS

Motor OS is a simple, fast, and secure operating system built for the cloud. It targets virtualized workloads such as web serving, serverless computing, and edge caching, and avoids the overhead a general-purpose OS carries when it runs inside a VM.

It is written entirely in Rust, from the kernel to the shell, and its system interface is Rust, not C. It runs as an x86-64 KVM guest under QEMU, Cloud Hypervisor, and Firecracker.

This README is a summary. The details are on the website, motor-os.org: the architecture, the process model, the filesystem, networking, terminals, the commands and programs, the toolchains, and how to develop for Motor OS in Rust and in C/C++.

Why

At the moment, most virtualized production workloads run Linux. Linux has many advanced features that in many situations make it the only reasonable choice, but several things make it less than ideal, in theory, for some virtualized workloads:

A new operating system built from the ground up with a focus on virtualized workloads can be made much simpler and more secure than Linux, while matching or exceeding its performance and efficiency.

What Motor OS does differently:

What

Motor OS is a microkernel-based operating system. The kernel, about 18,600 lines of no_std Rust with four syscalls, manages address spaces, threads, scheduling, capabilities, and wait/wake objects. Everything else runs in userspace: sys-io owns the VirtIO block and network devices, the journaling filesystem (Motor FS), and the networking stack (moto-netstack); sys-init starts services; sys-tty drives the serial console; strobe collects logs and metrics; dns-resolver resolves names; russhd serves SSH. A per-process runtime object, rt.vdso, implements the system interface that Rust's standard library calls through the small moto-rt crate.

What works today:

Status

Motor OS is approaching beta quality. Its development started in 2021, and in 2026 it went through weeks of systematic AI-assisted review and hardening, of the networking stack in particular. Networking is considered ready for production use within its supported feature set; the rest of the system is exercised daily by the full test suite, by long soak runs, and by the website, which is served from Motor OS VMs. There has been no independent security audit yet.

Building, running, developing

See docs/build.md for the build instructions, docs/tools.md for the VM scripts and the tools inside the VM, docs/toolchain.md for how the toolchain is versioned and updated, and docs/recipes/index.md for examples. The website covers all of this in more detail, including the toolchains and Lorry.

motor-os (moturus/motor-os)

Searching Database…

What is this?Motor OS is a simple, fast, and secure operating system built for the cloud. It targets virtualized workloads — web serving, serverless computing, and edge caching — and is written entirely in Rust, kernel to shell.
Why run this instead of Linux in a VM?Linux is optimized for bare metal, so inside a VM it duplicates caches and scheduling with the host. Motor OS is designed for VMs from the start: only VirtIO drivers, a microkernel, and configuration baked into the image.
How do I get it running?Build it from source — instructions are in docs/build.md — and boot the image as a KVM guest under QEMU, Cloud Hypervisor, or Firecracker. The motor-os.org site covers the architecture and tooling in more depth.
What do I need on the host to run it?An x86-64 machine with KVM: Motor OS runs only as a KVM guest. VirtIO covers disk and network, so no other hardware drivers are needed.
Is it ready for production use?It is approaching beta quality. Networking is considered production-ready within its supported feature set and the site itself is served from Motor OS VMs, but no independent security audit has happened yet.
Why are there no fork, signals, or users in Motor OS?The process model is deliberately small for security: each process carries an immutable capability word, and three roles derived from it — System, Interactive, and None — drive filesystem permissions. Services, networking, and permissions are declared in a few config files that are part of the image.
How fast does it boot?The README headlines roughly 100 ms, with measured MBR (QEMU) and PVH (Cloud Hypervisor, Firecracker) boots at about 200 ms. Fast boot is an explicit design goal for cloud workloads.
What can the network stack do?IPv4 and IPv6, DHCPv4, TCP with CUBIC, SACK, RACK-TLP, and SYN cookies, plus UDP and ICMP, at about 10 Gbps host-to-guest. It is the one subsystem the README calls ready for production.
Creator
moturus
Size
18.9 MB
Stars
1.1K
Updated
CommitOct 13
Age
2y
Commits · 90 Days