<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 11, 2013 at 3:51 PM, Sean Farley <span dir="ltr"><<a href="mailto:sean@mcs.anl.gov" target="_blank">sean@mcs.anl.gov</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>I think you're conflating the timings here. Let's first isolate network speed:<br>

<br>
$ time git clone -n <a href="https://bitbucket.org/jedbrown/petsc-git-lean" target="_blank">https://bitbucket.org/jedbrown/petsc-git-lean</a> petsc-git<br>
Cloning into 'petsc-git'...<br>
<div>remote: Counting objects: 297100, done.<br>
remote: Compressing objects: 100% (67974/67974), done.<br>
remote: Total 297100 (delta 228357), reused 297100 (delta 228357)<br>
</div>Receiving objects: 100% (297100/297100), 41.22 MiB | 873 KiB/s, done.<br>
<div>Resolving deltas: 100% (228357/228357), done.<br>
<br>
</div>real 1m6.176s<br>
user 0m7.732s<br>
sys 0m2.283s</div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>
<br>
$ time hg clone --uncompressed -U<br>
<a href="https://bitbucket.org/petsc/petsc-dev" target="_blank">https://bitbucket.org/petsc/petsc-dev</a> petsc-dev<br>
streaming all changes<br>
10150 files to transfer, 150 MB of data<br>
transferred 150 MB in 181.4 seconds (847 KB/sec)<br>
<br>
real 3m11.839s<br>
user 0m5.111s<br>
sys 0m5.308s<br></div></blockquote><div><br></div><div>If your network is slow enough, any system will saturate the network bandwidth. But if you have a fast network, there can be a big difference.<br></div><div><br></div>
<div><div><font face="courier new, monospace">jedbrown@cg:/sandbox/jedbrown$ time git clone -n <a href="https://bitbucket.org/petsc/petsc">https://bitbucket.org/petsc/petsc</a></font></div><div><font face="courier new, monospace">Cloning into 'petsc'...</font></div>
<div><font face="courier new, monospace">remote: Counting objects: 490113, done.</font></div><div><font face="courier new, monospace">remote: Compressing objects: 100% (111365/111365), done.</font></div><div><font face="courier new, monospace">remote: Total 490113 (delta 376104), reused 490113 (delta 376104)</font></div>
<div><font face="courier new, monospace">Receiving objects: 100% (490113/490113), 66.39 MiB | 20.24 MiB/s, done.</font></div><div><font face="courier new, monospace">Resolving deltas: 100% (376104/376104), done.</font></div>
<div><font face="courier new, monospace"><br></font></div><div><b><font face="courier new, monospace">real<span class="" style="white-space:pre"> </span>0m16.811s</font></b></div><div><font face="courier new, monospace">user<span class="" style="white-space:pre">   </span>0m15.493s</font></div>
<div><font face="courier new, monospace">sys<span class="" style="white-space:pre">     </span>0m4.100s</font></div></div><div><font face="courier new, monospace"><br></font></div><div><div><font face="courier new, monospace">jedbrown@cg:/sandbox/jedbrown$ time hg clone --uncompressed -U <a href="https://bitbucket.org/petsc/petsc-dev">https://bitbucket.org/petsc/petsc-dev</a> petsc-hg</font></div>
<div><font face="courier new, monospace">streaming all changes</font></div><div><font face="courier new, monospace">10497 files to transfer, 158 MB of data</font></div><div><font face="courier new, monospace">transferred 158 MB in 74.6 seconds (2.11 MB/sec)</font></div>
<div><font face="courier new, monospace"><br></font></div><div><b><font face="courier new, monospace">real<span class="" style="white-space:pre"> </span>1m47.693s</font></b></div><div><font face="courier new, monospace">user<span class="" style="white-space:pre">   </span>0m4.092s</font></div>
<div><font face="courier new, monospace">sys<span class="" style="white-space:pre">     </span>0m1.912s</font></div></div><div><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">If we just want 'master' (e.g., building for an app on a production machine), we can make it even faster.</font></div>
<div style><font face="courier new, monospace"><br></font></div><div style><div><font face="courier new, monospace">jedbrown@cg:/sandbox/jedbrown$ time git clone -n --depth 1 --single-branch <a href="https://bitbucket.org/petsc/petsc">https://bitbucket.org/petsc/petsc</a> petsc-master</font></div>
<div><font face="courier new, monospace">Cloning into 'petsc-master'...</font></div><div><font face="courier new, monospace">remote: Counting objects: 5053, done.</font></div><div><font face="courier new, monospace">remote: Compressing objects: 100% (4609/4609), done.</font></div>
<div><font face="courier new, monospace">remote: Total 5053 (delta 918), reused 2195 (delta 361)</font></div><div><font face="courier new, monospace">Receiving objects: 100% (5053/5053), 9.12 MiB | 5.67 MiB/s, done.</font></div>
<div><font face="courier new, monospace">Resolving deltas: 100% (918/918), done.</font></div><div><font face="courier new, monospace"><br></font></div><div><b><font face="courier new, monospace">real<span class="" style="white-space:pre">  </span>0m3.220s</font></b></div>
<div><font face="courier new, monospace">user<span class="" style="white-space:pre">    </span>0m0.508s</font></div><div><font face="courier new, monospace">sys<span class="" style="white-space:pre">       </span>0m0.104s</font></div>
<div><br></div></div></div></div></div>