• BartyDeCanter@piefed.social
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 day ago

    Hey, yeah. I’m running Aurora which has made some choices that make it use more ram than most distros, and it still idles under 1GB on my laptop. My workstation is a different matter, but it’s running a bunch of services for my home network.

    • pmk@piefed.ca
      link
      fedilink
      English
      arrow-up
      6
      ·
      24 hours ago

      There’s a saying “unused ram is wasted ram”. Generally it’s good to make use of the ram you have, it speeds up things. The problem is applications hogging ram when it’s not necessary. That’s where the design and engineering of applications matter. I guess my point is, that when the OS and applications use ram well, you want to make use of the ram you have.

      • BartyDeCanter@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        17 hours ago

        There is, and it’s a stupid saying. You can’t just “use ram to speed up things” arbitrarily. Yes, for many algorithms you can make a ram vs cpu tradeoff while they are running, and caching filesystem blocks in ram makes file operations much faster, and there definitely is other caching that is useful, but only so much. And on an idle machine most of that isn’t going to be happening.

        This is part of why the Linux kernel separates out free, wired, used, buff/cache, and shared as separate measures. Filling up the buffers and cache correctly will speed up many operations, but it doesn’t count as used.

        • boonhet@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          ·
          16 hours ago

          I mean if you buy 64 GB of RAM and never use more than like 13-14 and make sure to have as little caching going on as possible, that’s a bunch of RAM being wasted.

          People chase the biggest amount of free RAM possible, not realizing that caching things makes them faster, whereas having a ton of extra free memory sitting unused does not. That’s what that saying is about.

        • pmk@piefed.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          17 hours ago

          That’s why I wrote: “when the OS and applications use ram well”. Not arbitrarily putting things there, but also not thinking that low usage is inherently better.