Re: bzr VCS feedback

From: Robert Collins <robertc@dont-contact.us>
Date: Tue, 08 Jan 2008 08:15:38 +1100

On Mon, 2008-01-07 at 16:50 -0200, Gonzalo Arana wrote:
> Tsantilas,
>
> Thank you very much for the pointer. I was able to 'branch'
> squid3-bzr.
>
> About bzr, here are two things that I've noticed:
>
> * debian etch (stable) has an old version of bzr (0.11-1.1), which
> does not recognize squid-bzr
> repository:
> $ bzr branch http://www.squid-cache.org/bzr/squid3/trunk
> bzr: ERROR: Unknown branch format: 'Bazaar Branch Format 6 (bzr
> 0.15)\n'
>
> debian (and most linux/BSD distros I guess) come with a usable CVS
> version.

Newer bzr is in backports.org, bsd ports, fedora and so on.

> * bzr 1.0 seems to use a lot of memory for checkout at least:
> $ ps axuw | grep bzr
> garana 25130 8.9 15.7 87256 80276 pts/16 S+ 10:46 1:06
> /usr/bin/python /usr/bin/bzr branch
> http://www.squid-cache.org/bzr/squid3/trunk
> /home/garana/src/squid--bzr/trunk
> $ ps axuw | grep cvs
> garana 28048 16.4 0.3 4228 1860 pts/18 S+ 16:11 0:02 cvs
> co squid
>
> CVS used only 4K, while bzr used more than 80M (it devastated my
> workstation).

They are doing completely different things. CVS is streaming the final
texts from the remote server and is not processing any of the history
data. bzr is cloning the deep history of the repository. 80M is more
than I would have expected; I'd call that a bug. It won't ever be '4K'
though because python takes more memory than that.

> $ ps axuw | grep bzr
> garana 27912 7.1 2.9 17872 15096 pts/16 S+ 16:03 0:02
> /usr/bin/python /usr/bin/bzr bind
> http://www.squid-cache.org/bzr/squid3/trunk
>
> Since I am not a core squid developer, I know that I don't have a vote
> on this, but
> I have to say that I am quite disappointed with bzr resource usage.

Do you mind me asking how much RAM your workstation has?

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Received on Mon Jan 07 2008 - 14:15:41 MST

This archive was generated by hypermail pre-2.1.9 : Wed Jan 30 2008 - 12:00:09 MST