mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Thornber <joe@fib011235813.fsnet.co.uk>
To: Kevin Corry <corryk@us.ibm.com>
Cc: linux-lvm@sistina.com, Andrew Theurer <habanero@us.ibm.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [linux-lvm] Re: [Announce] device-mapper beta3 (fast snapshots)
Date: Tue, 16 Jul 2002 09:42:34 +0100	[thread overview]
Message-ID: <20020716084234.GA431@fib011235813.fsnet.co.uk> (raw)
In-Reply-To: <02071513565400.06209@boiler>

Kevin,

On Mon, Jul 15, 2002 at 01:56:54PM -0500, Kevin Corry wrote:
> In the current design, there are two cases when the COW table is written to 
> disk. Either when current COW sector is full, or on a clean system shutdown. 
> All snapshots will thus be persistent across a clean shutdown or reboot. 
> Currently, an async snapshot will be disabled if the system crashes. This 
> wasn't a big secret. In the latest HOWTO, the section on snapshotting 
> explains this, and in the EVMS gui, there is a note attached to the "async" 
> option saying this as well.
> 
> We designed async snapshots in EVMS for maximum performance. Allowing for the 
> one above condition provides for a significant performance increase. Writing 
> the COW table only when it's full prevents a lot of unnecessary disk head 
> seeking.

...

> But, the synchronous option is still available 
> for those who are scared about system crashes. Personally, I'm not that 
> scared. I'd have a hard time remembering the last time one of my production 
> machines crashed unexpectedly.

So you are saying that your async snapshots should only be used on
production machines, and where the data stored on the snapshot is so
unimportant that you don't mind loosing it.  Nice.

In future could you mention this caveat when you post comparison
benchmarks.

device-mapper *does* ensure that the snapshot is always consistent.

I don't believe the benchmarks posted at the top of this thread at
all.  Not only are you claiming poor performance for device-mapper,
but that this performance degrades as chunk size reduces.
device-mapper has been tested by a variety of people on many different
machines/architectures and we've only ever seen a flat performance
profile as chunk size increases, if anything, there is a very slight
degradation as chunk size gets too large.

For instance I just ran a test on my dev. box, this should
not be considered a tuned benchmark by any means.

dbench -2 on a 32M RAM system:

no snapshot	8.22
8k		13.59
16k		13.99
32k		13.33
64k		12.90
128k		13.442
256k		13.654
512k		13.84

As far as I'm concerned you should be comparing this with the slower
but consistent synchronous snapshots in EVMS.

- Joe

  reply	other threads:[~2002-07-16  8:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-12 23:21 Andrew Theurer
2002-07-15  8:59 ` Joe Thornber
2002-07-15 14:39   ` Andrew Theurer
2002-07-15 12:40 ` Joe Thornber
2002-07-15 18:56   ` [linux-lvm] " Kevin Corry
2002-07-16  8:42     ` Joe Thornber [this message]
2002-07-16 16:05       ` Andrew Theurer
2002-07-16 16:31         ` Joe Thornber
2002-07-16 17:27           ` Chris Mason
2002-07-17 10:31             ` [linux-lvm] " Joe Thornber
2002-07-17 11:46               ` Alan Cox

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=20020716084234.GA431@fib011235813.fsnet.co.uk \
    --to=joe@fib011235813.fsnet.co.uk \
    --cc=corryk@us.ibm.com \
    --cc=habanero@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-lvm@sistina.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®