From: "WeiFeng Liu" <weifeng.liu@hushmail.com>
To: "Liu Bo" <liubo2009@cn.fujitsu.com>
Cc: "linux-btrfs" <linux-btrfs@vger.kernel.org>
Subject: Re: [RFC PATCH] Decrease Metadata Fragment By Using a Caterpillar Band Method(intro modified)
Date: Sun, 27 May 2012 22:06:53 -0800 [thread overview]
Message-ID: <20120528060653.8ABFCE6739@smtp.hushmail.com> (raw)
On Sunday, May 27, 2012 at 5:44 PM, Liu Bo <liubo2009@cn.fujitsu.com> wrote:
>
>Hi,
>
>Thanks for working on this.
>
>Do you have any performance number?
>
>The idea is an interesting one, but I have no idea if it really
>works, because blocks are
>still fragments:
>
>| 16k | 16k | 16k |
>|----|A|----|----|B|----|----|C|----|
>
>
>Or am I missing something?
>
>thanks,
>liubo
>
Hi, Liu Bo
I noticed your graphic and what you said, "still fragments"
thanks you.
According my patch's logic, any COWs for tree block A will be limited in it's
16k caterpillar band in the example, at least theoretically, and so tree block
B, like the following:
|<-- A circulated in 16k -->| |<-- B circulated in 16k -->|
|--a-->|--b-->|--c-->|--d-->| |--a-->|--b-->|--c-->|--d-->|
| | | |
|-------------<-------------| |-------------<-------------|
Liu Bo, are the fragments you mentioned referenced to the ones in a caterpillar
or ones out of a caterpillar? if they are in a caterpillar, nothing would be
worried, because they are supposed to stay there forever, and that efficiency
is just what I want.
To a certain degree, using a caterpillar for a tree block is somewhat
similar with the way superblock runs, a superblock circularly updated in a
cluster of DISCONTINUOUS blocks within a large range, and I use a caterpillar
band to force a tree block updated circularly in a continuous blocks within a
compact area.
Sorry, I haven't yet take performance test for my patch now, a bit more times
are still needed for me to check the possible bugs in code's routes before
tests, and any comments are welcome.
Thanks all you.
WeiFeng Liu
523f28f9b3d9c710cacc31dbba644efb1678cf62
next reply other threads:[~2012-05-28 6:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-28 6:06 WeiFeng Liu [this message]
2012-05-28 8:41 ` [RFC PATCH] Decrease Metadata Fragment By Using a Caterpillar Band Method(intro modified) Liu Bo
2012-05-28 8:06 ` Arne Jansen
-- strict thread matches above, loose matches on Subject: below --
2012-05-27 16:04 WeiFeng Liu
2012-05-28 1:49 ` Liu Bo
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=20120528060653.8ABFCE6739@smtp.hushmail.com \
--to=weifeng.liu@hushmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=liubo2009@cn.fujitsu.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;
as well as URLs for NNTP newsgroup(s).