HI again,<br><br>I recently got a bzr 1.9rc installed on all of y servers ( some using python 2.4.4 , and some python 2.5 )<br><br>Bazaar (bzr) 1.9rc1<br> Python interpreter: /usr/bin/python 2.4.4<br> Python standard library: /usr/lib/python2.4<br>
bzrlib: /usr/lib/python2.4/site-packages/bzrlib<br> Bazaar configuration: /home/autobzr/.bazaar<br> Bazaar log file: /home/autobzr/.bzr.log<br><br>interestingly enough<br><br>when I do a :<br><br>bzr pull -r33 bzr+ssh://[...]/home/autobzr/deployBZR/Game<br>
<br>the patch you made before about seems to have been applied :<br> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br>31682 autobzr 18 0 82860 77m 2468 S 0 2.4 0:00.25 bzr<br><br>however when I do a :<br>
<br>bzr branch -r1 bzr+ssh://[...]/home/autobzr/deployBZR/Game<br>\ [============================= ] Copying content texts 3/5<br><br>the patch doesnt seem to apply for some reason :<br> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<br>
1902 autobzr 24 0 1920m 1.9g 2468 S 0 58.3 0:03.24 bzr<br><br>any idea why they might behave differently ?<br><br>I didnt run with -Dhpss yet, I can do that if it s needed...<br><br>Let me know ;-)<br><br>PS I ll come up on IRC now...<br>
<br>--<br>Alex<br><br><div class="gmail_quote">2008/10/29 John Arbash Meinel <span dir="ltr"><<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div class="Ih2E3d">Asmodehn Shade wrote:<br>
> Thanks a lot for the help John.<br>
><br>
> For those who are experiencing the same problem, and as John advised me,<br>
> try the sftp:// protocol.<br>
> The protocol enforce the size of the chunks being transferred, so that<br>
> enable us to workaround the problem as a user, even if it is slower than<br>
> bzr+ssh://, at least it works ;-)<br>
><br>
> Thanks again !<br>
> Waiting for the next version ;-)<br>
><br>
> Cheers,<br>
><br>
> --<br>
> Alex<br>
><br>
<br>
<br>
</div>The other thing we tried was upgrading to --development2 format, to see<br>
how much of a difference that would make.<br>
<br>
To start with, it turns out that the prefetch code doesn't have any<br>
effect on this test. When fetching the first revision (which adds<br>
thousands of files), we are always making full-width requests.<br>
<br>
Next, the btree indexes are 23MB instead of 77MB.<br>
<br>
While he thought he was latency bound, he is actually bandwidth bound<br>
while inspecting the indexes. And 'latency bound' later, but because of<br>
the buffering time, not because of the actual ping time to the remote host.<br>
<br>
So it actually was taking 296s before he could start downloading the<br>
actual file content. With btree indexes, it starts at around 94s.<br>
(77MB/23MB = 3.3, and 296s/94=3.1). And that seems to be a purely<br>
bandwidth based issue. His claim was that he has ~1.5Mbit connection,<br>
which is approx 180kB/s. 77MB/296s ~ 260kB/s, and 23M/94s ~ 240kB/s.<br>
<br>
Which means that btree indexes shave about 2.5minutes off of his startup<br>
time. Both ways he'll still have to wait a long time to download the<br>
16GB of content (about 19 hours if my numbers are correct).<br>
<br>
So in the grand scheme of things, it is a small improvement, but it is a<br>
consistent improvement. And once he has that enormous initial download,<br>
the startup time will become more of an issue.<br>
<br>
I've also attached an interesting log of my network connection. Both<br>
circled areas are doing "bzr log --short -r -10..-1 http://....". Can<br>
you guess which one is using btree indexes and which is using knit indexes?<br>
<br>
The time is 7s versus 15s. Which I have the feeling we are latency bound<br>
for all of the .bzr/branch-format, .bzr/branch/format etc files.<br>
Otherwise we would see a much more significant change (packing the<br>
repository drops off another second or 2, so some of it is having<br>
round-trips to multiple pack files, but that still leaves 5s).<br>
<div class="Ih2E3d"><br>
John<br>
=:-><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.9 (Cygwin)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
</div>iEYEARECAAYFAkkIzs0ACgkQJdeBCYSNAAO+8QCeIFCckaJ9MaRqutPBWOob52Kc<br>
6roAn31KdBlgzzHHO8Mpx6oBNxfifWvC<br>
=+7+n<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br>