Does having swap memory damage SSDs too much, what do you think about it?
My thought on this:
If it was bad, wouldn’t we know by now?
SSD-only systems have been a thing for over a decade, and SSDs themselves have been around for decades.
If standard swap files damage SSDs, someone probably would have said something.
Makes sense…
Use Zram instead of Swap
doubt it would hurt the drive’s lifespan to a noticeable extent. swap partitions have been used for decades on much more fickle hardware.
I’d still only recommend them for systems with under 16GB of RAM (especially if that’s shared with VRAM like a steamdeck) but otherwise it doesn’t have much benefit.
PS: Even if a swap partition is set up, it won’t necessarily be used until memory pages are evicted into swap, which usually only happens when regular RAM is nearly depleted.
Consider ZRAM/compressed RAM swap, maybe?