Excessive network traffic for pulling a small change

Adrian Wilkins adrian.wilkins at gmail.com
Fri Mar 12 11:18:25 GMT 2010


On 11/03/10 22:48, bazaar-request at lists.canonical.com wrote:
> Re: Excessive network traffic for pulling a small change

Doing this log command via bzr+ssh isn't really that much better.

bzr -Dbytes -Dfetch log -r 2251 -n0 -v z
    bzr+ssh://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr

Transferred: 1544KiB (125.5K/s r:1535K w:9K)

Although by contrast, doing the corresponding pull is a lot smaller via
a smart protocol, and then doing the log is free.

bzr -Dbytes -Dfetch pull -r 2251 \
   bzr+ssh://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr

Transferred: 286KiB (53.8K/s r:282K w:4K)


The traffic consumption for HTTP from the Launchpad mirror is larger

bzr -Dbytes -Dfetch pull -r 2251 \
   https://code.launchpad.net/~vcs-imports/grub/grub2-bzr

Transferred: 511KiB (65.2K/s r:490K w:20K)


And Savannah still seems to produce the largest traffic.

bzr -Dbytes -Dfetch pull -r 2251 \
  http://bzr.savannah.gnu.org/r/grub/trunk/grub

Transferred: 2357KiB (95.0K/s r:2329K w:29K)


So I guess one interim route for Grubsters is to use bzr+ssh:// to the
Launchpad mirror, or settle for https:// (I've heard people express
dissatisfaction with having to manage a Launchpad profile and upload an
SSH key).

I've attached an edited log of these activities (removed all the extra
rebranching of a local copy of the branch to a new branch at r 2250),
and also the pulls of r 2251 with -Dhttp on, in case that's useful.

It would be interesting to see how git copes with doing this over dumb HTTP.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-pull-logs.zip.zip
Type: application/zip
Size: 32006 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100312/171cb1c8/attachment-0001.zip 


More information about the bazaar mailing list