many get_parent_map calls during walk to common revisions when branching into empty repository
Bug #388269 reported by
Michael Hudson-Doyle
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
John A Meinel | ||
2.4 |
Confirmed
|
High
|
John A Meinel |
Bug Description
Copying data when a long history has to be walked to determine what to copy is slow. This commonly shows up when copying into a shared repository created with 'bzr init-repo'. Over a dumb protocol btree-caching kicks in and the random layout of graph data vs index order means that it is appreciably faster for this part of the fetch operation.
See bug 435048 for more analysis
Related branches
lp://staging/~jameinel/bzr/2.4-too-much-walking-388269
- John A Meinel: Approve
-
Diff: 345 lines (+244/-26)5 files modifiedbzrlib/graph.py (+158/-3)
bzrlib/remote.py (+12/-20)
bzrlib/tests/test_graph.py (+71/-0)
bzrlib/tests/test_remote.py (+2/-2)
bzrlib/vf_repository.py (+1/-1)
lp://staging/~jameinel/bzr/2.4-get_cached_parent_map-388269
- Vincent Ladeuil: Approve
-
Diff: 402 lines (+250/-28) (has conflicts)5 files modifiedbzrlib/graph.py (+34/-2)
bzrlib/remote.py (+4/-0)
bzrlib/tests/per_repository_reference/test_graph.py (+69/-0)
bzrlib/tests/test_graph.py (+117/-26)
bzrlib/tests/test_remote.py (+26/-0)
Changed in bzr: | |
importance: | Undecided → High |
status: | New → Confirmed |
status: | Confirmed → New |
description: | updated |
tags: | added: hpss |
summary: |
- getting a branch into an empty shared repository takes a long time to - figure out revisions to send + many get_parent_map calls during walk to common revisions when branching + into empty repository |
Changed in bzr: | |
status: | Triaged → Confirmed |
description: | updated |
tags: | added: fetch performance |
tags: | added: affects-linaro |
Changed in bzr: | |
assignee: | nobody → John A Meinel (jameinel) |
Changed in bzr: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
bzr-svn also has this problem inside "bzr svn-import" .