<br><br><div class="gmail_quote">On Sat, Jan 9, 2010 at 10:51 AM, Eric Kow <span dir="ltr">&lt;<a href="mailto:kowey@darcs.net">kowey@darcs.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Jan 06, 2010 at 06:32:04 -0800, Jason Dagit wrote:<br>
&gt; I grabbed the latest darcs-benchmark from Petr&#39;s repository and use --get<br>
&gt; again and I&#39;m still hanging (I let it run overnight):<br>
<br>
</div>Argh, not good :-(<br>
<br>
Petr: I&#39;ve confirmed with Jason that this is fetching from scratch.<br>
<div class="im"><br>
&gt; darcs-2.3.1 check [darcs]: 1...2...                        10.9s, 50.0M<br>
&gt; darcs-2.3.1 repair [darcs]: 1...2...                       10.8s, 48.0M<br>
&gt; darcs-2.3.1 pull 1000 [darcs]: 1...2...                    23.3s, 45.0M<br>
&gt; darcs get (full) [ghc-hashed]: 1!..<br>
<br>
</div>Interestingly, here the issue is darcs *get*... what on earth could be<br>
the matter?  Jason, could you try running that command by hand?  In<br>
other words, doing a darcs get from the tarball?<br></blockquote><div><br></div><div>I don&#39;t know what command was being run.</div><div><br></div><div>In the directory where the benchmarking happens:</div><div>$ ls -A</div>
<div>_playground/     repo.darcs/      repo.ghc-hashed/</div><div><br></div><div>And when I look for the tarball that is fetched during --get I don&#39;t see it:</div><div>$ find . -name &quot;*.tgz&quot;</div><div>./repo.darcs/tests/repos/many-files--darcs-2.tgz</div>
<div>./repo.darcs/tests/repos/many-files--hashed.tgz</div><div>./repo.darcs/tests/repos/many-files--old-fashioned-inventory.tgz</div><div>./repo.darcs/tests/repos/maybench-crc.tgz</div><div>./repo.darcs/tests/repos/old-with-checkpoint.tgz</div>
<div><br></div><div>The --get step had listed:</div><div>$ darcs-benchmark --get</div><div>downloading and extracting: <a href="http://repos.mornfall.net/darcs/benchmark-repos/ghc-hashed.tgz">http://repos.mornfall.net/darcs/benchmark-repos/ghc-hashed.tgz</a></div>
<div>downloading and extracting: <a href="http://repos.mornfall.net/darcs/benchmark-repos/darcs.tgz">http://repos.mornfall.net/darcs/benchmark-repos/darcs.tgz</a></div><div><br></div><div>I don&#39;t know where those were extracted.  Is the ghc tarball sitting in repo.ghc-hashed and darcs hung trying to fetch it into _playground?  If so, which directory in playground?</div>
<div><br></div><div><div>$ ls _playground/</div><div>darcs-stats  get1/        repo/</div></div><div><br></div><div>I think a smart change for darcs-benchmark would be to add a verbose mode so that the user can easily figure out how to reproduce the benchmark(s).  Or maybe it has that and I can&#39;t find it?  Perhaps a dry-run benchmark?  Eg., it tries the benchmarks but passes --dry-run to darcs so you can test if it will hang because of darcs expecting input.</div>
<div><br></div><div>One thing I don&#39;t know is the set of command line flags that were used during the darcs get.</div><div><br></div><div>I&#39;m doing:</div><div>$ rm -rf _playground</div><div><br></div><div>And I&#39;ll run the benchmark again (after turning off all powersaving options, including putting disks to sleep) to see if it hangs again.  By the way, that rm command takes a really long time.</div>
<div><br></div><div>Thanks,</div><div>Jason</div></div>