Close Menu
MyAppsPlus

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    California is suing Kalshi for, you guessed it, running ‘an illegal sports gambling platform’

    December 2, 2026

    Developer ‘deletes Linux’ to make AI run up to 54% faster — but most of the speed boost never needed Linux gone

    December 2, 2026

    Rainbow Six Siege game director says the FPS is kept thriving by ‘listening to players’ and using its ‘balancing philosophy’ to know what changes are most ‘impactful’ — ‘We work with our pros… and try to think ‘who is this feature for?’

    December 2, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    MyAppsPlusMyAppsPlus
    Thursday, December 3
    • Home
    • Breaking Tech
    • Apps & Software
    • AI & Automation
    • Android
    • iPhone & iOS
    • More
      • Reviews
      • How-To Guides
      • Deals & Discounts
      • Shop
    MyAppsPlus
    Home»Reviews»Developer ‘deletes Linux’ to make AI run up to 54% faster — but most of the speed boost never needed Linux gone
    Reviews

    Developer ‘deletes Linux’ to make AI run up to 54% faster — but most of the speed boost never needed Linux gone

    myappsplusBy myappsplusDecember 2, 2026006 Mins Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    Developer ‘deletes Linux’ to make AI run up to 54% faster — but most of the speed boost never needed Linux gone
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link
    • Alexey Fateev’s llm.asm boots a 24 KB assembly kernel straight into a Qwen3-0.6B chat in under 100 ms
    • The bare-metal numbers were measured inside KVM, a Linux hypervisor, and prompt processing is far slower than llama.cpp’s
    • A Linux engine written in raw hex by Gemini 4 Neon reportedly beat the bare-metal OS by 41%, pointing at llama.cpp’s baseline rather than Linux

    A developer has written a complete operating system in hand-crafted x86-64 assembly whose only job is to run a language model, and says it generates text up to 54% faster than llama.cpp running on Linux.

    Alexey Fateev announced the project on X on November 25 2026 with the line “I deleted Linux completely.”

    The kernel, part of his MIT-licensed llm.asm repository, was a 24,252-byte Multiboot binary at launch (the current build has grown slightly, to 25,404 bytes), written in NASM with no C, Rust, or libc. It boots in 74 to 94 milliseconds into 64-bit long mode, wakes every CPU core, and drops straight into a multi-turn chat with Alibaba’s Qwen3-0.6B over a VGA console, PS/2 keyboard, and serial port.

    A 24 KB kernel with a 614 MiB passenger

    Tom’s Hardware framed the project around size, observing that the model is “roughly 28,000 times bigger than the OS that references it.” That holds for the older 649 MiB weight format, but the framing tends to ignore speed.

    As SnackOnAI points out, every generated token streams the full weight file through the processor, so the kernel’s footprint is a rounding error next to the data it moves.

    What the 24 KB leaves out matters more: Hardware Busters notes there is no storage, networking, or GPU support; GRUB loads the weights into RAM before the kernel starts. The system needs AVX2, FMA, and F16C instruction sets, relies on a Python script to convert the checkpoint, and runs exactly one model, the smallest dense member of the Qwen3 family Alibaba released in April 2025.

    Fateev benchmarked three setups on an AMD EPYC 7642, a 48-core Zen 2 chip from the 2019 “Rome” generation: llama.cpp forced onto the CPU, its own 14.7 KB inference engine running as an ordinary Linux program, and the bootable kernel.

    The 54% figure is the four-thread result, 78.89 tokens per second against llama.cpp’s 51.08, although that pairs the kernel’s best run with llama.cpp’s three-run average.

    The Linux-hosted build already managed 69.24 tokens per second at four threads, 35.6% faster than llama.cpp. This means roughly two-thirds of the gap exists with Linux fully intact, and leaving Linux behind adds between 7% and 14%, depending on thread count.

    Fateev says as much in his own post, crediting most of the bare-metal bonus to mapping memory with 2 MiB pages. Linux can use 2 MiB pages too, through transparent huge pages or hugetlbfs, and as Blackmoreops notes, llama.cpp was never tested with them.

    There is considerable irony here: The EPYC numbers for the “no Linux” kernel were recorded inside a QEMU/KVM virtual machine, and KVM is part of the Linux kernel. The second test ran under Proxmox VE, itself a Linux-based hypervisor, on a 2014 Xeon. As far as the published material shows, the kernel has not been measured on unvirtualized hardware, so the 54% compares a guest running on top of Linux with llama.cpp running directly on it.

    A fast-talking, slow-listening approach to a problem

    The comparison also covers only half of inference: llama.cpp processes prompts in batches, while llm.asm feeds them in one token at a time, and the inference engine’s README shows the cost: 26.7 to 160.8 tokens per second of prefill, against llama.cpp’s 56 to 1,113, measured on a prompt of just 34 tokens.

    Extrapolating from those figures, SnackOnAI estimates that for a 2,000-token prompt and a 200-token reply, llama.cpp would finish in about 3.7 seconds, compared with roughly 14 seconds for llm.asm.

    Hardware Busters puts it best here, highlighting the limitation: “Larger models lean harder on memory bandwidth, where hand-tuned instructions buy you far less.” Token generation is usually memory-bound, since every token requires a pass over the weights.

    The bare-metal peak of 134.94 tokens per second moves about 87 GB/s, roughly 42% of the 204.8 GB/s theoretical peak AMD lists for the EPYC 7642, assuming all eight memory channels are populated, which Fateev does not state. At this tiny model size, therefore, the plateau seems to owe as much to threading and synchronization as to raw bandwidth.

    Fateev’s next experiment supports that reading. A day later, he published a machine-code “battle” in which Gemini 4 Neon and Claude Opus 5.5 each wrote a Linux inference engine for the same model in raw hexadecimal, with no compiler or assembler.

    Gemini’s engine reportedly peaked at 188.93 tokens per second at 32 threads, against a llama.cpp baseline of 103.82, identical to the one in the llm.asm tables. If that holds, a program running on ordinary Linux beats the “no Linux” kernel’s 133.75 at the same thread count by about 41%, while Claude’s 125.13 lands close to Fateev’s own Linux build.

    Two days after deleting Linux, Fateev went the other way, posting a 74 KB hypervisor that “puts a 2B LLM BELOW Linux in Ring -1.”

    Per the project’s README, it runs beneath an unmodified Linux 5.15 kernel with a MiniCPM5-2B model; when the kernel faults, it freezes the guest, has the model propose a machine-code patch, validates it, writes it into memory, and resumes. Fateev reports 119 passes in 122 held-out scenarios, including cases where the right call was not to patch.

    The faults were deliberately triggered by his own test module, and the demonstrated fix overwrites the faulting instruction with NOPs, keeping the machine running but simply skipping whatever that write was meant to do.

    Fateev’s achievement is real. Writing a BPE tokenizer, multicore bring-up, and an INT8 matrix engine in raw assembly, with output that stays bit-exact across thread counts and matches a PyTorch reference on all 64 greedy test tokens, is serious work, and the README documents its limits openly.

    The trouble is the framing here: The team behind NightRun, a similar project that boots a model from UEFI firmware, avoids calling it bare metal because “precision matters more than a cooler-sounding claim.”

    llm.asm deserved the same treatment in my opinion; Linux itself began as “just a hobby” 35 years ago, and hand-tuned kernels like these are how mainstream tools get faster. Anyone running small models on a local AI mini PC stands to gain more when these tricks reach llama.cpp than from wiping their operating system, at least for now.

    deletes Developer linux Make Pro
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    myappsplus
    • Website

    Related Posts

    Titan Evo Gaming Chair (2026) Review

    December 2, 2026

    How to watch Rockefeller Tree Lighting for free

    December 2, 2026

    Experts warn Microsoft Store infiltrated by fake 2FA and AI apps to hide malware

    December 2, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Top Posts

    The pros and cons of using your phone as a mobile hotspot

    November 16, 202651 Views

    UiPath Launches AI Coding Agent, Integrates Claude Code and Codex to Target Development Automation

    November 16, 202648 Views

    Announcing Artificial Analysis Intelligence Index v5

    October 28, 202645 Views
    Latest Reviews

    I gave the Steam Machine 3 stars at launch — but a game-changing update and this 1TB storage hack has me thinking differently

    myappsplusSeptember 14, 2026

    ‘You’re still going to be steamrolled by the super intelligences created in the US’: UK government rejects calls for an AI ‘kill switch’

    myappsplusSeptember 14, 2026

    Need a laptop for university or work? AO has slashed £350 off this Asus Zenbook 14 OLED Intel Core Ultra 7 ultraportable

    myappsplusSeptember 14, 2026
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram

    Subscribe to Updates

    Get the latest tech news from FooBar about tech, design and biz.

    Most Popular

    The GameCube games we still love, 25 years later

    September 14, 20260 Views

    Hear how AI can engineer nature’s comeback at Disrupt 2026

    September 14, 20260 Views

    Oppo confirms Find X10 series details ahead of September 22 launch

    September 14, 20260 Views
    Our Picks

    California is suing Kalshi for, you guessed it, running ‘an illegal sports gambling platform’

    December 2, 2026

    Developer ‘deletes Linux’ to make AI run up to 54% faster — but most of the speed boost never needed Linux gone

    December 2, 2026

    Rainbow Six Siege game director says the FPS is kept thriving by ‘listening to players’ and using its ‘balancing philosophy’ to know what changes are most ‘impactful’ — ‘We work with our pros… and try to think ‘who is this feature for?’

    December 2, 2026

    Subscribe to Updates

    Subscribe to our newsletter and get the latest tech news, app updates, AI trends, smartphone reviews, and exclusive deals delivered straight to your inbox.

    Facebook X (Twitter) Instagram Pinterest
    • About Us
    • Get In Touch
    • Disclaimer
    • Privacy Policy
    • Terms & Conditions
    © 2026 MyAppsPlus. All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.