← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Developer creates 24KB pure assembly OS for LLMs, booting in 74ms and running LLMs faster

🔄 Updated 3d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • 24KB pure assembly OS boots in 74-94 milliseconds.
  • Runs Qwen3-0.6B LLM up to 54% faster than Linux.
  • Supports VGA, PS/2 keyboards, and serial communications.
  • Source code and setup guide are available on GitHub.

Bare-Metal OS for LLMs

Alexey Fateev, known as alesha-pro on GitHub, developed a 24KB bare-metal operating system written entirely in assembly language. This OS is designed to run large language models (LLMs) directly on hardware, bypassing traditional operating systems like Linux or Windows. The project, named "Bare-Metal Bootable Qwen3-0.6B OS," is shared for community use.

Compact Size and Fast Boot

The Multiboot OS binary, asm-llm-os.elf, has a size of 24,252 bytes. It was written from scratch without relying on C, Rust, or libc. The OS supports 80x25 character color VGA displays, PS/2 keyboards, and serial communications. It can boot directly to its multi-turn chat interface in 74-94 milliseconds.

LLM Performance Improvements

The assembly OS demonstrates performance gains when running the Qwen3-0.6B Q8_0 LLM, which is 649MB in size. Benchmarks comparing the assembly OS to a Linux installation running the same LLM via llama.cpp showed the assembly OS to be up to 54% faster. On an AMD EPYC 7642 system, 4 threads achieved 78.89 tok/s on the assembly OS versus 51.08 tok/s on Linux, representing a 54% increase. Even the lowest observed performance uplift was 31% with 16 threads.

Availability and Testing

The full MIT-licensed source code, an ISO builder, and a setup guide are available on GitHub at github.com/alesha-pro/llm.asm. For users who do not require bare-metal operation, a Linux-hosted version of the inference binary is also available, which is 14KB due to 10KB of savings from not needing certain components.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~4 min · 3 stories · Dec 01

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

A developer created a 24KB bare-metal operating system written in pure assembly language that boots in 74 milliseconds. This OS runs the Qwen3-0.6B LLM up to 54% faster than Linux running the same LLM via llama.cpp. The project is open-source and available for other developers to test and modify.