News for hackers. Stuff that matters.
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by zoeysmithe on Tuesday October 21, 2025 @06:55PM (#45662768)
This is really interesting and I've never really heard about this. What is going on with the kernel team then? Are they just going to keep swap as-is for backwards compatibility then everyone else just disables it? Or if this advice just for high performance clusters?
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by kccqzy on Tuesday October 21, 2025 @07:10PM (#45662932)
No. I use swap for my home machines. Most people should leave swap enabled. In fact I recommend the setup outlined in the kernel docs for tmpfs: https://docs.kernel.org/filesystems/tmpfs.html which is to have a big swap and use tmpfs for /tmp and /var/tmp.
Re:Replacing a $3000/mo Heroku bill with a $55/mo server by gchamonlive on Tuesday October 21, 2025 @07:12PM (#45662966)
As someone else said, swap is important not only in the case the system exhaust main memory, but it's used to efficiently use system memory before that (caching, offload page blocks to swap that aren't frequently used etc...)