On Jan 7, 2008 7:15 PM, Robert Collins <robertc@robertcollins.net> wrote:
>
> On Mon, 2008-01-07 at 16:50 -0200, Gonzalo Arana wrote:
> > Tsantilas,
...
> >
> > 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.
Using backports always ended in some dpkg brokeness. If a debian user
really wants to user bzr, installing from source I guess is the only long-term
option. bzr by default, installed in /usr; while /usr/local would be a better
choice I suppose. I guess this is a non-stopper anyway.
> > * 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
I understand the cause of this memory usage, but that does not make
the memory usage less inconvenient.
> 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.
I believe a reasonable memory usage would be accepted, but 80M to
fetch the history data makes me think that bzr may not be as tested
as people may think.
Again, that's just my opinion. If squid-3.1 is shifted to bzr, I'll manage.
> > $ 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?
Not at all! My office workstation has 512M. I wouln't like to have to shutdown
firefox, apache, mysql, gkrellm, gaim and so on to do a 'bzr branch'. I don't
need to do that when I do 'cvs checkout'.
Regards,
-- Gonzalo A. AranaReceived on Tue Jan 08 2008 - 07:20:08 MST
This archive was generated by hypermail pre-2.1.9 : Wed Jan 30 2008 - 12:00:09 MST