• @corroded
    link
    213 months 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.

    • Nomecks
      link
      fedilink
      223 months 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.

    • Ephera
      link
      fedilink
      203 months 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
          link
          fedilink
          173 months 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.

        • @[email protected]
          link
          fedilink
          93 months ago

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

        • @[email protected]
          link
          fedilink
          23 months ago

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

    • @[email protected]
      link
      fedilink
      13 months 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.

      • @[email protected]
        link
        fedilink
        13 months 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.