News for hackers. Stuff that matters.
Re:Baldur's Gate 3 Steam Deck – Native Version by baq on Wednesday September 24, 2025 @01:20AM (#45356581)
The linux kernel’s handling of IO under memory pressure is abysmal. I have to tune dirty ratios and write back ages and swap and whatnot just to get the system to not hard lock when running multiple node microservices in stages which run fine, just slower, when starting them all at once on a MacBook.

Disclaimer: I don’t even like macOS.

Re:Baldur's Gate 3 Steam Deck – Native Version by hackernudes on Wednesday September 24, 2025 @10:43AM (#45361147)
I've had similar problems but no amount of tweaking vm and vfs cache settings helped. Swap or not, both 32gb and 128gb of ram. Manually reclaiming memory would un-lock the system (/sys/fs/cgroup/memory.reclaim).

I wrote a user space memory reclaimer and have not got a lockup since. https://gist.github.com/EBADBEEF/f168458028f684a91148f4d3e79...

Re:Baldur's Gate 3 Steam Deck – Native Version by baq on Wednesday September 24, 2025 @10:55AM (#45361293)
I don't know how to give more visibility to this hack, but it deserves it. Bookmarking and deploying on my boxen.