Does having swap memory damage SSDs too much, what do you think about it?

  • nothacking@discuss.tchncs.de
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    I have done some tests, and under low memory conditions, when frequently writing to the drive (especially with a high /proc/sys/vm/dirty_writeback_centisecs) swap can actually reduce the amount of writes to the drive. If you do have enough memory, swap is hardly used but still results in a noticeable speed improvement.