• xthexder@l.sw0.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    I’m assuming you’re using it as swap so you can take advantage of the compression? Sounds like there’d be a performance hit, but maybe turning half your RAM into compressed swap is better than using an SSD as swap?

    • ChaosMonkey@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Yes, I use half of the RAM as compressed swap. The performance hit wasn’t noticeable in my workflows and at least it doesn’t wear out my SSD.

      • xthexder@l.sw0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        I guess in most cases a bunch of the ram used by things like Chrome isn’t being actively used, so it makes sense it’d be fine to compress. Usually you can only see one or two tabs at a time anyway. I think for some truely memory demanding tasks like compiling there’d be a pretty noticeable difference vs actually having more ram, but it’s good to know this is an option. And the SSD wear is definitely a concern with regular swap unless you go and buy some used Optane drives