I have been setting up Zram, Swap, Swappiness and EasyOOM daemon on 16gb ram boxes, or lower. Someone asked me about 32gb of ram, or more, and I’m unsure. Wondering if others have experimented with this!

  • monovergent@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    13 hours ago

    My workstation has 48 GB RAM with 50% allocation allowed to zram, no disk swapping. It works just fine. Once I use up the majority of my RAM, it kicks in the same way it would on any other system with less RAM.

  • PetteriPano@lemmy.world
    link
    fedilink
    arrow-up
    3
    arrow-down
    2
    ·
    edit-2
    15 hours ago

    zram makes sense if you do not have swap.

    zswap is probably enabled by default in most distros. It compresses cold pages on the fly so that they’re ready to quickly get swapped in and out.

    I do hit the swap partition occasionally on my 32GB systems.

    It doesn’t really kick in until you have proper pressure. I want my swap partition for hibernation, anyway.