lkml.org 
[lkml]   [2016]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/6] perf tools: Improve 'make build-test'
Hi Jiri,

I think if we can fold the feature checking in build-test then
it can be even faster. We need only 2 feature check result (for
normal building and static building), but in a full build-test
we run 138 rounds feature checking. Would you please give some
help on it?

Now I have a 160 cores server for building perf, currently busy
time and idle time are 5:3 (result from top. I use 1s interval.
Each test case takes about 8s, in about 5 seconds I can see
full of 'cc1' in perf top result). A full test-build still require
more than 0.3 hours (8s * 34 cases * 2 (with and without O) *
2 (Makefile and Makefile.perf) = 1088 seconds).

Thank you.



On 2016/1/8 22:32, Arnaldo Carvalho de Melo wrote:
> Em Fri, Jan 08, 2016 at 02:23:55PM +0000, Wang Nan escreveu:
>> There are some bugs and inconveniences in 'make build-test', causes
>> people with strong motivation to avoid writing to source directory
>> and people don't have plenty of time skip build-test before sending
>> patches.
>>
>> Patch 1 - 3 fixes some existing bug. Patch 4 speedup the test.
>> Patch 5 and 6 makes build-test obey 'O' option passes from cmdline
>> of the first 'make'.
>>
>> With these 6 patches I make build-test success in my environment
>> fully success the first time.
> Hey, I owe you some beer or other stuff you like first time we meet, now
> waiting for Jiri to chime in...
>
> Thanks!
>
> - Arnaldo
>
>> Wang Nan (6):
>> perf tools: Add -lutil in python lib list for broken python-config
>> perf tools: Add missing headers in perf's MANIFEST
>> perf tools: Fix phony build target for build-test
>> perf tools: Set parallel making options build-test
>> perf tools: Pass O option to Makefile.perf in build-test
>> perf tools: Test correct path of perf in build-test
>>
>> tools/perf/MANIFEST | 2 ++
>> tools/perf/config/Makefile | 2 +-
>> tools/perf/tests/make | 56 +++++++++++++++++++++++++++++++++-------------
>> 3 files changed, 43 insertions(+), 17 deletions(-)
>>
>> --
>> 1.8.3.4


\
 
 \ /
  Last update: 2016-01-11 04:41    [W:0.247 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site