Call for testing: generaldelta

Isaac Jurado diptongo at gmail.com
Mon Aug 1 18:48:29 UTC 2011


On Mon, Aug 1, 2011 at 7:02 PM, Matt Mackall <mpm at selenic.com> wrote:
> On Sun, 2011-07-31 at 13:51 +0200, Isaac Jurado wrote:
>> I tried with mozilla-central repository.  The Mercurial version I'm
>> using is 1.9-1 from Debian Sid (amd64).
>>
>>     http://hg.mozilla.org/mozilla-central/
>
> Is this repo already using shrink-revlog?

I don't know.  It was a sort of "fresh" clone.  I did the following:

$ wget http://ftp.mozilla.org/pub/mozilla.org/firefox/bundles/mozilla-central.hg
$ hg init mc
$ cd mc
$ hg unbundle ../mozilla-central.hg

Then a pull to bring 8 more changesets (that was two days ago).  I could
not directly clone from the bundle because my /tmp is only 512MB in
size.

By the way, I noticed that "hg unbundle" was much faster than "hg pull"
from the bundle file.

>> Time: real 996.090 secs (user 960.160+0.000 sys 16.160+0.000)
>
> Ouch. This shouldn't be that slow. But I guess it's still reordering.
> Can you see if a gdelta clone of mc-gdelta-gdelta is fast again?

Seems even worse.

$ hg clone --time -U --pull --config format.generaldelta=1
mc-gdelta-gdelta mc-gdelta3
requesting all changes
adding changesets
adding manifests
adding file changes
added 73553 changesets with 337061 changes to 77253 files (+7 heads)
Time: real 1086.660 secs (user 1002.260+0.000 sys 22.570+0.000)

I hope is not a buffer/page cache issue.  Somebody else should repeat
the experiment in a different machine.

Cheers.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci



More information about the Mercurial mailing list