Hello, I'm making the transition from SATA to SSD. A late bloomer.. My setup for years have been a semi-FDE softraid on two physical disks, sd0 and sd1, where the sd0a and sd1a chunks make up a RAID 1 volume sd2. sd2 contains an unencrypted root partition, sd2a, and the remainder of the filesystems reside in sd2p -- a CRYPTO partition that decrypts to sd3 and where sd3b constitutes swap (sysctl vm.swapencrypt.enable=0).
(I don't encrypt root because I need to be able to reboot and decrypt the machine from remote locations but lack any sort of KVM, thus I have a somewhat elaborous setup involving a statically compiled sshd "daemon" that is invoked from /etc/rc.) My question is: Should I let swap be outside RAID altogether? Like "directly" on the physical disks as in sd0b and sd1b? I mean, why have softraid waste CPU cycles making swap content (if any) redundant? What do you people do? (Follow up question as for swap sizing: In the age of 32+ GB RAM, do you people really follow the recommendations on having swap at least twice the amount of RAM? I'm hoping for 72GB RAM and that would steal 144GB of my 525GB disks, something that seems ridiculous.) Kind regards Erling