[PATCH 0 of 4 RFC] Reusing the zlib stream when compressing revlog chunks

Wagner Bruna wagner.bruna+mercurial at gmail.com
Tue Feb 9 12:06:02 CST 2010


Hello,

Matt Mackall wrote:
> Benoit Boissinot wrote:
>> Could you add more results (bigger repo, kernel like)?

Will do. But the fastest link I have access to is ~4Mbit, so it may take a 
little while...

>> And from the savings, how much comes from 00manifest ?
> 
> And you might try comparing before and after shrink-revlog
> on the manifest.

Tested again with a crew repository (total size 25704k; plain 00manifest.d has 
8632k); all sizes are relative to plain crew:

                  shrinked  zlibstream  zlibstream and
                  manifest     alone    shrinked manifest
total              0.85       0.72       0.66
00manifest.d       0.54       0.48       0.30

I believe parent deltas will help a lot here, since longer delta chunk chains 
will tend to compress better.

I'm collecting test results here: 
http://mercurial.selenic.com/wiki/RevlogSyncFlushProposal

Thanks,
Wagner



More information about the Mercurial-devel mailing list