From: Greg Freemyer <greg.freemyer@gmail.com>
To: Kazuya Mio <k-mio@sx.jp.nec.com>
Cc: Andreas Dilger <aedilger@gmail.com>,
Eric Sandeen <sandeen@redhat.com>, "Ted Ts'o" <tytso@mit.edu>,
ext4 <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH 01/11 RESEND] libe2p: Add new function get_fragment_score()
Date: Tue, 28 Jun 2011 09:53:20 -0400 [thread overview]
Message-ID: <BANLkTikZwscrs4F1NeVRKBTPSouthhMgSg@mail.gmail.com> (raw)
In-Reply-To: <4E09AB2A.6000105@sx.jp.nec.com>
On Tue, Jun 28, 2011 at 6:21 AM, Kazuya Mio <k-mio@sx.jp.nec.com> wrote:
> 2011/06/26 11:16, Greg Freemyer wrote:
>>
>> I'm talking about sparse files.
>>
>> Where you might have:
>>
>> block_group1 - hole - block_group2 - hole - block_group3.
>>
>> Block_group2 has a head and a tail extent. In my mind, from a
>> performance perspective, they are symmetric. Meaning that having a
>> small extent at the beginning is no better and no worse than having a
>> small extent at the end.
>
> Thanks for your kind description. Your point is right. I'll think a little
> more
> about the fragmentation score.
>
> Regards,
> Kazuya Mio
Kazuya,
While you're thinking about the issue:
As I hope I've said before, for sparse file I think e4defrag should
score and defrag one block_group at a time. Thus if a VM backing
storage file has 100 block_groups (as I'm using the term), then it
should score each of the 100 separately and if needed defrag them one
at a time.
I can see no benefit from treating a large sparse file as monolithic
for the decision process.
fyi: Is there an agreed on term for what I'm calling a block_group. I
believe e4defrag uses the term "extent group" in the comments, but
sparse files exist in non-extent based filesystems, so it's not a very
portable name.
Greg
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-06-28 13:53 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 6:33 [PATCH 01/11 RESEND] libe2p: Add new function get_fragment_score() Kazuya Mio
2011-06-16 3:06 ` Andreas Dilger
2011-06-17 3:01 ` Kazuya Mio
2011-06-17 3:18 ` Ted Ts'o
2011-06-17 14:20 ` Eric Sandeen
2011-06-18 7:19 ` Andreas Dilger
2011-06-18 17:00 ` Greg Freemyer
2011-06-18 17:15 ` Andreas Dilger
2011-06-21 11:28 ` Kazuya Mio
2011-06-23 11:16 ` Greg Freemyer
2011-06-23 11:27 ` Greg Freemyer
2011-06-24 8:28 ` Kazuya Mio
2011-06-26 2:16 ` Greg Freemyer
2011-06-28 10:21 ` Kazuya Mio
2011-06-28 13:53 ` Greg Freemyer [this message]
2011-07-01 8:34 ` Kazuya Mio
2011-07-07 10:40 ` Kazuya Mio
2011-06-21 11:26 ` Kazuya Mio
2011-06-21 13:56 ` Ted Ts'o
2011-06-23 8:00 ` Kazuya Mio
2011-06-19 19:55 ` Greg Freemyer
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=BANLkTikZwscrs4F1NeVRKBTPSouthhMgSg@mail.gmail.com \
--to=greg.freemyer@gmail.com \
--cc=aedilger@gmail.com \
--cc=k-mio@sx.jp.nec.com \
--cc=linux-ext4@vger.kernel.org \
--cc=sandeen@redhat.com \
--cc=tytso@mit.edu \
/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).