MGLRU.

On my low RAM/CPU netbook it is a game changer; thanks to ZRAM the netbook is perfect for browsing the internet/light work. When running my backups (creates big tarballs) or Ansible though, my desktop/applications would freeze/stutter noticeably. Enabling MGLRU simply solved the problem of freezes/stuttering, it feels like magic and besides ZRAM, I don’t know of any other lever with this massive impact on desktop performance.

Just wanted to share this, for other users with low RAM/CPU hardware. I would assume the observed difference is less dramatic, once 8GB of RAM are available, but I would love to hear about other experiences.

I would also love to hear/learn about other levers with high impact to tweak for low RAM/CPU desktop devices. Anything else to tweak under /sys /proc which has impact on performance?

    • wolf@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      Debian does not enable it by default, cat /sys/kernel/mm/lru_gen/enabled will be a 0.

      • geoff@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        13 hours ago

        I’m on trixie, since recent Mesa has many fixes for very old Radeon GPUs, and it appears to be on by default! At least, I didn’t intentionally turn it on and it’s on.