@[email protected] to [email protected]English • edit-21 year agoIs using a swap partition (on linux) bad for an SSD's lifetime?message-square29fedilinkarrow-up155arrow-down11file-text
arrow-up154arrow-down1message-squareIs using a swap partition (on linux) bad for an SSD's lifetime?@[email protected] to [email protected]English • edit-21 year agomessage-square29fedilinkfile-text
minus-square@[email protected]linkfedilink10•1 year agoI did calculate it once on an older samsung drive. If you write multiple terabytes every day, you will cross samsungs estimated lifetime in 3 years. I have no idea how much data a swap partition move per day but it can’t be near that much?
minus-square@[email protected]linkfedilink4•1 year agoBut the swap partition is only used when you run out of ram right? If I have enough ram I should not worry about that.
minus-square@[email protected]linkfedilink12•1 year agoNo, it’s used much more often. How often is determined by a value called swapiness.
minus-square@[email protected]linkfedilinkEnglish9•1 year ago100% this. An aggressive memory manager could preemptively write everything from memory to swap even though it’s still in memory, in case it has to evict it quickly.
I did calculate it once on an older samsung drive. If you write multiple terabytes every day, you will cross samsungs estimated lifetime in 3 years.
I have no idea how much data a swap partition move per day but it can’t be near that much?
But the swap partition is only used when you run out of ram right? If I have enough ram I should not worry about that.
No, it’s used much more often. How often is determined by a value called swapiness.
100% this. An aggressive memory manager could preemptively write everything from memory to swap even though it’s still in memory, in case it has to evict it quickly.