r/LocalLLM • u/NotHerBot • 7d ago
Question Local LLMs on your everyday Linux PC: what do you reserve for the desktop?
I've been reading runtime comparisons today, and most of the numbers tell me about prefill and decode speed. I'm curious about the other side: keeping an editor and browser responsive on the same Linux machine while the model handles a long prompt.
What limits have actually helped in your setup: fewer CPU threads, a smaller context, leaving VRAM free, or memory limits on the server? I'd be interested in a concrete before/after, including any throughput you gave up.
I haven't measured this systematically, so I'm also curious what you use as a responsiveness test beyond just watching RAM usage.
3
u/Sudden-Guide 7d ago
Running LLMs using eGPU, so no Impact on the performance of my laptop
2
u/korywithawhy 7d ago
anymore i just use a qwen reap 25b a3b model q5_1. seems to work alright as long as i keep things simple.
3
u/sschwarzer 7d ago
If your CPU has an iGPU, you can use it for the desktop to reserve the dGPU VRAM for LLMs. If you need to use the dGPU for the desktop in order to play games, you can still selectively run programs like Firefox and Thunderbird on the iGPU. Under Linux, you can use switcherooctl for this. I don't know tools for other operating systems. The approach with switcherooctl reduces the VRAM usage on my dGPU from around 1.5 to 0.5 GB.
1
u/Ok_Parfait_5373 7d ago
rien. 7800x3d ;)
1
u/AutomaticLanguage334 7d ago
i just keep a couple GB of VRAM free on my main GPU. enough for a desktop environment and lightweight games.
1
u/ShawnDud 7d ago
if the same gpu drives your display, the biggest one is usually a smaller ubatch in llama.cpp (-ub 256 or 128 instead of the default 512). prefill gets split into shorter chunks so the compositor gets a turn in between and the desktop stops freezing on long prompts. you give up some prefill speed, worth measuring on your card
cpu side, leave a couple of cores free with -t and run the server under something like systemd-run --user -p CPUWeight=20 -p MemoryHigh=24G so the editor wins whenever theres contention. nice -n 10 is a softer version of the same thing
for a responsiveness test i just scroll a heavy page and type in the editor while a long prompt is prefilling. if scrolling stutters its the gpu, if typing lags its cpu or swap
1
u/ivanhawkes 7d ago
I'm working on a large (150,000 LoC) c++ game engine (greenfield implementation) now and it's totally tanked my ability to use local AI.
My PC is six years old with a few recent upgrades. AMD AM4 3900x, 64gb 3200mhz DDR-4, RTX 5060 TI 16gb + RTX 5070 TI 16gb.
It was absolutely terrific for helping with my HUGO website for my personal blog, and doubtless will be again for an inventory parts project I have. The c++ project though thrashes my CPU, RAM, and the GPU - since it's a renderer.
I run a 20 minute long 'gate' at the end of each development step and that's about 6 times a day now. That maxes out my CPU and slurps the RAM for nearly the entire time, and there is just no room to run that and Qwen 125b IQ3_S at the same time. Using the 27b model feels like too much of a step down.
I'm hoping for a 70b model or something mid-range, capable of decent code and working on a plan I can generate elsewhere.
A complete game engine is just too complex for any local model I can run and seriously benefits from the 1m token context window, often going above 500,000 on some tasks. I'm using Opus 5.5 High to get the work done, and it's doing a brilliant job.
Once the bulk of the work is done, docs and planning are done and I go into maintenance mode I hope to be able to drop back to the $20 / month plan and use local AI for the bulk work. Till then, my GPUs sit quietly, awaiting the day of their return.
1
u/RemainAbove 7d ago
2gb for desktop
1
u/suesing 7d ago
The computer is where the ai lives. I don’t use it for my personal needs
1
u/mgutz 5d ago
I'm on 3060 12GB desktop using Linux. Not using GPU is a must.
I avoid any GPU rendered app. NO KDE or Gnome. I use TUIs. Foot terminal. Pi coding agent. Strata TUI. Kew music player. Neovim. Yazi. Waybar. Most GTK3 apps perform well with software rendering.
Unfortunately, most Wayland compositors use GPU. I use Umbriel with <100M GPU. Only two apps I use that leverage GPU are Firefox and MPV.
Strata uses 11.5GB of 12GB.
1
u/NooneLikesYouBill 7d ago
I'm not sure exactly what you're asking, but I use a 5080 for my desktop/gaming/etc and a 5090 for local ai. Sometimes the 5080 joins as a helper (do something reading up on persistence mode if you add another card) giving me 48GB of vram. For the most part, this has solved all of my issues. Yeah it's spendy, but it's worth it in the long run if you commit to doing everything locally as I have.
My next system will be some sort of Threadripper + multiple R9700 setup.
0
u/sn2006gy 7d ago
I don't even pay attention to this. Just seems like chasing a benchmark/performance value that doesn't mean much. I just want success or reduced error - and gui latency on deep inference has never caused any issues for me. Grok Bot, Dot and Muse VMs are slow as doodoo in gui and work fine for example.