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!

  • non_burglar@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    11 hours ago

    That isn’t how swappiness works.

    Changing the sysctl for swappiness only adjusts the ratio of anonymous and file pages, it doesn’t set a “threshold” or “aggressivity” in swapping pages, nor does it dictate how much or how little to swap.

    It’s generally ill-advised to touch swappiness at all unless you know what you’re doing. You can start here.

    If you’re going to hand out free advice, at least make sure the advice is worth the price of admission.

    • ISO@lemmy.zip
      link
      fedilink
      arrow-up
      1
      arrow-down
      5
      ·
      10 hours ago

      If you’re going to hand out free advice, at least make sure the advice is worth the price of admission.

      This is very ironic, considering your comment is a mix of straw man and wrong.