linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Reviewing ext3 improvement patches (delalloc, mballoc, extents)
@ 2005-03-03  8:33 Suparna Bhattacharya
  2005-03-03  9:40 ` Andreas Dilger
  2005-03-04  1:12 ` [Ext2-devel] " Badari Pulavarty
  0 siblings, 2 replies; 24+ messages in thread
From: Suparna Bhattacharya @ 2005-03-03  8:33 UTC (permalink / raw)
  To: ext2-devel, linux-fsdevel; +Cc: Alex Tomas


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)

A few random things that come to mind for (1), going through the code:

- There might be possibilities for code reduction, by extending
  generic routines as far as possible, e.g. ext3_wb_writepages
  has a lot in common with generic writepages. That would
  also make it easier to maintain.
- Similarly, how about (as Mingming I think already hinted) 
  implementing ext3_get_blocks to do multi-block lookup and 
  allocation and using it in delalloc ?

Hmm, maybe I speak too soon - have to look at the interfaces more
closely and verify if this is feasible. 

Regards
Suparna


-- 
Suparna Bhattacharya (suparna@in.ibm.com)
Linux Technology Center
IBM Software Lab, India



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2005-03-15 21:59 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Ext2-devel] " Badari Pulavarty
2005-03-04  1:46   ` 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

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).