Re: [ANNOUNCE] Example Cogito Addon - cogito-bundle
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Oct 18, 2006, 21:55 UTC
- Message-ID
- <Pine.LNX.4.64.0610181449290.3962@g5.osdl.org>
- In-Reply-To
- <20061018213225.GD19194@spearce.org>
On Wed, 18 Oct 2006, Shawn Pearce wrote:
> > My comment that you quoted was about mmap'ing the pack files in > large chunks (around 64-128 MiB at a time, but configurable from > .git/config) rather than as an entire massive mapping.
Sure. I agree that we should do that, if only because it's clearly getting hard to handle large pack-files on a 32-bit architecture.
You just seemed to say that in the _context_ of wanting to support having multiple pack-files open (in order to allow deltas to refer to things outside their own pack-file).
I just wanted to head that particular idea off at the pass.
I think thin packs have been a good idea, and they certainly cut the amount of data sent over the network down by a large amount (much more than 50%), so I think thin packs are a great idea. Just _not_ when indexed.
So I don't object to mmap windows at all. I object to them only in the context of "they would allow us to use deltas between two different packs" discussion ;)
Linus