Two swap space on two attached usb devices
Posted: Wed Jan 03, 2018 12:15 am
Hi All,
I created two swap partitions but cannot assign the same priority to both of them. With /dev/sda2 already setup as swap with priority -1, the command "swapon -p -1 /dev/sdb2" will only setup sdb2 at priority -2.
Quote: "One great thing about the Linux swapping subsystem is that if you mount two (or more) swap spaces (preferably on two different devices) with the same priority, Linux will interleave its swapping activity between them, which can greatly increase swapping performance. https://www.linux.com/news/all-about-linux-swap-space"
Thanks!
I created two swap partitions but cannot assign the same priority to both of them. With /dev/sda2 already setup as swap with priority -1, the command "swapon -p -1 /dev/sdb2" will only setup sdb2 at priority -2.
Quote: "One great thing about the Linux swapping subsystem is that if you mount two (or more) swap spaces (preferably on two different devices) with the same priority, Linux will interleave its swapping activity between them, which can greatly increase swapping performance. https://www.linux.com/news/all-about-linux-swap-space"
Thanks!