Live data from Hacker News

Linux 7.3 improves performance when running out of vRAM

pixelcluster.dev

81–90 of 328 posts

Re: Linux 7.3 improves performance when running out of vRAM

#82
post #74

I hope there will be an update where when my RAM gets full my PC doesn't freeze and becomes unusable... I remember that Linux and Windows do this in different ways and Windows doesn't have the problem.

macOS too sadly. by the time you realise there's a problem the machine is already comatose and unresponsive all these electron apps and invisible virtual machines (looking at you Claude) really don't help.

One of the biggest reason I migrated to Codex. I'd like to see each agentic CLI process as a simple building block, and having 100 claude session means I sometimes run out of memory (and I have 256GB of them). Codex never have this problem.

The communication is more direct too with GPT5.6 family of LLM. No more belt and suspenders.

Re: Linux 7.3 improves performance when running out of vRAM

#83
post #36

This post focuses on performance, but what about crashing due to apps seeing no RAM available to allocate once VRAM is filled up? I remember having this problem when I used an NVIDIA 750 Ti with 2 GB of memory. Just opening a few Firefox or Ghostty terminals (both are GPU accelerated) would result in those apps crashing or not being able to render their contents. Sometimes the compositor would crash or become unstabl…

I have this problem with an 8gib 2080. Nvidia drivers have bugs with Wayland or Vulkan which is at least partially a memory leak.

Here’s one for example: https://forums.developer.nvidia.com/t/kwin-6-7-x-causes-mass...

Just search KWin Nvidia memory leak or Wayland Nvidia memory leak or kwin wayland Nvidia memory leak. It’s constantly issues and I remain convinced some intermixing of the two + monitors is at fault.

Re: Linux 7.3 improves performance when running out of vRAM

#84

I hope there will be an update where when my RAM gets full my PC doesn't freeze and becomes unusable... I remember that Linux and Windows do this in different ways and Windows doesn't have the problem.

Its not enabled by default, but enabling MGLRU setting /sys/kernel/mm/lru_gen/min_ttl_ms to 70 has entirely resolved the issue for me. It _does_ usually pick firefox or vscode to kill, but my system remains interactive, with no need for earlyoom.

Docs https://docs.kernel.org/admin-guide/mm/multigen_lru.html#thr...

Re: Linux 7.3 improves performance when running out of vRAM

#85
post #11

Gosh, 7.2 literally just dropped with a bunch of awesome of performance/gaming related improvements (large folios, cache-aware scheduling, improved MGLRU reclaiming, Fair GPU Scheduler etc)... and I already can't wait for 7.3 to come out. Meanwhile in the Windows world, users hate updates... Like I genuinely can't think of a single instance that made users exclaim, "oh boy I just can't wait for the next Patch Tuesday…

The best thing about Win10 reaching EOL is not being at the mercy of Windows Update any more. It was by far the biggest risk to having a functioning system.

Re: Linux 7.3 improves performance when running out of vRAM

#86

I hope there will be an update where when my RAM gets full my PC doesn't freeze and becomes unusable... I remember that Linux and Windows do this in different ways and Windows doesn't have the problem.

When my RAM gets full the kernel kills Firefox (3 profiles) so the PC becomes unusable, with lost data.

Re: Linux 7.3 improves performance when running out of vRAM

#87

I hope there will be an update where when my RAM gets full my PC doesn't freeze and becomes unusable... I remember that Linux and Windows do this in different ways and Windows doesn't have the problem.

For me Windows becomes unusable as soon as any of my drives is being hammered, including when it is swapping, but not limited to it.

Re: Linux 7.3 improves performance when running out of vRAM

#88

I hope there will be an update where when my RAM gets full my PC doesn't freeze and becomes unusable... I remember that Linux and Windows do this in different ways and Windows doesn't have the problem.

Are these directly comparable, though? Doesn't Windows default to using free space on the system drive to grow the swap file in case of memory pressure? Linux has you set up swap files/partitions explicitly.

Re: Linux 7.3 improves performance when running out of vRAM

#89
post #85
post #11

Gosh, 7.2 literally just dropped with a bunch of awesome of performance/gaming related improvements (large folios, cache-aware scheduling, improved MGLRU reclaiming, Fair GPU Scheduler etc)... and I already can't wait for 7.3 to come out. Meanwhile in the Windows world, users hate updates... Like I genuinely can't think of a single instance that made users exclaim, "oh boy I just can't wait for the next Patch Tuesday…

The best thing about Win10 reaching EOL is not being at the mercy of Windows Update any more. It was by far the biggest risk to having a functioning system.

Windows is such a horrible OS to use when you work in a small company that isn't big enough to have IT to shield you from all the horrible stuff, like in a small studio. Normally I work in Linux, sometimes need to boot Windows just to do some export or something, then goal is to boot into Linux again ASAP. But time and time again fucking Windows forces me to prepping updates when shutting down for next boot, with literally no way around it, even weird terminal incantations can't stop this, nor changes in the registry, it just refuses to shut down without prepping to apply updates on the next boot.

Which means next time I have something to do on Windows that in reality takes ~30 seconds once I'm in, it'll instead take 15 minutes because Windows decides that my time is worth nothing to them.

Add in that I use Windows maybe once a month or something, and every single experience with using Windows for me is this fucked up process of time wasting.

Re: Linux 7.3 improves performance when running out of vRAM

#90

Earlier quoted context omitted.

Just an observation.

Would you have made that observation and pointed it out if they were not trans?

I am inclined to rather point out remarkable things than unremarkable things. There seems to be relatively many trans people in this niche.

If I see a soil that is unusually rich in iron, I would be more inclined to point that out. If I come across a piece of soil that is as average as the 98% of the surrounding lands I wouldn't be less likely to point out "hey look, this soil is unremarkable average."

Also, it was just an aside from me. It is unclear what your problem is exactly, and I am also not sure if a tech forum could provide counsel for that.

Post reply on HN