empty push performance slower than needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Unassigned | ||
bzr (Ubuntu) |
Fix Released
|
High
|
Andrew Bennetts |
Bug Description
bzr 0.14: An empty push over a 1.5Mb line, with 50ms latency, using bzr
+ssh, with a tree that has 230KB in revision history and 2.5MB in
revision.kndx takes 46 seconds.
Just sshing in:
% time ssh HOST echo true
true
0.02s user 0.00s system 0% cpu 18.099 total
%
So we're looking at 28 seconds once bzr has setup the connection, or
possibly bzr is making two connections. Either way its extremely slow,
even considering locking the repo and branch, and then reading the
revision-history, only about 240KB of data should be transfered, and
with 50ms latency, that should be about 2 seconds total.
affects bzr
status confirmed
importance high
--
GPG key available at: <http://
% /usr/bin/time ssh HOST echo true
true
0.00user 0.00system 0:00.17elapsed
So the baseline to make new connections when there is a master channel is subsecond.