Re: Huge win, compressing a window of delta runs as a unit
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 17, 2006, 15:45 UTC
- Message-ID
- <Pine.LNX.4.63.0608171738490.28360@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <9e4733910608170736y4863e0ebr55c6c822ae548cca@mail.gmail.com>
Hi,
On Thu, 17 Aug 2006, Jon Smirl wrote:
Show 6 quoted lines
> On 8/17/06, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: > > At least, the delta-chains should be limited by size (_not_ by number of > > deltas: you can have huge deltas, and if you have to unpack 5 huge deltas > > before getting to the huge delta you really need, it takes really long). > > This is not an obvious conclusion.
The big win is bought by having _one_ zlib stream for multiple deltas, right?
So, everytime you want to access the _last_ delta in the chain, you unpack _all_ of them. This quite obvious conclusion is obviously your reason to propose two packs, one for the archive of "old" objects, and one for the "new" objects.
> As for public servers there is an immediate win in shifting to the new > pack format. Three hour downloads vs one hour, plus the bandwidth > bills. Are the tools smart enough to say this is a newer pack format, > upgrade? It takes far less than two hours to upgrade your git install.
Have you thought about a non-upgraded client? The server has to repack in that case, and if the client wants a clone, you might not even have the time to kiss your server good-bye before it goes belly up.
There is an obvious choice here as to how fast people would upgrade their servers.
Ciao, Dscho