News for hackers. Stuff that matters.
Re:In defense of swap: common misconceptions (2018) by theamk on Thursday April 21, 2022 @10:40PM (#31117627)
Because once swap activates, build now takes hours instead of tens of minutes. So it would timeout anyway, but only after wasting lots of resources. And even if you increase the timeout a lot instead, your machine how has a bunch of things swapped out, so now your tests timeout, which is even worse.

Yes, killing that part of the build did destroy the work of hours. It was still better to disable the swap than try to "ride it out".

Re:In defense of swap: common misconceptions (2018) by Teletio on Friday April 22, 2022 @10:55AM (#31122334)
Things don't just take hours longer just because the Linux kernel throws out a few pages which haven't been used for a while.

And it also totally depends on how much memory is missing.

I still prefer to have something taking 20 minutes longer instead of failing and fine-tuning the resources after it.