bzr speed

Asked by F.R.@.N.K

I have a general problem with the speed of Bazaar. Everything becomes really slow. A new checkout takes up to 1 hour. Updates take
minutes. etc etc.

Project background: We are working now for over half a year with Bazaar, on average 5 people are working fulltime and commiting code each day to their own branch. These commits are checked and merged with the trunk if approved, otherwise updated and recommited. If a task is completed the branch is being removed. Since we are working quite hard on this project, daily merges happen to all the branches (~15 active branches).
All is communicated via SFTP on an own dedicated server (no real tasks execpt for Bazaar). Our project is about 10MB in size and has ~2500 files.

Someone any idea why this is so teribly slow and what we can do to speed things up?

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Pool
Solved:
Last query:
Last reply:

This question was originally filed as bug #264085.

Revision history for this message
Dan Watkins (oddbloke) said :
#1

Hi Frank,

I've converted this to a question, as it's not really specific enough to be a bug report.

Dan

Revision history for this message
Dan Watkins (oddbloke) said :
#2

Frank,

Could you let us know what format your branches are in? 'bzr info' should show the format.

Cheers,

Dan

Revision history for this message
F.R.@.N.K (frank-iceshop) said :
#3

format: dirstate

Is this important?

Revision history for this message
F.R.@.N.K (frank-iceshop) said :
#4

A branch is ~85MB in size.

Revision history for this message
F.R.@.N.K (frank-iceshop) said :
#5

Server information: CPU load <5%, no shortage on memory
Data trafic: ~4kB/s
BZR version (on server): 1.6 (just upgraded)
BZR version local: V1.6 (just upgraded)

Revision history for this message
Best Martin Pool (mbp) said :
#6

Hi FR@NK,

You should upgrade from 'dirstate' format to either 'pack-0.92' or '1.6' format, which should be substantially faster. (There is no speed difference between the two; if all your machines are on 1.6 or later then use that.)

To do the upgrade, just run 'bzr upgrade' on each branch, repository and working tree directory. See the help or the user documentation for more details or ask here.

Revision history for this message
F.R.@.N.K (frank-iceshop) said :
#7

Hi Martin,

I did try it and it is now 10x faster!!! Perfect!

Regards,

Frank

Revision history for this message
F.R.@.N.K (frank-iceshop) said :
#8

Thanks Martin Pool, that solved my question.