Quills@sh.itjust.works to Asklemmy@lemmy.mlEnglish · edit-21 year agoIs using a swap partition (on linux) bad for an SSD's lifetime?message-squaremessage-square24fedilinkarrow-up147arrow-down11file-text
arrow-up146arrow-down1message-squareIs using a swap partition (on linux) bad for an SSD's lifetime?Quills@sh.itjust.works to Asklemmy@lemmy.mlEnglish · edit-21 year agomessage-square24fedilinkfile-text
minus-squarekev@lemmy.kevhomeit.tradelinkfedilinkarrow-up3arrow-down1·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-squareWyrryellinkfedilinkarrow-up10·1 year agoNo, it’s used much more often. How often is determined by a value called swapiness.
minus-squarejet@hackertalks.comlinkfedilinkEnglisharrow-up7·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.
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.