Push from development6 into 1.9-rich-root over smart server is very slow

Bug #374649 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  affects bzr

Pushing from the development6 format into a 1.9-rich-root repository
using the smart server protocol (bzr.dev on both sides) is very slow
and transfers an unreasonable amount of data. Looking at -Dhpss
output, it seems like VFS calls are used for everything.

The repo is about 1500 revisions, each containing roughly 100 files.
I'm pushing 6 revisions, for which the complete unified diff is less
than 10kb. bzr transfers around 4Mb of data to push these revisions.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iJwEAQECAAYFAkoHV1kACgkQDLQl4QYPZuV85AQAgoWwUOIp7u6y511S2AdPEXPj
Hh8zdN0s/GMz5wdbZ3cb0oExGI4iyW18MoAE11Rilc2tZpRv204bKSopkl6OVWEW
nITjYJH1KxgXjYznP6iIuImRc5sZOPVCSpcFXBB1FP2fBSXxLqqAfXah54L135Xc
GM0seHTzLvxDOvJ1sQo=
=r0iZ
-----END PGP SIGNATURE-----

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 374649] [NEW] Push from development6 into 1.9-rich-root over smart server is very slow

On Sun, 2009-05-10 at 22:38 +0000, Jelmer Vernooij wrote:
>
> Pushing from the development6 format into a 1.9-rich-root repository
> using the smart server protocol (bzr.dev on both sides) is very slow
> and transfers an unreasonable amount of data. Looking at -Dhpss
> output, it seems like VFS calls are used for everything.
>
> The repo is about 1500 revisions, each containing roughly 100 files.
> I'm pushing 6 revisions, for which the complete unified diff is less
> than 10kb. bzr transfers around 4Mb of data to push these revisions.

Can you attach a -Dhpss log please. It shouldn't be dropping back to
VFS.

Also if you could breakpoint _ensure_real and get a backtrace that would
be good too.

-Rob

Revision history for this message
Robert Collins (lifeless) wrote :

On Sun, 2009-05-10 at 23:28 +0000, Robert Collins wrote:

> Also if you could breakpoint _ensure_real and get a backtrace that would
> be good too.

I've just sent a patch in that will do this automatically if you do
-Dhpss

-Rob

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.