[www] r176209 - Add LNT statistics project

Renato Golin renato.golin at linaro.org
Thu Feb 28 09:53:11 PST 2013


On 28 February 2013 17:05, David Blaikie <dblaikie at gmail.com> wrote:

> To be clear the intention is not to rewrite LNT - but the test-suite
> beneath it. It's a complex hodge-podge of shell, Make, C, awk, etc...
> difficult to maintain/add new features to. LNT was built with the
> intention that the test-suite execution could be rewritten beneath it.
>

Oh, that. Well, yes, it's a bit hacky, but I haven't delved deep enough to
know much.


Hardly my forte, though I don't immediately see why changing the
> number of cycles would make regression analysis invalid.
>

Because I can only know if a benchmark is regressing if it's static and the
run-time changes or if there is a clear output per time unit.

But output per time unit (like Linpack or Dhrystone) are measure of raw
output, not compiler performance. They're good to compare two different
architectures, but not so good to spot regressions between revisions. All
of them require some sort of fine tuning and heuristics to determine start
and stop steps.

For instance, Linpack keeps trying bigger matrices until one run takes more
than 10s, which means that from run to run you can have, say 4 or 5 cycles.
It also automatically selects the initial run's size based on some
heuristics, so if something changes in the platform (space available,
memory, etc), the heuristics could change the initial run, and you wouldn't
be able to compare any run after that with the runs before the change.



If the OS is differently loaded each time you run the tests you're
> going to have a hard time doing regression analysis anyway, aren't
> you?
>

Yes, but what I was saying was still related to the initial run / number of
runs. If your last usual run is, say 2048 bytes matrices that usually take
10.05s and one day it takes 9.95, you'll end up with another run. Depending
on the heuristics (Livermore Loops had a particularly troubling one), you
could change the results completely from run to run.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130228/f93b01e6/attachment.html>


More information about the llvm-commits mailing list