[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <569319B6.1050901@huawei.com>
Date: Mon, 11 Jan 2016 10:55:50 +0800
From: "Wangnan (F)" <wangnan0@...wei.com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
CC: <jolsa@...nel.org>, <namhyung@...nel.or>, <lizefan@...wei.com>,
<pi3orama@....com>, <linux-kernel@...r.kernel.org>
Subject: Re: [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
Powered by blists - more mailing lists