Started testing brisbane-core

John Arbash Meinel john at arbash-meinel.com
Mon Jun 1 17:08:19 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Albisetti wrote:
> On Mon, Jun 1, 2009 at 12:47 PM, John Arbash Meinel
> <john at arbash-meinel.com> wrote:
>> 1.2k revisions, and 110MB, do you have a lot of binary files in there?
>> Does that include doing a 'bzr pack' after the upgrade has finished?
> 
> There's a little bit of everything (images, etc).
> After bzr pack it went down to 55M
> So: 109M -> 79M -> 55M
> 
> Cut by half  :)

I general, we really want to encourage a 'bzr pack' after the upgrade.
It isn't as critical right now, as the converter will do 'autopacks'
during conversion, but the final result is quite a bit better.

I think there is even an open bug that we want 'bzr upgrade' to do the
pack for us...


> 
> I do now have a branch which gets exactly zero space savings (2.1gb
> branch with ~1700 files and 100 dirs, mostly bloated due to big binary
> files):
> 
> Upgrade: 874M > 883M
> Pack:  883M > 874M
> 
> Good news though, "bzr log -v" went from 0m13.256s > 0m2.739s
> 

There are cases where the new format could actually become *bigger* than
the old. (In the extreme case, Robert did a bzr.dev conversion which
went from 100MB => 2.4GB as it expanded everything back to a fulltext...)

If you are dealing with large binary files, it would be interesting to
see how things change.

On the one hand, we have a better binary difference algorithm. Though
most 'large binary files' are pre-compressed, which makes that sort of
thing less useful.

On the other hand, we no longer have deltas between .pack files. So you
end up with 1 copy of the fulltext in each .pack file. (Which is one of
the reasons 'bzr pack' after conversion is so useful.)

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoj/PMACgkQJdeBCYSNAANk3wCg0wBXESmnv3RRAkmJIxfLi1Na
SxkAoKczTu6u8KKMgByWkh93FW72wSMo
=Ea8l
-----END PGP SIGNATURE-----



More information about the bazaar mailing list