• corroded@lemmy.world
    link
    fedilink
    arrow-up
    22
    arrow-down
    1
    ·
    3 days ago

    I don’t understand how this is an advantage. Yes, you can swap RAM with the system powered up, but what happens to the information in the module that was removed? Is the OS doing some kind of RAID-like memory allocation? The article wasn’t clear on how this would actually work.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      19
      ·
      3 days ago

      Apparently, there’s some coordination mechanism, where you tell the OS that you want to remove a certain memory stick, so it moves all the memory onto other RAM sticks (or uses paging to move it to your hard drive). Only then would you actually physically unplug the memory stick.

      See, for example: https://docs.kernel.org/admin-guide/mm/memory-hotplug.html
      (Mind that this is kernel documentation. If you actually want to do this, there’s probably some CLI program to make it easier.)

        • Ephera@lemmy.ml
          link
          fedilink
          arrow-up
          17
          ·
          3 days ago

          I guess, you could see it that way…? The important part is that you don’t have to turn off the whole system. It can continue running without interruption. So, the RAM will be lukewarm when you swap it, but the system will still be hot.

        • Lem453@lemmy.ca
          link
          fedilink
          arrow-up
          9
          ·
          3 days ago

          If you really want to be pedantic you could setup raid 1+0 or 5 and live the true RAM hot swapping life

        • lengau@midwest.social
          link
          fedilink
          arrow-up
          2
          ·
          3 days ago

          So “warm plugging” is a thing - it means a piece of hardware is detachable while the machine is asleep.

    • Nomecks@lemmy.ca
      link
      fedilink
      arrow-up
      22
      ·
      3 days ago

      Servers have had memory mirroring as a feature for years. This seems like a cool extension of that technology. It would be an advantage in some systems where scaling out isn’t an option and single node availability needs to be as high as possible.

    • morhp@lemmynsfw.com
      link
      fedilink
      arrow-up
      1
      ·
      3 days ago

      USB devices are also hotpluggable, but that doesn’t mean that the data stays in the system if you just pull out the HDD.

      • Appoxo@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        1
        ·
        3 days ago

        But the ram will loose it without being powered.
        This would either require persistent memory or something that could cache the flash for some minutes.