News for hackers. Stuff that matters.
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by baq on Wednesday October 22, 2025 @12:49AM (#45664991)
Linux being absolute dogshit if it’s under any sort of memory pressure is the reason, not swap or no swap. Modern systems would be much better off tweaking dirty bytes/ratios, but fundamentally the kernel needs to be dragged into the XXI century sometime.
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by ValdikSS on Wednesday October 22, 2025 @09:08AM (#45668522)
It's kind of solved since kernel 6.1 with MGLRU, see above.

Dirty buffer should also be tuned (limited), absolutely. Default is 20% of RAM, (with 5 second writeback and 30 second expire intervals), which is COMPLETELY insane. I limit it to 64 MB max usually, with 1 second writeback and 3 second expire intervals.