• milagemayvary@mstdn.social
    link
    fedilink
    arrow-up
    0
    ·
    22 hours ago

    @potatoguy

    I use default Debian settings for zram myself, simple setup.

    Never experienced slowdowns, got my Raspi4 using it + utilizing a tmpfs.

    Got a luanti server with the world sqlite data base living on the tmpfs which is very snappy & utilize a mildly complex script that utilizes rsync to copy from ssd to tmpfs at start & only the changes back to the ssd at shutdown.

    Now when you want to do larger tasks that require gobs of space or you’re using nvmes, Ive read that zswap is better.

    • potatoguy@mbin.potato-guy.spaceOP
      link
      fedilink
      arrow-up
      0
      ·
      22 hours ago

      @milagemayvary@mstdn.social

      Yeah, I used zram on the past, it’s really good, but some OOMs and stutters under high memory pressure made me change to zswap with lz4, it’s a very intelligent cache for these high memory use scenarios. But mounting a directory directly to memory is a very needed feature for zswap hahaha.