Gentoo Archives: gentoo-user

From: Wols Lists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT: btrfs raid 5/6
Date: Tue, 12 Dec 2017 12:18:32
Message-Id: 5A2FC90F.5050709@youngman.org.uk
In Reply to: Re: [gentoo-user] OT: btrfs raid 5/6 by Neil Bothwick
1 On 12/12/17 10:15, Neil Bothwick wrote:
2 > That means every write has to be encrypted 4 times, whereas using
3 > encryption in the filesystem means it only has to be done once. I tried
4 > setting encrypted BTRFS this way and there was a significant performance
5 > hit. I'm seriously considering going back to ZoL now that encryption is
6 > on the way.
7
8 DISCLAIMER - I DON'T HAVE A CLUE HOW THIS ACTUALLY WORKS IN DETAIL
9
10 but there's been a fair few posts on LKML sublists about how linux is
11 very inefficient at using hardware encryption. Setup/teardown is
12 expensive, and it only encrypts in small disk-size blocks, so somebody's
13 been trying to make it encrypt in file-system-sized chunks. When/if they
14 get this working, you'll probably notice a speedup of the order of 90%
15 or so ...
16
17 Cheers,
18 Wol

Replies

Subject Author
Re: [gentoo-user] OT: btrfs raid 5/6 Neil Bothwick <neil@××××××××××.uk>