Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Isn't "swappiness = 0" recommended for SSD-based swap partitions to reduce SSD wear?!?


Relatively modern SSDs will write at least 500TB before dying:

http://techreport.com/review/26523/the-ssd-endurance-experim...

I've an SSD that's been running in my development Linux laptop for very, very close to three years. The drive houses a couple of encrypted swap partitions along with the rest of the system. According to the SMART attributes, I've written 18TB to it in that time.

Don't worry about SSD wear. Really, don't. Either you'll get a drive that succumbs to crib death or super-shitty v1.0 firmware, or you'll get a drive that will last until long after you outgrow it.


It's like a new pair of shoes; give it a few weeks and you won't mind the wear so much.


I've seen swappiness = 1 as a recommendation rather than 0.


if you want to reduce SSD wear, just don't have a swap partition on SSD (or by not having a swap partition at all if you only have SSD)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: