From: Russell Coker <russell@coker.com.au>
To: Austin S Hemmelgarn <ahferroin7@gmail.com>,
Linux BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: BTRFS, SSD and single metadata
Date: Mon, 16 Jun 2014 22:01:08 +1000 [thread overview]
Message-ID: <6499435.9u7rVIGiXd@xev> (raw)
In-Reply-To: <539ED3A2.50309@gmail.com>
On Mon, 16 Jun 2014 07:23:14 Austin S Hemmelgarn wrote:
> I'd personally stay with the DUP profile, but then that's just me being
> paranoid. You will almost certainly get better performance using the
> SINGLE profile instead of DUP, but this is mostly due to it requiring
> fewer blocks to be encrypted by LUKS (Which is almost certainly your
> primary bottleneck unless you have some high-end crypto-accelerator card).
On my Q8400 workstation running BTRFS over LUKS on an Intel SSD the primary
bottleneck has always been BTRFS. The message I wrote earlier today about
BTRFS fallocate() performance was on this system, I had BTRFS using kernel CPU
time for periods of 10+ seconds without ANY disk IO - so LUKS wasn't a
performance issue.
So far I've never seen LUKS be a performance bottleneck. When running LUKS on
spinning media the disk seek performance will almost always be the bottleneck.
The worst case for LUKS is transferring large amounts of data such as
contiguous reads. In a contiguous read test I'm seeing 120MB/s for LUKS on a
SSD and 200MB/s for direct access to the same SSD. That is a reasonable
difference, but it's not something I've been able to hit with any real-world
use while BTRFS metadata performance is often an issue.
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
next prev parent reply other threads:[~2014-06-16 12:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-16 7:54 BTRFS, SSD and single metadata Swâmi Petaramesh
2014-06-16 11:09 ` Austin S Hemmelgarn
2014-06-16 11:18 ` Swâmi Petaramesh
2014-06-16 11:23 ` Austin S Hemmelgarn
2014-06-16 12:01 ` Russell Coker [this message]
2014-06-16 12:16 ` Duncan
2014-06-16 12:26 ` Swâmi Petaramesh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6499435.9u7rVIGiXd@xev \
--to=russell@coker.com.au \
--cc=ahferroin7@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox