On Tue, 12 Dec 2017 12:18:23 +0000, Wols Lists wrote: > > That means every write has to be encrypted 4 times, whereas using > > encryption in the filesystem means it only has to be done once. I > > tried setting encrypted BTRFS this way and there was a significant > > performance hit. I'm seriously considering going back to ZoL now that > > encryption is on the way. > > DISCLAIMER - I DON'T HAVE A CLUE HOW THIS ACTUALLY WORKS IN DETAIL > > but there's been a fair few posts on LKML sublists about how linux is > very inefficient at using hardware encryption. Setup/teardown is > expensive, and it only encrypts in small disk-size blocks, so somebody's > been trying to make it encrypt in file-system-sized chunks. When/if they > get this working, you'll probably notice a speedup of the order of 90% > or so ...
This isn't so much a matter of hardware vs. software encryption, more that encrypting below the RAID level means everything has to be encrypted multiple times. -- Neil Bothwick There's no place like ~
pgplyitPPLB0e.pgp
Description: OpenPGP digital signature