Debian Bug report logs -
#454504
bzr: Large performance regression with rich-root format
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Roland Mas <lolando@debian.org>, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>:
Bug#454504; Package bzr.
(full text, mbox, link).
Acknowledgement sent to Roland Mas <lolando@debian.org>:
New Bug report received and forwarded. Copy sent to Roland Mas <lolando@debian.org>, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bzr
Version: 1.0~rc1-2
Severity: normal
~roland/debian/bzr-repo/gforge/ holds my main bzr repository, stored
as dirstate-with-subtree with no working trees. Trying to clone
branches stored in there gives wildly varying performances depending
on the format of the destination repository. In particular, rich-root
is *slow*:
guest@mirexpress:~/repo/gforge-rich-root$ bzr init-repo --no-trees --format=rich-root .
guest@mirexpress:~/repo/gforge-rich-root$ time bzr branch ~roland/debian/bzr-repo/gforge/debian/sid/ sid
Branched 5068 revision(s).
real 108m52.212s
user 89m24.975s
sys 1m40.582s
[...]
guest@mirexpress:~/repo/gforge-pack$ bzr init-repo --no-trees --format=pack-0.92-subtree .
guest@mirexpress:~/repo/gforge-pack$ time bzr branch ~roland/debian/bzr-repo/gforge/debian/sid/
Branched 5068 revision(s).
real 5m30.865s
user 2m31.997s
sys 0m11.425s
[...]
guest@mirexpress:~/repo/gforge-dirstate$ bzr init-repo --no-trees --format=dirstate-with-subtree .
guest@mirexpress:~/repo/gforge-dirstate$ time bzr branch ~roland/debian/bzr-repo/gforge/upstream-svn/trunk/
Branched 5068 revision(s).
real 4m36.514s
user 1m19.449s
sys 0m13.533s
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bzr depends on:
ii libc6 2.7-3 GNU C Library: Shared libraries
ii python 2.4.4-6 An interactive high-level object-o
ii python-celementtree 1.0.5-9 Light-weight toolkit for XML proce
ii python-central 0.5.15 register and build utility for Pyt
Versions of packages bzr recommends:
ii python-paramiko 1.6.4-1 make SSH2 connections with python
ii python-pycurl 7.16.4-1 Python bindings to libcurl
-- no debconf information
Reply sent
to Jelmer Vernooij <jelmer@vernstok.nl>:
You have taken responsibility.
(Wed, 29 Apr 2009 17:57:11 GMT) (full text, mbox, link).
Notification sent
to Roland Mas <lolando@debian.org>:
Bug acknowledged by developer.
(Wed, 29 Apr 2009 17:57:11 GMT) (full text, mbox, link).
Message #22 received at 454504-close@bugs.debian.org (full text, mbox, reply):
The data formats you're converting between are significantly different
so bzr can't just copy abstract data, it has to process everything to
convert it.
--pack-0.92 to --rich-root-pack is a lot quicker (you are converting
to --rich-root, which is the rich root equivalent of --knit).
The recent work on using a rich root format by default has made it a
lot less necessary to work with different formats, so that should at
least reduce the likeliness of having multiple formats that bzr has to
convert between.
Alternatively, do you think it would perhaps be useful if bzr warned
when it had to do a slow conversion when fetching?
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>:
Bug#454504; Package bzr.
(Wed, 29 Apr 2009 20:12:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Roland Mas <lolando@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>.
(Wed, 29 Apr 2009 20:12:06 GMT) (full text, mbox, link).
Message #27 received at 454504@bugs.debian.org (full text, mbox, reply):
Jelmer Vernooij:
> The recent work on using a rich root format by default has made it a
> lot less necessary to work with different formats, so that should at
> least reduce the likeliness of having multiple formats that bzr has to
> convert between.
Fair enough.
> Alternatively, do you think it would perhaps be useful if bzr warned
> when it had to do a slow conversion when fetching?
Maybe, but if the dichotomy slowly disappears and most of the
repositories are either created or converted to the rich-root world,
then I can understand that there's no real need to go to extra effort
for what's essentially a disappearing problem. Unless the rich-root
variants won't be made the default for some time yet.
Roland.
--
Roland Mas
$ chown -R us:us your_base*
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>:
Bug#454504; Package bzr.
(Wed, 29 Apr 2009 20:30:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Wouter van Heyst <larstiq@larstiq.dyndns.org>:
Extra info received and forwarded to list. Copy sent to Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>.
(Wed, 29 Apr 2009 20:30:05 GMT) (full text, mbox, link).
Message #32 received at 454504@bugs.debian.org (full text, mbox, reply):
On Wed, Apr 29, 2009 at 10:11:06PM +0200, Roland Mas wrote:
> Jelmer Vernooij:
>
> > The recent work on using a rich root format by default has made it a
> > lot less necessary to work with different formats, so that should at
> > least reduce the likeliness of having multiple formats that bzr has to
> > convert between.
>
> Fair enough.
>
> > Alternatively, do you think it would perhaps be useful if bzr warned
> > when it had to do a slow conversion when fetching?
>
> Maybe, but if the dichotomy slowly disappears and most of the
> repositories are either created or converted to the rich-root world,
> then I can understand that there's no real need to go to extra effort
> for what's essentially a disappearing problem. Unless the rich-root
> variants won't be made the default for some time yet.
The bzrtools upstream repo has been converted to a rich-root format just
now, the idea is to see how that pans out, incorporate lessons learned,
upgrade bzr.dev, disseminate.
It won't all happen this week, but I expect things to be rolling by
1.17.
Wouter van Heyst
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>:
Bug#454504; Package bzr.
(Wed, 29 Apr 2009 21:55:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Jelmer Vernooij <jelmer@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Bazaar Maintainers <pkg-bazaar-maint@lists.alioth.debian.org>.
(Wed, 29 Apr 2009 21:55:06 GMT) (full text, mbox, link).
Message #37 received at 454504@bugs.debian.org (full text, mbox, reply):
Roland Mas wrote:
> Jelmer Vernooij:
>
>> Alternatively, do you think it would perhaps be useful if bzr warned
>> when it had to do a slow conversion when fetching?
>>
>
> Maybe, but if the dichotomy slowly disappears and most of the
> repositories are either created or converted to the rich-root world,
> then I can understand that there's no real need to go to extra effort
> for what's essentially a disappearing problem. Unless the rich-root
> variants won't be made the default for some time yet.
>
Yeah, the plan from upstream is to have this happen soon. squeeze will
have a rich-root format by default one way or another, if I can help it.
Cheers,
Jelmer
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 28 May 2009 07:26:42 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 5 15:46:28 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.