From: Badari Pulavarty <pbadari@us.ibm.com>
To: suparna@in.ibm.com
Cc: ext2-devel <ext2-devel@lists.sourceforge.net>,
linux-fsdevel@vger.kernel.org, Alex Tomas <alex@clusterfs.com>
Subject: Re: [Ext2-devel] Reviewing ext3 improvement patches (delalloc, mballoc, extents)
Date: 03 Mar 2005 17:12:14 -0800 [thread overview]
Message-ID: <1109898734.4961.11.camel@dyn318077bld.beaverton.ibm.com> (raw)
In-Reply-To: <20050303083349.GA4896@in.ibm.com>
On Thu, 2005-03-03 at 00:33, Suparna Bhattacharya wrote:
> Since the performance improvements seen so far are quite encouraging,
> and momentum is picking up so well, I started looking through the
> patches from Alex ... just a quick code walkthrough to get a hang
> of it and think about what kind of simplifications might be possible
> and what it might take for inclusion.
>
> I haven't had a chance to go too deep line by line yet,
> but thought I'd initiate some discussion with some first impressions
> and summary of what directions I hear several people converging
> towards to validate if I'm on the right track here.
>
> diffstat of the 3 patches : 22 files changed, 5920 insertions(+),
> 47 deletions. The largest is in the extents patch (2743), mballoc
> is 1968, and delalloc is 1209. To use delalloc, which gives us
> all the performance benefits, right now we need all the 3 patches
> to be used in conjunction. Supporting extent map btrees as well
> as traditional indexing and associated options for compatibility etc
> is perhaps the more invasive of changes. Given that keeping ext3
> stable and maintainable is a key concern (that is after all a major
> reason why a lot of users rely on ext3), a somewhat incremental
> approach is desirable.
>
> So, I'll start from the direction that has been suggested by
> some -- (1) delayed allocation without changing the
> on-disk format. And then later (2) go on to breaking format with
> all changes for scalability to larger files with full extents
> support (haven't thought enough about this yet - maybe in a
> separate mail)
>
Just doing delayed allocation without multiblock allocation
(with the current layout) is not really a useful thing, IMHO.
We will benifit few cases, but in general - we moved the
block allocation overhead from prepare write to writepages/writepage
time. There is a little benifit of not doing journaling twice etc..
but I don't think it would be enough to justify the effort.
Isn't it ?
So, may be we should look at adding multiblock allocation +
delayed allocation to current ext3 layout. Then we can evaluate
the benifits of having "extents" etc and then break the layout ?
One more thing, we need to keep in mind is - we need to make sure
that "ordered" mode also improved - since all our testcode
focuses on "writeback" mode and the default mode is "ordered" :(
Thanks,
Badari
next prev parent reply other threads:[~2005-03-04 1:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-03 8:33 Reviewing ext3 improvement patches (delalloc, mballoc, extents) Suparna Bhattacharya
2005-03-03 9:40 ` Andreas Dilger
2005-03-03 22:10 ` Theodore Ts'o
2005-03-03 22:30 ` Alex Tomas
2005-03-04 11:13 ` Suparna Bhattacharya
2005-03-04 12:29 ` Alex Tomas
2005-03-04 18:25 ` [Ext2-devel] " Andreas Dilger
2005-03-04 1:12 ` Badari Pulavarty [this message]
2005-03-04 1:46 ` [Ext2-devel] " Mingming Cao
2005-03-04 3:26 ` Suparna Bhattacharya
2005-03-14 8:36 ` Werner Almesberger
2005-03-14 9:04 ` Suparna Bhattacharya
2005-03-14 15:02 ` Werner Almesberger
2005-03-14 15:43 ` Alex Tomas
2005-03-14 16:37 ` [Ext2-devel] " Werner Almesberger
2005-03-14 17:13 ` Alex Tomas
2005-03-15 0:28 ` Werner Almesberger
2005-03-14 22:23 ` Bryan Henderson
2005-03-15 0:42 ` Werner Almesberger
2005-03-15 21:59 ` Bryan Henderson
2005-03-04 11:30 ` [Ext2-devel] " Alex Tomas
2005-03-04 15:02 ` Alex Tomas
2005-03-13 14:41 ` Delayed alloc for ordered-mode Suparna Bhattacharya
2005-03-13 19:32 ` Badari Pulavarty
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=1109898734.4961.11.camel@dyn318077bld.beaverton.ibm.com \
--to=pbadari@us.ibm.com \
--cc=alex@clusterfs.com \
--cc=ext2-devel@lists.sourceforge.net \
--cc=linux-fsdevel@vger.kernel.org \
--cc=suparna@in.ibm.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).