From: malahal@us.ibm.com
To: Gabriel Barazer <gabriel@oxeva.fr>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] very slow fw performance when snapshots active
Date: Thu, 18 Oct 2007 09:01:45 -0700 [thread overview]
Message-ID: <20071018160145.GA14967@us.ibm.com> (raw)
In-Reply-To: <47177953.4020008@oxeva.fr>
Reducing chunksize may help a bit but you may end up having
performance problems when you read snapshot data later.
Thanks, Malahal.
Gabriel Barazer [gabriel@oxeva.fr] wrote:
> On 10/18/2007 4:01:40 PM +0200, "Zurell, Falko"
> <Falko.Zurell@idmedia.com> wrote:
> >Ok, i understand the point with the swap file of vi. But why is this
> >with snapshots activated that much slower than without?
> >Why can the file be saved in seconds without cow instead of about 2
> >minutes with cow. Needing twice the time for saving would be reasonable.
>
> I think this is because the re-writing operation on a standard block
> device is done using a comparison between the data to write, and the
> data already written (which is nearly all the time read from the OS file
> cache in your test case, instead of the block device itself, because the
> file written was entirely read just before) whereas the LVM snapshot
> target redirect any write to the COW space without this comparison step.
> Maybe there is a possible optimization of the snapshot dm target which
> could compare block before deciding to write them on the COW space.
> Obvisouly, such optimization process add a slight overhead an can
> possibly have a negative impact on the performance.
>
> Gabriel
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
next prev parent reply other threads:[~2007-10-18 16:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 14:01 AW: Re: [linux-lvm] very slow fw performance when snapshots active Zurell, Falko
2007-10-18 15:18 ` Gabriel Barazer
2007-10-18 16:01 ` malahal [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-10-18 8:39 Falko Zurell
2007-10-18 13:52 ` Gabriel Barazer
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=20071018160145.GA14967@us.ibm.com \
--to=malahal@us.ibm.com \
--cc=gabriel@oxeva.fr \
--cc=linux-lvm@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.