Re: kernel.org and GIT tree rebuilding
- From
- Chris Mason <mason@suse.com>
- Date
- Jun 26, 2005, 20:52 UTC
- Message-ID
- <200506261652.59373.mason@suse.com>
- In-Reply-To
- <Pine.LNX.4.58.0506260905200.19755@ppc970.osdl.org>
On Sunday 26 June 2005 12:41, Linus Torvalds wrote:
Show 17 quoted lines
> On Fri, 24 Jun 2005, Linus Torvalds wrote: > > yeah, it clearly needs some refining to be useful, but I think you can > > kind of see how it would work. > > Ok, here's how it works. > > - Pick a starting commit (or a hundred) > > - Pick an ending commit (or a hundred) > > - generate the list of objects in between them > > git-rev-list --object end ^start > object-list > > - Pack that list of objects into an "object pack": > > git-pack-objects out < object-list
Without having read the code, the big thing that hurt performance in my early packed file work was compressing the whole packed file instead of individual sub-objects. It takes more room to compress each object, but when I compressed the whole thing read performance was quite bad.
-chris