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>&nbsp; Python interpreter: /usr/bin/python 2.4.4<br>&nbsp; Python standard library: /usr/lib/python2.4<br>
&nbsp; bzrlib: /usr/lib/python2.4/site-packages/bzrlib<br>&nbsp; Bazaar configuration: /home/autobzr/.bazaar<br>&nbsp; Bazaar log file: /home/autobzr/.bzr.log<br><br>interestingly enough<br><br>when I do a :<br><br>bzr pull -r33&nbsp; bzr+ssh://[...]/home/autobzr/deployBZR/Game<br>
<br>the patch you made before about seems to have been applied :<br>&nbsp; PID USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PR&nbsp; NI&nbsp; VIRT&nbsp; RES&nbsp; SHR S %CPU %MEM&nbsp;&nbsp;&nbsp; TIME+&nbsp; COMMAND<br>31682 autobzr&nbsp;&nbsp; 18&nbsp;&nbsp; 0 82860&nbsp; 77m 2468 S&nbsp;&nbsp;&nbsp; 0&nbsp; 2.4&nbsp;&nbsp; 0:00.25 bzr<br><br>however when I do a :<br>
<br>bzr branch -r1 bzr+ssh://[...]/home/autobzr/deployBZR/Game<br>\ [=============================&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ] Copying content texts 3/5<br><br>the patch doesnt seem to apply for some reason :<br>&nbsp; PID USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PR&nbsp; NI&nbsp; VIRT&nbsp; RES&nbsp; SHR S %CPU %MEM&nbsp;&nbsp;&nbsp; TIME+&nbsp; COMMAND<br>
&nbsp;1902 autobzr&nbsp;&nbsp; 24&nbsp;&nbsp; 0 1920m 1.9g 2468 S&nbsp;&nbsp;&nbsp; 0 58.3&nbsp;&nbsp; 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">&lt;<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a>&gt;</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>
&gt; Thanks a lot for the help John.<br>
&gt;<br>
&gt; For those who are experiencing the same problem, and as John advised me,<br>
&gt; try the sftp:// protocol.<br>
&gt; The protocol enforce the size of the chunks being transferred, so that<br>
&gt; enable us to workaround the problem as a user, even if it is slower than<br>
&gt; bzr+ssh://, at least it works ;-)<br>
&gt;<br>
&gt; Thanks again !<br>
&gt; Waiting for the next version ;-)<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; --<br>
&gt; Alex<br>
&gt;<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&#39;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 &#39;latency bound&#39; 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&#39;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&#39;ve also attached an interesting log of my network connection. Both<br>
circled areas are doing &quot;bzr log --short -r -10..-1 http://....&quot;. 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>
=:-&gt;<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>