← Back to team overview

maria-developers team mailing list archive

Re: Patches to consider to include


Sergey Petrunya <psergey@xxxxxxxxxxxx> writes:

> [1]. The problem I'm looking at is that for some reason it takes unreasonable
> amounts of time and bandwidth to do any operations on the staging trees. I
> have no idea why, perhaps we're hitting a bug in bazaar's handling of stacked
> branches. Maybe we should switch to non-stacked ones.  Once that is sorted
> out, there is a mysql-test run failure I'd prefer to see fixed before we add
> more changes.

Hm. I just tested locally, and these are the times I see:

$ time bzr branch --no-tree 'lp:~maria-captains/maria/maria-6.0-testing1'
Branched 3040 revision(s).                                                     
1.63user 0.10system 0:10.52elapsed 16%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+176outputs (0major+23387minor)pagefaults 0swaps

$ cd maria-6.0-testing1/
$ time bzr co
65.67user 1.86system 1:28.47elapsed 76%CPU (0avgtext+0avgdata 0maxresident)k   
281400inputs+345344outputs (1major+93710minor)pagefaults 0swaps

$ echo extra line >> README
$ time bzr ci -m "test commit"
Committing to: /home/knielsen/devel/repo/maria-6.0-testing1/                   
modified README
Committed revision 3041.                                                       
Skipping None: allow_remote_options not set for mysql plugin.
4.00user 0.28system 0:04.46elapsed 95%CPU (0avgtext+0avgdata 0maxresident)k
440inputs+5728outputs (1major+25187minor)pagefaults 0swaps

$ time bzr push --stacked-on bzr+ssh://bazaar.launchpad.net/~maria-captains/maria/6.0 bzr+ssh://bazaar.launchpad.net/~knielsen/maria/tmp-test-launchpad-speed4
Created new stacked branch referring to bzr+ssh://bazaar.launchpad.net/~maria-captains/maria/6.0.
1.68user 0.11system 0:19.05elapsed 9%CPU (0avgtext+0avgdata 0maxresident)k
56inputs+32outputs (0major+17078minor)pagefaults 0swaps

So 10 seconds to branch, 4 to commit, and 19 to push to launchpad trees. So I
wonder what is different at your end to make it slow.

Of course, for 6.0 trees it is important to use the --stacked-on option, but
since you were the one I learned that from that is unlikely to be your

No idea, sorry...

 - Kristian.

Follow ups