public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] OT: btrfs raid 5/6
  @ 2017-12-12 10:15 99%                   ` Neil Bothwick
  0 siblings, 0 replies; 1+ results
From: Neil Bothwick @ 2017-12-12 10:15 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2874 bytes --]

On Tue, 12 Dec 2017 00:20:48 +0100, Frank Steinmetzger wrote:

> My new drives are finally here. One of them turned out to be an OEM. -_-
> The shop says it will cover any warranty claims and it’s not a backyard
> seller either, so methinks I’ll keep it.
> 
> To evaluate LUKS, I created the following setup (I just love
> ASCII-painting in vim ^^):
> 
> ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
> ┃ tmpfs                                                           ┃
> ┃ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┃
> ┃ │  1 GB file  │ │  1 GB file  │ │  1 GB file  │ │  1 GB file  │ ┃
> ┃ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ ┃
> ┃        V               V               V               V        ┃
> ┃ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┃
> ┃ │ LUKS device │ │ LUKS device │ │ LUKS device │ │ LUKS device │ ┃
> ┃ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ └──────┬──────┘ ┃
> ┃        V               V               V               V        ┃
> ┃ ┌─────────────────────────────────────────────────────────────┐ ┃
> ┃ │                          RaidZ2                             │ ┃
> ┃ └─────────────────────────────────────────────────────────────┘ ┃
> ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

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.


-- 
Neil Bothwick

A printer consists of three main parts: the case, the jammed paper tray
and the blinking red light.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-11-27 22:30     [gentoo-user] OT: btrfs raid 5/6 Bill Kenworthy
2017-12-01 16:58     ` Wols Lists
2017-12-01 17:14       ` Rich Freeman
2017-12-06 23:28         ` Frank Steinmetzger
2017-12-06 23:35           ` Rich Freeman
2017-12-07  0:13             ` Frank Steinmetzger
2017-12-07  0:29               ` Rich Freeman
2017-12-07 21:37                 ` Frank Steinmetzger
2017-12-07 21:49                   ` Wols Lists
2017-12-11 23:20                     ` Frank Steinmetzger
2017-12-12 10:15 99%                   ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox