<div dir="ltr"><div><div><div><div>> ideally with the last released version of clang to make the results easier to reproduce.<br><br></div>I was thinking along the same lines.<br></div>And it might also make sense to have the clang version in the data schema, since it will be changing every now and then.<br><br></div>Thanks<br><br></div>Galina<br><div><div><br><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 30, 2017 at 9:11 AM, Rafael Avila de Espindola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Galina Kistanova <<a href="mailto:gkistanova@gmail.com">gkistanova@gmail.com</a>> writes:<br>
<br>
> Hi Rafael,<br>
><br>
> The machine is ready.<br>
> Did you decide what do you want to run there? I guess this one -<br>
> <a href="https://reviews.llvm.org/D39506" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D39506</a>?<br>
<br>
</span>Correct. That script has to send results to a lnt instance, so we might<br>
need to set one up with the link.yaml schema.<br>
<br>
An example run looks like:<br>
<br>
$ benchmark.py --wraper sudo,cset,shield,-e,-- --machine <name><br>
--revision <rev> <directory_with_lld_tests><br>
<br>
I have attached the script I use in my machines to setup the benchmark<br>
environment. It basically implements the suggestions on<br>
<a href="https://www.llvm.org/docs/Benchmarking.html" rel="noreferrer" target="_blank">https://www.llvm.org/docs/<wbr>Benchmarking.html</a>: disable turbo, smt and<br>
address space randomization. It then uses cset to remove a core from the<br>
scheduler regular list so that we can run the benchmark on it.<br>
<br>
The ld.lld being benchmarked should be build with -DLLVM_BUILD_STATIC=ON<br>
-DLLVM_ENABLE_PIC=OFF and ideally with the last released version of<br>
clang to make the results easier to reproduce.<br>
<br>
<br><br>
Cheers,<br>
Rafael<br>
<br></blockquote></div><br></div>