From: Mike Snitzer <snitzer@redhat.com>
To: Mikulas Patocka <mpatocka@redhat.com>
Cc: Ondrej Kozina <okozina@redhat.com>,
Heinz Mauelshagen <heinzm@redhat.com>,
dm-devel@redhat.com, Alasdair G Kergon <agk@redhat.com>,
Milan Broz <mbroz@redhat.com>
Subject: Re: [PATCH 08/10] dm-integrity: add a bitmap mode
Date: Wed, 8 May 2019 13:25:33 -0400 [thread overview]
Message-ID: <20190508172533.GA29488@redhat.com> (raw)
In-Reply-To: <alpine.LRH.2.02.1905081228270.29650@file01.intranet.prod.int.rdu2.redhat.com>
On Wed, May 08 2019 at 12:46pm -0400,
Mikulas Patocka <mpatocka@redhat.com> wrote:
>
>
> On Tue, 7 May 2019, Mike Snitzer wrote:
>
> > On Mon, Apr 29 2019 at 8:57am -0400,
> > Mikulas Patocka <mpatocka@redhat.com> wrote:
> >
> > > Add a new bitmap mode for dm-integrity.
> > >
> > > Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
> >
> > This patch header needs much more detail.
> >
> > Can you please be as informative and detailed as possible about what
> > this new bitmap mode is (what constraints it has, where it is expected
> > to be useful, etc)? Also, if you have them, provide some benchmarks
> > that showcase its benefits.
> >
> > Thanks,
> > Mike
>
> The patch adds the documentation to the file
> "Documentation/device-mapper/dm-integrity.txt", so it can be also used as
> a patch header. For example:
>
> "This patch introduces an alternative mode of operation whete dm-integrity
> uses bitmap instead of a journal. If a bit in the bitmap is 1, the
> corresponding region's data and integrity tags are not synchronized - if
> the machine crashes, the unsynchronized regions will be recalculated. The
> bitmap mode is faster than the journal mode, because we don't have to
> write the data twice, but it is also less reliable, because if data
> corruption happens when the machine crashes, it may not be detected."
>
> Benchmark - on an SSD connected to a SATA300 port, when doing large linear
> writes with dd.
>
> buffered I/O:
> raw device throughput - 245MB/s
> dm-integrity with journaling - 120MB/s
> dm-integrity with bitmap - 238MB/s
>
> direct I/O with 1MB block size:
> raw device throughput - 248MB/s
> dm-integrity with journaling - 123MB/s
> dm-integrity with bitmap - 223MB/s
Great, thanks.
next prev parent reply other threads:[~2019-05-08 17:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-29 12:57 [PATCH 08/10] dm-integrity: add a bitmap mode Mikulas Patocka
2019-05-07 18:51 ` Mike Snitzer
2019-05-08 16:46 ` Mikulas Patocka
2019-05-08 17:25 ` Mike Snitzer [this message]
2019-05-08 17:53 ` Mike Snitzer
2019-05-09 10:19 ` Mikulas Patocka
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=20190508172533.GA29488@redhat.com \
--to=snitzer@redhat.com \
--cc=agk@redhat.com \
--cc=dm-devel@redhat.com \
--cc=heinzm@redhat.com \
--cc=mbroz@redhat.com \
--cc=mpatocka@redhat.com \
--cc=okozina@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.