Large source tree performance
Andrew Nguyen
avnguyen at alumni.ucsd.edu
Thu Nov 2 02:11:45 GMT 2006
Yes, you are correct, I did not 'bzr add' after 'bzr ci' - whoops.
I have a Toshiba laptop with a 1.8Ghz Pentium M, 512M RAM, plenty of
swap space.
I just want to make sure that I understand bzr properly:
When running 'bzr branch /bzr/repos ./testbranch', it will create a
branch just like a branch in subversion and it will also pull that
branch into ./testbranch (similar to a checkout in subversion) except
that it's not a 'bzr checkout' - changes checked in will still only be
checked into ./testbranch until it is merged into /bzr/repos.
As a result, this will always take more time than a similar operation in
subversion since the branch itself also pulls data allowing for
disconnected operation. However, if I 'bzr branch' into a folder that
is a shared repository, it will be almost as quick as a branch/checkout
in subversion. I'm new to DRCS and it really takes some getting used to.
Thanks again!
Andrew Nguyen
avnguyen at alumni.ucsd.edu
----------All messages are signed with GnuPG----------
gpg --keyserver subkeys.pgp.net --recv-keys 0x1150736B
John Arbash Meinel wrote:
> Andrew Nguyen wrote:
>> I had found a page detailing some benchmarks with the linux kernel tree
>> but can't seem to find it again - does anyone have a link handy? What I
>> really wanted to do was compare the numbers against what I observed to
>> see if there is anything wrong with my system setup. I ran the
>> following commands and have annotated them with respective times:
>>
>> cd linux-2.6.18.1
>> bzr init
>> bzr add
>> bzr ci (unk time taken)
>> bzr add (unk time taken)
>> bzr push /bzr/testpush (local filesystem, 33min)
>> cd ..
>> bzr branch /bzr/testpush testbranch (18min)
>>
>> Is this typical? I am really excited about bazaar (currently using
>> subversion) but would like to know if the performance hit lies in my
>> system setup or with bazaar. However, things are getting much better
>> since the above operations failed to complete (after 4 hours) with the
>> Ubuntu version of bazaar (0.8.?)
>>
>> Thanks,
>> Andrew
>>
>
> What version of bzr are you running? We have pages like this:
> http://bazaar-vcs.org/Performance/0.9
> http://bazaar-vcs.org/Performance/0.10
> http://bazaar-vcs.org/Performance/0.11
> (the 0.12 one doesn't have any specific changes for add and commit
> performance)
>
> I also would guess that you didn't 'bzr add' after you 'bzr ci'...
>
> Do you have the specs for your machine? A lot of it probably depends on
> how much data it can cache, versus hitting swap or reading the hard-drive.
>
> Those performance benchmarks were run on my machine, which does have a
> lot of RAM.
>
> However, on this machine 'bzr branch . ../other-branch' does take 15min
> if they are not sharing a repository. Definitely something worth looking
> into.
>
> John
> =:->
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061101/d2c9c149/attachment.pgp
More information about the bazaar
mailing list