AdvertiseDonate
Monday, November 30, 2026Local news for Pinellas County, Florida.
Pinellas County Herald · 3001 North Rocky Point Drive East, Suite 200, Tampa, FL 33607
Tech · AI

Developer swaps Linux for 24KB assembly OS to run Qwen3-0.6B

The bare-metal system boots in 74 milliseconds and benchmarks up to 54% faster than the llama.cpp implementation on Linux.

By Jonathan Reed ·

Illustration for: Developer swaps Linux for 24KB assembly OS to run Qwen3-0.6B
Illustration generated for this article, not a news photograph.

Alexey Fateev, known on GitHub as alesha-pro, released a 24KB operating system written entirely in assembly language to run large language models without a traditional kernel. The project, titled asm-llm-os.elf, is a Multiboot binary that supports Symmetric Multiprocessing (SMP) and was built from scratch without using C, Rust, or libc.

The binary file size is 24,252 bytes. Fateev noted that this size is smaller than the 20KB ROM used by the Commodore 64, which contained a kernel, BASIC interpreter, and character generator. The system boots to a multi-turn chat interface in 74 to 94 milliseconds.

The operating system handles input and output through 80x25 character color VGA displays, PS/2 keyboards, and serial communications. Despite the small footprint of the OS, it loads the Qwen3-0.6B model in Q8_0 quantization, which requires 649MB of storage. The model is approximately 28,000 times larger than the operating system that loads it.

Performance testing on an AMD EPYC 7642 system showed speed advantages over a standard Linux installation using llama.cpp. With four threads, the assembly-based OS achieved 78.89 tokens per second, compared to 51.08 tokens per second on Linux, a 54% increase. The smallest performance gain recorded was 31% when using 16 threads.

Fateev released the source code under the MIT license, along with an ISO builder and setup guide at github.com/alesha-pro/llm.asm. A Linux-hosted version of the inference binary is also available, measuring 14KB. This version omits the 10KB of code required for system boot, processor initialization, and hardware I/O setup.

The project targets enthusiasts who want to code-tweak and test the system. Fateev described the setup as a bare-metal alternative for running LLMs, emphasizing the efficiency of the hand-written NASM assembly language project.

More Tech · Report a business · Got a Story?

Get Pinellas County Herald in your inboxLocal news for Pinellas County, Florida. Free, a few times a week, unsubscribe any time.

Get Pinellas County Herald in your inboxLocal news for Pinellas County, Florida. Free, a few times a week, unsubscribe any time.