Package: bzr
Version: 0.11-1
Severity: normal

bzr seems to deliberately eat my bandwidth.  The following two
invocations of bzr have been run in a row, after the $http_proxy and
$HTTP_PROXY environment variables have been set up to point to a
(working) squid proxy/cache.  As you can see, there's no gain in using
a cache:

,----
| [EMAIL PROTECTED]:/tmp$ time bzr branch http://bazaar-ng.org/bzr/bzr.dev
| Bzrtools is not up to date with installed bzr version 0.11.0.
| There should be a newer version available, e.g. 0.11.
| Branched 2100 revision(s).
| 
| real    23m28.351s
| user    0m31.538s
| sys     0m1.880s
| [EMAIL PROTECTED]:/tmp$ mv bzr.dev/ bzr.dev.bak
| [EMAIL PROTECTED]:/tmp$ time bzr branch http://bazaar-ng.org/bzr/bzr.dev
| Bzrtools is not up to date with installed bzr version 0.11.0.
| There should be a newer version available, e.g. 0.11.
| Branched 2100 revision(s).
| 
| real    23m58.854s
| user    0m32.130s
| sys     0m1.740s
| [EMAIL PROTECTED]:/tmp$
`----

The Squid logs lots of TCP_MISS and TCP_CLIENT_REFRESH_MISS entries.
According to the Squid documentation, this means that "The client
issued a "no-cache" pragma, or some analogous cache control command
along with the request. Thus, the cache has to refetch the object."

  Bzr is slow enough already, bypassing proxy-caches is not good.  One
could, with lots of goodwill, argue the case for initial branching,
but re-fetching more than a megabyte afterwards for each bzr pull (one
in each branch) is stretching it.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-xen-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages bzr depends on:
ii  python                        2.4.4-1    An interactive high-level object-o
ii  python-celementtree           1.0.5-8    Light-weight toolkit for XML proce
ii  python-central                0.5.9      register and build utility for Pyt
ii  python2.4                     2.4.4-1    An interactive high-level object-o

Versions of packages bzr recommends:
ii  python-paramiko               1.5.2-0.1  make SSH2 connections with python
ii  python-pycurl                 7.15.5-1   Python bindings to libcurl

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to