Swap across multiple storage hardware
Swap across multiple storage hardware
Posted Apr 7, 2025 18:09 UTC (Mon) by aeden (subscriber, #116597)Parent article: Three ways to rework the swap subsystem
Recently I posed the following question: suppose a system has three distinct NVME SSDs. Should I create a swap partition on each device and `swapon` all of them (i.e. /dev/nvme), or should I create a mdadm RAID0 across those three swap devices and then `swapon` _that_ (i.e. /dev/md0). It seems the current best strategy's is the latter, since it looks like the swap devices are handled in a dumb way.
