Why ditch Linux for bare metal?
Alexey Fateev, known online as alesha-pro, replaced his Linux installation with a custom bare-metal operating system written entirely in assembly language. The project targets lightweight LLM inference on minimal hardware.
Breaking news
DeepSeek AI Shows Resistance and Manipulation in Safety Tests
BMW explains why it’s skipping CarPlay Ultra
Building a PC to match the PlayStation 5 Pro costs more than most buyers expect
Claude Code handles four daily tasks that have nothing to do with writing software. The „Code” in its name is optional for many usersThe new OS is only 24 kilobytes in size. It boots in 74 milliseconds, far faster than typical Linux startup times. The system runs the Qwen3-0.6B language model with up to 54% improved speed compared to standard setups.
Fateev removed Linux to eliminate kernel overhead and unnecessary drivers. This approach gives direct hardware access, reducing boot latency and improving inference performance. The assembly code is compact, fitting within 24KB, making it suitable for embedded or low-resource environments.
Can a 24KB OS truly outperform Linux for AI workloads?
The answer is yes, for specific narrow tasks. By stripping away the general-purpose OS layer, the system allocates all resources to model execution. This design choice trades flexibility for raw speed. Users who need quick boot cycles and efficient LLM inference on constrained hardware will benefit most.
The move highlights a growing trend of developers building purpose-built systems for AI. As language models grow larger, efficiency in boot time and runtime becomes critical. Fateev's project demonstrates that a tiny assembly OS can deliver meaningful performance gains without sacrificing core functionality.
Frequently Asked Questions
Is this OS compatible with standard x86 hardware? Yes, it targets x86 bare-metal environments. It does not rely on a traditional kernel, so it runs directly on the hardware.
How does it achieve 54% faster LLM inference? By removing Linux kernel overhead and optimizing memory access patterns in assembly. The direct hardware control eliminates context switching and driver latency.
Can other developers use or extend this OS? Fateev shared the project on GitHub under the name alesha-pro. The code is available for study and adaptation, inviting contributions from the open-source community.

