• bertlewirth@lemy.lol
    link
    fedilink
    arrow-up
    28
    ·
    1 day ago

    that’s a common thing with linux. Windows is bloated as all fuck, and linux is far less bloated (distro dependent of course, but even the “bloated” ones are still leaner than windows)

    • 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
        ·
        1 day 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.

        • KubeRoot@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          3
          ·
          18 hours ago

          I hate that saying for two reasons:

          1. In my experience, it always takes time to free up cache and whatnot. Both on Windows and Linux I’d occasionally be sitting there pissed about my system stuttering as it needs to clear cache to allocate memory, and being told how it’s free and the cache can always be freed.
          2. There are actual problems with memory, I occasionally find I have gigabytes of missing memory unaccounted for on my Arch system, reported as occupied but with process memory not adding up to the amount… And I struggle to find anything to try to troubleshoot it because it’s mostly just the same spiel over and over about how caching is good, actually. I have 32GB of RAM and I think 32GB of swap, and I’ll be low on RAM with just a web browser running, having to reboot to do anything.

          The problem of applications also just using excessive memory is another issue, and people will also claim it’s good that your web browser needs 3GB of RAM to display a simple website, actually, which only makes it worse.

        • BartyDeCanter@piefed.social
          link
          fedilink
          English
          arrow-up
          3
          ·
          20 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
            ·
            19 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
            ·
            20 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.