Newsroom Wire

US11-28 20:00⏱ 4 min read

AI enthusiast deletes Linux for a 24KB pure assembly OS that boots in 74 milliseconds

AI enthusiast deletes Linux for a 24KB p

Join for quick access. Enter your email below and we'll send confirmation plus sign you up to our newsletter.

I deleted Linux completely, baked Qwen3-0.6B into a 24 KB pure x86-64 assembly OS, and it runs up to 54% faster than native Linux llama.cpp.

— Alexey Fateev

It boots in 74 to 94 ms straight into 64-bit Long Mode, wakes every CPU core over APIC, maps the 614 MiB Q8_0 weights directly from physical RAM, and drops you into a live multi-turn KV-cache chat over VGA, PS/2 keyboard, and serial.

— Alexey Fateev

By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.

Get started with free access to reviews, badges and discussions.

Unlock exclusive tools and insights for enthusiasts who want more.

Access Bench, Roadmaps, deep analysis and other exclusive tools.

Dive into our proprietary testing data and compare hardware with detailed benchmarks.

Go beyond the headlines with expert reporting on the hardware industry.

Track upcoming CPUs, GPUs and tech releases before they arrive.

In-depth features, interviews and insider stories from the world of hardware.

Expert insights and analysis delivered to your inbox.

Dive into our proprietary testing data and compare hardware with detailed benchmarks.

Go beyond the headlines with expert reporting on the hardware industry.

Track upcoming CPUs, GPUs and tech releases before they arrive.

In-depth features, interviews and insider stories from the world of hardware.

Expert insights and analysis delivered to your inbox.

Your membership journey starts here.

Keep exploring and earning more as a member.

News, reviews, and technical insights.

Reviews, benchmarks, and updates on current GPUs.

Explore your membership benefits.

Keep exploring with your premium access.

Join for quick access. Enter your email below and we'll send confirmation plus sign you up to our newsletter.

By submitting your information you agree to the Terms & Conditions and Privacy Policy and are aged 16 or over.

Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.

Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.

Unlock instant access to exclusive member features.

Your newsletter sign-up was successful

Get full access to premium articles, exclusive features and a growing list of member rewards.

Is your OS getting in the way of your computing? Rebalance your resource use.

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

An intrepid developer has deleted their Linux OS and coded a tiny assembly language bare-metal bootable alternative to run LLMs.The result is a super-fast standalone system that starts in milliseconds and runs LLMs up to 54% faster.

Tom's Hardware hero image: Bare-Metal Bootable Qwen3-0.6B OS in 24 KB of Pure Assembly
Tom's Hardware hero image: Bare-Metal Bootable Qwen3-0.6B OS in 24 KB of Pure AssemblyTom's Hardware
2026-11-25

Repo, ISO builder, and Proxmox setup guide are in the reply below.

Moreover, Alexey Fateev, AKA alesha-pro on GitHub, has shared his Bare-Metal Bootable Qwen3-0.6B OS in 24 KB of Pure Assembly for other enthusiasts to code-tweak and test.

24,252 bytes

OS binary

hand-written x86-64 assembly, no Linux/Windows/C/Rust/libc

74–94 ms

Boot time

straight into 64-bit Long Mode, straight to the chat prompt

+54%

Top speedup

4 threads vs llama.cpp (Q8_0, -ngl 0), author's own run

134.94 tok/s

Peak throughput

at 16 threads; llama.cpp scored 103.03 same setup

95 ms

Diskless VM boot

diskless Proxmox VM (Xeon E5-2670 v3, 2 GiB RAM), prompt in under 5 s

649MB

Model weights

Qwen3-0.6B Q8_0 weights, mapped straight from physical RAM

Decode speed, same-machine self-test (tok/s)
asm OS, 1 threadllama.cpp, 1 threadasm OS, 4 threadsllama.cpp, 4 threadsasm OS, 8 threadsllama.cpp, 8 threadsasm OS, 16 threadsllama.cpp, 16 threads

Self-reported: one AMD EPYC 7642, Qwen3-0.6B Q8_0, llama.cpp -ngl 0, CPU only; not independently reproduced

Speedup over llama.cpp (%)

The edge narrows at 16 threads; 136.6 tok/s in the source line is an instantaneous peak

I deleted Linux completely, baked Qwen3-0.6B into a 24 KB pure x86-64 assembly OS, and it runs up to 54% faster than native Linux llama.cpp.The entire Multiboot OS binary (asm-llm-os.elf) is 24,252 bytes, written from scratch without Linux, Windows, C, Rust, or libc.

It boots in 74 to 94 ms straight into 64-bit Long Mode, wakes every CPU core over APIC, maps the 614 MiB Q8_0 weights directly from physical RAM, and drops you into a live multi-turn KV-cache chat over VGA, PS/2 keyboard, and serial.

The bare-metal VGA chat console from the author's repo (alesha-pro/llm.asm)
The bare-metal VGA chat console from the author's repo (alesha-pro/llm.asm)GitHub @alesha-pro

I ran head-to-head CPU benchmarks against llama.cpp (Q8_0, -ngl 0) on the same AMD EPYC 7642: - 1 thread hits 23.67 tok/s vs 16.63 (+42%) - 4 threads hit 78.89 tok/s vs 51.08 (+54%) - 8 threads hit 118.08 tok/s vs 80.79 (+46%) - 16 threads hit 134.94 tok/s vs 103.03 (+31%, 136.6 peak) On a diskless 0 GB Proxmox VM (2014 12-core Intel Xeon E5-2670 v3, 2 GiB RAM), it boots straight to the prompt in under 5 seconds (95 ms kernel boot) and runs live out of RAM at 78 tok/s decode and up to 111.5 tok/s prefill, with a hybrid BIOS+UEFI ISO builder included too.

Output stays bit-exact across thread counts and matches all 64 greedy tokens against PyTorch FP32 (0.99965 cosine).The 14.7 KB Linux ELF build (FAST_Q8=1 INT8xINT8 AVX2+F16C) also beats llama.cpp by 18% to 36% from 1 to 40 threads, and booting bare metal with 2 MiB huge pages squeezes out another 10% on top.

Repo, ISO builder, and Proxmox setup guide are in the reply below.November 25, 2026

The compact size of this Multiboot OS binary (asm-llm-os.elf) is remarkable. Weighing in at just 24KB (24,252 bytes), it makes modern operating systems seem gargantuan. However, one must remember that the legendary Commodore 64 worked off a smaller 20KB ROM, which included not only the kernel but also a BASIC interpreter and a character generator.

Fateev says that his Multiboot OS with modern SMP support was written from scratch without Linux, Windows, C, Rust, or libc.Users interact with the new OS via its support for 80x25 character color VGA displays, PS/2 keyboards, and serial communications.

Such is the purposeful efficiency of this hand-written NASM assembly language project that it can boot in 74-94 milliseconds directly to its multi-turn chat interface.You're ready to chat with your LLM in the blink of an eye.

While the OS and its carefully honed UI use only a tiny portion of the computer's resources, the OS loads Qwen3-0.6B Q8_0, which weighs in at 649MB. That's something of a lightweight LLM, as

01Not a general-purpose OS

It does one thing: chat with Qwen3-0.6B over a VGA text console and a PS/2 keyboard. As the post describes it, everything else still means booting back to your regular system.

0254% is the best-looking case

The gain ranges from +31% to +54% across four thread counts and narrows at 16 threads. These are the author's own runs against llama.cpp (-ngl 0) on one EPYC 7642 — no third-party reproduction yet.

03What shrinks is the OS, not the model

The 24 KB covers kernel and inference code; the 614 MiB of Q8_0 weights still have to fit in physical RAM.

04Do the numbers hold up

The author reports all 64 greedy tokens matching PyTorch FP32 bit-exactly (0.99965 cosine) — a self-check, not an outside audit.

Snapshot for aggregated reading; content from the public web, © the original publishers.

AI NewsCove

Opening article…