LIVE
Kawasaki Ninja H2R: The Track Motorcycle That Outpaces Elite Hypercars Samsung UK Launches Cashback Promotion of Up to £350 on Select Galaxy Devices via Amazon Baseus U2 Pro Outdoor Security Camera Review: Twin 3K Lenses and Solar Power Top Picks from the 2026 Automotive Awards: From Mazda to Audi GPD MicroPC 2 Adds Intel Core 3 N350 Processor Option Sony Inzone H9 II Gaming Headset Launches for $349 with 30-Hour Battery and Esports Tuning Citizen Cuts Zenshin Chrono Super Titanium to $506 in Holiday Sale Humble Bundle Launches New Turn-Based RPG Pack Priced at $15 Pluto TV Expands Library with 140 New Titles for December OpenAI and Anthropic Restrict Cryptography Research Following AI-Detected Vulnerabilities Kawasaki Ninja H2R: The Track Motorcycle That Outpaces Elite Hypercars Samsung UK Launches Cashback Promotion of Up to £350 on Select Galaxy Devices via Amazon Baseus U2 Pro Outdoor Security Camera Review: Twin 3K Lenses and Solar Power Top Picks from the 2026 Automotive Awards: From Mazda to Audi GPD MicroPC 2 Adds Intel Core 3 N350 Processor Option Sony Inzone H9 II Gaming Headset Launches for $349 with 30-Hour Battery and Esports Tuning Citizen Cuts Zenshin Chrono Super Titanium to $506 in Holiday Sale Humble Bundle Launches New Turn-Based RPG Pack Priced at $15 Pluto TV Expands Library with 140 New Titles for December OpenAI and Anthropic Restrict Cryptography Research Following AI-Detected Vulnerabilities

Developer achieves 54% faster LLM inference by bypassing Linux

💻 Laptops & PCs 2 min read 👁 6

Software developer Alexey Fateev has created a custom x86-64 assembly kernel designed to run language models, bypassing traditional operating systems to boost performance.

Developer achieves 54% faster LLM inference by bypassing Linux💻Laptops & PCs

Photo: techradar.com

Key points

  • Custom 25 KB assembly kernel boots directly to an AI chat interface.
  • Achieved 54% faster token generation compared to standard llama.cpp.
  • Performance gains are largely attributed to 2 MiB memory page mapping.
  • Significant limitations include lack of storage, networking, and slower prompt prefill.

Developer Alexey Fateev has introduced llm.asm, a specialized operating system written entirely in hand-crafted x86-64 assembly. Designed to run Alibaba's Qwen3-0.6B language model, the project aims to eliminate the overhead of traditional operating systems. The kernel, which measures approximately 25 KB, boots directly into a chat interface without relying on C, Rust, or standard libraries.

Testing on an AMD EPYC 7642 processor showed that the custom kernel achieved 78.89 tokens per second, a 54% increase over the 51.08 tokens per second recorded by llama.cpp running on Linux. However, the performance gap narrows significantly when accounting for specific memory optimizations. When the inference engine was run as a standard Linux program using 2 MiB memory pages, it achieved 69.24 tokens per second, suggesting that much of the speed gain is due to memory management rather than the removal of the OS itself.

The project faces significant practical limitations, as the kernel lacks support for networking, storage, and GPU acceleration. Furthermore, while the system shows gains in token generation, it is significantly slower than llama.cpp at prompt prefill. Because token generation is largely memory-bound, the benefits of hand-tuned assembly instructions diminish as model sizes increase, making this approach currently unsuitable for larger, more complex AI applications.

Source techradar.com — techradar.com/pro/developer-deletes-linux-to-make-ai-run-up-to-54-p… ↗

Contact the newsroom

Got a tip, a proposal or a partnership question? Write to us and we will reply shortly.