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…

Что это такое?Motor OS — это простая, быстрая и безопасная операционная система, созданная для облака. Она рассчитана на виртуализированные нагрузки — веб-хостинг, serverless-вычисления и кэширование на границе сети — и написана целиком на Rust, от ядра до оболочки.
Почему запускать её вместо Linux в виртуальной машине?Linux оптимизирован для железа, поэтому внутри виртуальной машины он дублирует кэши и планировщик хоста. Motor OS изначально спроектирована для виртуалок: только драйверы VirtIO, микроядро и конфигурация, встроенная прямо в образ.
Как её запустить?Соберите из исходников — инструкция в docs/build.md — и загрузите образ как гостевую систему KVM в QEMU, Cloud Hypervisor или Firecracker. Сайт motor-os.org подробнее рассказывает об архитектуре и инструментах.
Что нужно на хосте, чтобы её запустить?Машина x86-64 с KVM: Motor OS работает только как гостевая система KVM. Диски и сеть работают через VirtIO, так что другие драйверы железа не нужны.
Она готова к использованию в продакшене?Качество приближается к бете. Сеть считается готовой к продакшену в рамках поддерживаемых возможностей, и сам сайт работает на виртуалках с Motor OS, но независимого аудита безопасности пока не было.
Почему в Motor OS нет fork, сигналов и пользователей?Модель процессов намеренно минимальна ради безопасности: каждый процесс несёт неизменяемое слово-мандат (capability word), а три роли, которые из него выводятся — System, Interactive и None — управляют правами доступа к файловой системе. Сервисы, сеть и права описываются в нескольких конфиг-файлах, которые входят в состав образа.
Как быстро она загружается?В README фигурирует порядка 100 мс, а измеренные загрузки через MBR (QEMU) и PVH (Cloud Hypervisor, Firecracker) занимают около 200 мс. Быстрая загрузка — явно заявленная цель дизайна для облачных нагрузок.
Что умеет сетевой стек?IPv4 и IPv6, DHCPv4, TCP с CUBIC, SACK, RACK-TLP и SYN cookies, плюс UDP и ICMP, на скорости около 10 Гбит/с от хоста к гостю. Это единственная подсистема, которую README называет готовой к продакшену.
Creator
moturus
Size
18.9 MB
Stars
1.1K
Updated
CommitOct 13
Age
2y
Commits · 90 Days