[llvm-dev] Benchmark LNT weird thread behaviour

Chris Matthews via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 19 17:17:16 PDT 2016


There seems to be three interesting flags in your LNT invocations:

 -j2 --threads=1 --build-threads=4  
Since -j and --threads are the same flag, I think that is the problem.  The first -j flag is at the start of the LNT command, perhaps that is coming from a different part of zorg?



On September 19, 2016 at 3:48:55 PM, Renato Golin via llvm-dev (llvm-dev at lists.llvm.org) wrote:

Hi James/Chris,

You guys have done this before, so I'm guessing you can help me
understand what's going on.

If my buildbot config is:

jobs=2,
nt_flags=['--cflag', '-mcpu=cortex-a15', '--use-perf', '--threads=1',
'--build-threads=4']

It uses -j4 for build, -j2 for running the tests:

http://buildmaster.tcwglab.linaro.org/builders/clang-native-arm-lnt-perf/builds/35/steps/test-suite/logs/stdio

If my buildbot config is:

jobs=4,
nt_flags=['--cflag', '-mcpu=cortex-a15', '--use-perf', '--threads=1',
'--build-threads=4']

It uses -j4 for build, -j4 for running the tests:

http://buildmaster.tcwglab.linaro.org/builders/clang-native-arm-lnt-perf/builds/33/steps/test-suite/logs/stdio

If my buildbot config is:

jobs=2,
nt_flags=['--cflag', '-mcpu=cortex-a15', '--use-perf', '--threads=1',
'--build-threads=2']

It uses -j2 for build, -j2 for running the tests:

http://buildmaster.tcwglab.linaro.org/builders/clang-native-arm-lnt-perf/builds/34/steps/test-suite/logs/stdio

But, on the production buildbot, my config is:

jobs=2,
nt_flags=['--cflag', '-mcpu=cortex-a15', '--use-perf', '--threads=1',
'--build-threads=2']

and it uses -j2 to build and -j1 to run the tests:

http://lab.llvm.org:8014/builders/clang-native-arm-lnt-perf/builds/98/steps/test-suite/logs/stdio

My master has up-to-date Zorg as of yesterday. The only change I did
was to comment out the unused slaves.

What am I doing wrong?

cheers,
--renato
_______________________________________________
LLVM Developers mailing list
llvm-dev at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160919/854a8c33/attachment.html>


More information about the llvm-dev mailing list