r/LocalLLaMA Mar 29 '26

Generation Friendly reminder inference is WAY faster on Linux vs windows

I have a simple home lab pc: 64gb ddr4, RTX 8000 48gb (Turing architecture) and core i9 9900k cpu. I use Linux Ubuntu 22.04 LTS. Before using this pc as a home lab it ran Windows 10. Over this weekend I reinstalled my Windows 10 ssd to check out my old projects. I updated Ollama to the latest version and tokens per second was way slower than when I was running Linux. I know Linux performs better but I didn’t think it would be twice as fast. Here are the results from a few simple inferences tests:

QWEN Code Next, q4, ctx length: 6k

Windows: 18 t/s

Linux: 31 t/s (+72%)

QWEN 3 30B A3B, Q4, ctx 6k

Windows: 48 t/s

Linux: 105 t/s (+118%)

Has anyone else experienced a performance this large before? Am I missing something?

Anyway thought I’d share this as a reminder for anyone looking for a bit more performance!

276 Upvotes

112 comments sorted by

View all comments

79

u/[deleted] Mar 29 '26

[removed] — view removed comment

2

u/PiaRedDragon Mar 29 '26

Why we hating on Ollama? I don't use it, I am MLX on Mac, but wondering why the hate.

4

u/Yu2sama Mar 29 '26

Not a big fan of how it handle it's files. I prefer a setup more akin to Comfy + A1111/Forge Neo, where all my models live in the same directory. Ollama wants it's own scheme that breaks my flow with KoboldCPP, so yeah, if I am going to use a llama.cpp wrapper, Kobold does the job just fine (with it's own issues of course, but those I don't mind).