login
Header Space

 
 

Re: How git affects kernel.org performance

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Suparna Bhattacharya <suparna@...>
Cc: Andrew Morton <akpm@...>, Willy Tarreau <w@...>, Linus Torvalds <torvalds@...>, H. Peter Anvin <hpa@...>, <git@...>, <nigel@...>, J.H. <warthog9@...>, Randy Dunlap <randy.dunlap@...>, Pavel Machek <pavel@...>, kernel list <linux-kernel@...>, <webmaster@...>, linux-ext4@vger.kernel.org <linux-ext4@...>
Date: Monday, January 8, 2007 - 8:58 am

On Mon, Jan 08, 2007 at 08:35:55AM +0530, Suparna Bhattacharya wrote:

The fastest and probably most important thing to add is some readahead
smarts to directories --- both to the htree and non-htree cases.  If
you're using some kind of b-tree structure, such as XFS does for
directories, preallocation doesn't help you much.  Delayed allocation
can save you if your delayed allocator knows how to structure disk
blocks so that a btree-traversal is efficient, but I'm guessing the
biggest reason why we are losing is because we don't have sufficient
readahead.  This also has the advantage that it will help without
needing to doing a backup/restore to improve layout.

Allocating some number of empty blocks when we grow the directory
would be a quick hack that I'd probably do as a 2nd priority.  It
won't help pre-existing directories, but combined with readahead
logic, should help us out greatly in the non-btree case.  

						- Ted
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
How git affects kernel.org performance, H. Peter Anvin, (Sun Jan 7, 1:24 am)
Re: How git affects kernel.org performance, Linus Torvalds, (Sun Jan 7, 1:39 am)
Re: How git affects kernel.org performance, Willy Tarreau, (Sun Jan 7, 4:55 am)
Re: How git affects kernel.org performance, H. Peter Anvin, (Sun Jan 7, 4:58 am)
Re: How git affects kernel.org performance, Willy Tarreau, (Sun Jan 7, 5:03 am)
Re: How git affects kernel.org performance, Jan Engelhardt, (Sun Jan 7, 6:50 am)
Re: How git affects kernel.org performance, Randy Dunlap, (Sun Jan 7, 2:49 pm)
Re: How git affects kernel.org performance, Jan Engelhardt, (Sun Jan 7, 3:07 pm)
Re: How git affects kernel.org performance, Randy Dunlap, (Sun Jan 7, 3:28 pm)
Re: How git affects kernel.org performance, Linus Torvalds, (Sun Jan 7, 3:37 pm)
Re: How git affects kernel.org performance, Christoph Hellwig, (Sun Jan 7, 6:28 am)
Re: How git affects kernel.org performance, Linus Torvalds, (Sun Jan 7, 2:17 pm)
Re: How git affects kernel.org performance, Linus Torvalds, (Sun Jan 7, 3:13 pm)
Re: How git affects kernel.org performance, Willy Tarreau, (Sun Jan 7, 6:52 am)
Re: How git affects kernel.org performance, Andrew Morton, (Sun Jan 7, 5:15 am)
Re: How git affects kernel.org performance, Rene Herman, (Sun Jan 7, 5:38 am)
Re: How git affects kernel.org performance, Suparna Bhattacharya, (Sun Jan 7, 11:05 pm)
Re: How git affects kernel.org performance, Theodore Tso, (Mon Jan 8, 8:58 am)
Re: How git affects kernel.org performance, Fengguang Wu, (Tue Jan 9, 3:59 am)
Re: How git affects kernel.org performance, Linus Torvalds, (Tue Jan 9, 12:23 pm)
Re: How git affects kernel.org performance, Fengguang Wu, (Tue Jan 9, 9:57 pm)
Re: How git affects kernel.org performance, Jeff Garzik, (Mon Jan 8, 9:43 am)
Re: How git affects kernel.org performance, Paul Jackson, (Mon Jan 8, 9:09 pm)
Re: How git affects kernel.org performance, Jeremy Higdon, (Mon Jan 8, 10:18 pm)
Re: How git affects kernel.org performance, Johannes Stezenbach, (Mon Jan 8, 9:41 am)
Re: How git affects kernel.org performance, Theodore Tso, (Mon Jan 8, 9:56 am)
Re: How git affects kernel.org performance, Pavel Machek, (Mon Jan 8, 9:59 am)
Re: How git affects kernel.org performance, Theodore Tso, (Mon Jan 8, 10:17 am)
Re: How git affects kernel.org performance, Krzysztof Halasa, (Sun Jan 7, 11:06 am)
Re: How git affects kernel.org performance, Shawn O. Pearce, (Sun Jan 7, 4:31 pm)
Re: How git affects kernel.org performance, Nicolas Pitre, (Mon Jan 8, 10:46 am)
Re: How git affects kernel.org performance, Robert Fitzsimons, (Sun Jan 7, 10:57 am)
Re: How git affects kernel.org performance, J.H., (Sun Jan 7, 3:12 pm)
speck-geostationary