bzr-svn stores sqlite db in ~/.bazaar => REALLY SLOW on NFS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
Low
|
Jelmer Vernooij |
Bug Description
My homedir is on NFS. Bzr-svn apparently stores a sqlite database in ~/.bazaar.
While this appears to have been working, it took over 10 minutes to get through 39k (out of 130k) revisions in the "analyzing repository layout" stage. I believe this is because of the excessive numbers of F_SETLK operations that were being done on the database file. I imagine (not an NFS protocol hacker) each one of those requires a synchronous roundtrip to the NFS server and is not too highly optimized.
In contrast, copying the whole 350MB ~/.bazaar to a local disk and symlinking ~/.bazaar to it took about 10s, and then after restarting the bzr branch operation, doing the whole "analyzing repository layout" took less than 30s.
I conclude that either you should use sqlite in some more efficient way, or else not store these files in my homedir. Howabout putting it in the bzr checkout directory instead?
PS: Grey text for this bug entry field? WTF? I had to use an external editor to write this so I wouldn't go blind during the process. Not Good UI.
Related branches
Changed in bzr-svn: | |
assignee: | nobody → jelmer |
Changed in bzr-svn: | |
milestone: | none → 0.4.5 |
Changed in bzr-svn: | |
status: | Triaged → Fix Committed |
Changed in bzr-svn: | |
status: | Fix Committed → Fix Released |
(sorry, wrong submitted to wrong project)