• spicystraw@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      9 hours ago

      Too bad, this isn’t happening as a kernel patch. Adding to that point:

      The key detail is that CRAM is a hardware implementation of compression, meaning the logic is in the memory controller rather than in software, so it’s not a pure software trick like ZRAM. However, it uses standard off-the-shelf DRAM and a normal memory bus, so no exotic modules or custom interfaces are required.

  • jdr@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    24 hours ago

    But you need a CXL device which does the (de)compression in hardware between the CPU and RAM?

  • Vitaly@feddit.uk
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    So there are some benefits to the ram crisis? People actually optimize things because of limited resources.

    • khannie@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      20 hours ago

      When I was in computer science in college back in the 1900s, they told us that the USSR was responsible for some of the best algorithms still in use at the time (both for RAM and CPU usage) because they just had less to work with.

      Guess we’re all in that boat now.

    • Carl [he/him]@hexbear.net
      link
      fedilink
      English
      arrow-up
      0
      ·
      23 hours ago

      That certainly seems to be a genre of article right now.

      Cloudflare frees up 100TB of RAM by shrinking 1.1.1.1’s DNS cache entries

      MSI promises an EXPO ULL-like boost for your existing DDR5 memory

      Microsoft vows to make Windows 11 fly on 8GB RAM amid memory shortage

      • Salty_NZ@aussie.zone
        link
        fedilink
        arrow-up
        0
        ·
        14 hours ago

        Microsoft vows to make Windows 11 fly on 8GB RAM amid memory shortage

        I feel like they might want to start with something a little simpler, like landing the first humans on Jupiter or making Windows 11 fly on 1024GB RAM.

    • novafunc@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      23 hours ago

      Does it count as optimization? For supported hardware, it’s certainly cool. But it’s not making inefficient software better, it’s making better use of the hardware.

      • sekki@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        20 hours ago

        So using the back of a knife to cut something is not more efficient than using the sharp side? I would say making better use of hardware is also an efficiency gain. You use the same hardware to do more, while not driving up cost significantly. That is efficiency in my book.

        • novafunc@discuss.tchncs.de
          link
          fedilink
          arrow-up
          0
          ·
          20 hours ago

          It’s not using the same hardware, this seems to use a special compression chip.

          To me this feels more like the benefits of a CPU or GPU upgrade. Things run faster, but not due to software improvements. When people talk about things getting optimized due to the high RAM prices, I think most people are referring to software improvements.

          • sekki@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            7 hours ago

            There is no mention of any extra hardware here though. The article even suggests this to benefit existing hardware like the steam deck.

            • novafunc@discuss.tchncs.de
              link
              fedilink
              arrow-up
              0
              ·
              2 hours ago

              In another comment, I posted a link to the CRAM presentation that mentioned a chip.

              This article also mentions some hardware:

              Because CRAM is stored in RAM and treated as RAM, with full cacheline/byte access, it can be accessed in a read-only fashion with little delay; just the cost of hardware-offloaded compression.

              I don’t think it would say that if they meant the CPU was doing the compression.

    • Random Dent@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      24 hours ago

      You know it’s getting weird out there when Meta seems to be doing something that’s actually useful.

      • cantstopthesignal@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        20 hours ago

        Whenever big tech companies like Meta do useful things like support Overture Maps Foundation (which is also supported by Microsoft and Amazon) they are doing it to blunt some competitive advantage another tech company has, such as google in this case. They support open source insofar as they can’t monetize whatever they are open sourcing.

      • boonhet@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        22 hours ago

        They’ve been doing useful engineering things since the start, it’s just that it pales in comparison to all the bad things

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    So, from what i’ve got from the comments; instead of doing swap shenanigans except in RAM like ZRAM (which slows it down), it just compresses content to a separate portion of RAM and points there?