On Fri, Feb 03, 2017 at 10:10:19PM +0800, Tinker wrote:
> I knew that swap crypto is enabled by default.
> 
> I thought that, if you put your swap disk on a crypto softraid, then, you
> get a *sandwhiched* double crypto - both the swap crypto *and* the softraid
> crypto, so double work?
> 
> Isn't that the case, so that it would be wasteful to have the swap on the
> crypto sofraid for that reason?

Yeah it is probably less efficient. But is this worth the extra complexity
of having swap and dump on a different disk than root? I don't think so.
You're probably wasting more time just thinking about this rather than
letting the computer flip a few extra bits when the system swaps (if ever).

Swap and dump device conventions are very old. There are even compile-time
kernel config options to change them which tells us someting about their age.
Again, I would not bother compiling a custom kernel just for this.

Reply via email to