News for hackers. Stuff that matters.
Re:In defense of swap: common misconceptions (2018) by zozbot234 on Thursday April 21, 2022 @04:04AM (#31107019)
> Swap will destroy SSDs. You thought the write load from logging is bad? Try putting a consumer-grade SSD into a machine with 512 GiB RAM and let the kernel swap to it -- that SSD will be dead in a year.

You can run with a low swappiness value and the kernel will not proactively swap out process memory unless required. Even light use of swap is probably fine as it likely involves rare process pages that will never be written to after being swapped out so there's no threshing on the SSD, only a few large writes.

There are no comments on this comment yet.