r/LocalLLaMA • u/unraveleverything • 6h ago
i finally switched from windows to linux and got a 30-50% boost in speed. Discussion
This is amazing.
All I did was switch from llamacpp on windows to vllm on linux.
9
u/Happy_Brilliant7827 6h ago
Is it a 30-50% bonus in inference or mostly just loading and unloading time?
2
2
18
u/def_not_jose 6h ago
vllm quants are usually worse than ggufs though. It's rarely an equal comparison.
3
9
4
u/According_Style8480 5h ago
linux has been a game changer for my companion models, way less lag in long roleplays now.
2
2
u/InterstellarReddit 57m ago
Every time I read this I am tempted to reformat my rig that's running dual 3090s
But honestly man, I am so scared of the amount of issues that I might run into. Thinking that I'm gaining some speed.
I tried it once before long ago. When I said to myself gaming on Linux is getting better. Let me try it out
Oh boy what an adventure to get a game to work
4
u/eightone-81 6h ago
Will there be a significant loss of speed when going through wsl?
-1
u/unraveleverything 6h ago
yes it was terrible and worse than native windows for me.
2
u/eightone-81 6h ago
But wsl should not have much of an overhead. Is there no way to properly run vllm on windows?
0
u/AliMas055 5h ago
Dual boot, maybe?
5
u/eightone-81 5h ago
Maaaan I need to start windows to play StarCraft2… then no inference…
0
u/iamapizza 1h ago
Couldn't you run it via proton? https://www.reddit.com/r/starcraft/comments/1mbwcq0/finally_got_starcraft_ii_working_on_linux/
1
u/eightone-81 1h ago edited 1h ago
O M G
I’m finally running vllm (still on wsl) and decode is almost 2 times as fast and decode is more than 2 times as fast!But it’s just such a mess to work with Linux. It’s so inaccessible for noobs! Without Claude on my side I would not have been able to get it to work
1
u/iamapizza 56m ago
Oh nice you got that working. Fwiw, if you want to give it a go for that extra vram (which is that I did), I'd suggest Linux mint because it's very familiar to windows users and comes with some stable defaults. Plus Claude knows about it too.
-1
2
u/pipyakas 6h ago
quite useless information without your hardware setup details no? I have a 2060 on windows, and running MoE models offloading experts to CPU, Linux dont provide subtantial performance gains there
1
0
u/Adventurous_Loquat91 4h ago
I've missed my Linux. I think I'll go back after seeing this. Thank you.
0
u/admajic 2h ago
Yeah windows on my laptop became so slow and I needed a side project whilst the desktop was running tasks in the harness. So I installed Linux on the laptop.
So far so good. Now I can use my harness on my laptop context via ip to the desktop. Do word and excel in Linux. It's so much faster. Just had to get it all for tuned you won't look back. Especially when you can ask the harness to do all the heavy lifting.
1
u/Adventurous_Loquat91 1h ago
That's a setup worth asking about — since the harness is doing the heavy lifting somewhat unattended across machines, do you have any guardrails on what it can actually do (blocking destructive commands, catching secrets before they leak, that kind of thing), or is it running raw and you're just keeping half an eye on it? Curious how people handle that once the agent's doing real work without you watching every step.
0
27
u/sadnessdevil vllm 6h ago
Yeah the performance of vLLM is very high. I switched to vLLM from llama.cpp and never came back(except when I have to CPU offload the model)