Excessive network traffic for pulling a small change

Joke de Buhr joke at seiken.de
Thu Mar 11 18:38:50 GMT 2010


Branching works different compared to the way subversion does it. Using "bzr 
branch" to create a branch causes a lot of data to be transfered unless 
repositories or lightweight checkouts are used.

On Donnerstag 11 März 2010 19:27:58 Joke de Buhr wrote:
> https:// is just the encrypted from of http:// and should be even a little
>  bit slower since all data needs to be encrypted. This causes more cpu
>  overhead.
> 
> bzr+http:// and bzr+https:// are the smart server transports which should
>  be more efficient redarding the amount of transfered data.
> 
> Transports with the "bzr+" prefix are the most efficient ones. They cause
>  less data to be transfered.
> 
> 
> If someone is behind a small-band network connection it's a good idea to
>  use lightweight checkouts instead of complete branches with full history.
>  Only the most recent changes are transfered much like subversion does.
> 
>   bzr checkout --lightweight bzr+ssh://domain/branch
> 
> On Donnerstag 11 März 2010 18:45:51 Colin D Bennett wrote:
> > Apparently the user was using HTTP, but has now tried HTTPS to the
> > Launchpad mirror with similarly unreasonable amounts of network
> > overhead (2.1 MB transferred for a change of only a couple lines).
> >
> > Another user, David Miller, also complains about Bazaar's network
> >
> > performance in this thread, writing:
> > > I've simply stopped trying to work on grub after the
> > > transition to bzr, using it is just too painful.
> >
> > Regards,
> > Colin
> >
> >
> > Begin forwarded message:
> >
> > Date: Thu, 11 Mar 2010 21:20:42 +0530
> > From: "KESHAV P.R." <skodabenz at gmail.com>
> > To: grub-devel <grub-devel at gnu.org>
> > Subject: Re: GIT mirror of BZR repo
> >
> >
> > I changed .bzr/branch/branch.conf
> >
> > parent_location = http://bzr.savannah.gnu.org/r/grub/trunk/grub/
> >
> > to
> >
> > parent_location = https://code.launchpad.net/~vcs-imports/grub/grub2-bzr
> >
> > Response time is faster but the amount of data downloaded is way too
> > much for the size of the patch, downloaded 2100 KB for updating from
> > rev 2250 to 2251. I use bzr only for grub2 repo. If u guys have any
> > plans for a git repo (or mirror) , I will be glad to change over to
> > it.
> >
> > What exactly is bzr downloading in this 2100 KB apart from this patch ?
> >
> > [keshav at keshav-laptop grub2_BZR]$ bzr diff -r2250..2251
> > === modified file 'ChangeLog'
> > --- ChangeLog	2010-03-07 22:02:13 +0000
> > +++ ChangeLog	2010-03-08 22:20:02 +0000
> > @@ -1,3 +1,8 @@
> > +2010-03-08  Matt Kraai  <kraai at ftbfs.org>
> > +
> > +	* util/i386/pc/grub-setup.c (setup): Fix a grammatical error
> > (Debian
> > +	bug #559005).
> > +
> >  2010-03-07  Vladimir Serbinenko  <phcoder at gmail.com>
> >
> >  	* genmoddep.awk: Output all missing symbols and not only first.
> >
> > === modified file 'util/i386/pc/grub-setup.c'
> > --- util/i386/pc/grub-setup.c	2010-01-16 00:39:14 +0000
> > +++ util/i386/pc/grub-setup.c	2010-03-08 22:20:02 +0000
> > @@ -418,7 +418,7 @@
> >
> >    grub_util_warn (_("Embedding is not possible.  GRUB can only be
> > installed in this "
> >  		    "setup by using blocklists.  However, blocklists
> >    are UNRELIABLE and "
> > -		    "its use is discouraged."));
> > +		    "their use is discouraged."));
> >    if (! force)
> >      grub_util_error (_("if you really want blocklists, use --force"));
> >
> >
> > [keshav at keshav-laptop grub2_BZR]$
> >
> >
> > _______________________________________________
> > Grub-devel mailing list
> > Grub-devel at gnu.org
> > http://lists.gnu.org/mailman/listinfo/grub-devel
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100311/2aed3fd0/attachment.pgp 


More information about the bazaar mailing list