I pulled HOW much?

Matthew D. Fuller fullermd at over-yonder.net
Mon Jun 15 20:49:46 BST 2009


So I happened to look at the pack files after I pulled bzr today, and
something seems awful messed up.

I was at r4439 (last rev before ~today; 4 behind).  The commit mails
with diffs add up to ~150k for the group.  Obviously, the total of the
revisions and all will probably be bigger even after compression, but
still, it's a ballpark.

After the pull from http://bazaar-vcs.org/bzr/bzr.dev/, I've got a new
packfile:

-rw-r--r--  1 fullermd  user    7304959 Jun 15 14:26 fb2c2b3623949c212c43653c3957ae27.pack

WHAT?  7 megs for a few hundred k of changes?  What the frell?


To experiment, I created a clean standalone bzr.dev:4439 and tried
again.  Same size to the byte.


Then I did the same thing, and pulled from lp:bzr (bzr+ssh).  That
created a much more sensible:

-rw-r--r--  1 fullermd  wheel     411542 Jun 15 14:37 7a475eea60d2eb3f26f139cd2fac98f0.pack


Well, let's try it again from launchpad, but over http:

-rw-r--r--  1 fullermd  wheel    6473856 Jun 15 14:41 5f38d8f463b267a342e251d5814ef95c.pack


Now, after doing a pack, it compresses down to a combined size that
isn't nearly as insane (143 + 4.2 + 7.0 = 144).  But why is the pack
grabbed over HTTP an order of magnitude bigger than the data out of it
that we really need?  I presume it's fallout from some tradeoff made
for number of round trips to a dumb server, but still, 10x the data
transfer?


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list