Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1305791
| From | "Wangnan (F)" <wangnan0@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/6] perf tools: Improve 'make build-test' |
| Date | 2016-01-11 04:00 +0100 |
| Message-ID | <qPAS6-4ya-19@gated-at.bofh.it> (permalink) |
| References | <qOGdc-7Wi-13@gated-at.bofh.it> <qOGmR-812-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/6] perf tools: Improve 'make build-test' Wang Nan <wangnan0@huawei.com> - 2016-01-08 15:30 +0100
[PATCH 5/6] perf tools: Pass O option to Makefile.perf in build-test Wang Nan <wangnan0@huawei.com> - 2016-01-08 15:30 +0100
[PATCH 2/6] perf tools: Add missing headers in perf's MANIFEST Wang Nan <wangnan0@huawei.com> - 2016-01-08 15:30 +0100
[tip:perf/core] perf tools: Add missing headers in perf' s MANIFEST tip-bot for Wang Nan <tipbot@zytor.com> - 2016-01-09 17:40 +0100
Re: [PATCH] perf tools: Add missing sources in perf's MANIFEST "Wangnan (F)" <wangnan0@huawei.com> - 2016-01-11 10:50 +0100
Re: [PATCH] perf tools: Add missing sources in perf's MANIFEST Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-11 15:20 +0100
[PATCH] perf tools: Add missing sources in perf's MANIFEST Jiri Olsa <jolsa@redhat.com> - 2016-01-11 10:50 +0100
[PATCH 4/6] perf tools: Set parallel making options build-test Wang Nan <wangnan0@huawei.com> - 2016-01-08 15:30 +0100
Re: [PATCH 4/6] perf tools: Set parallel making options build-test Jiri Olsa <jolsa@redhat.com> - 2016-01-11 10:40 +0100
Re: [PATCH 0/6] perf tools: Improve 'make build-test' Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-01-08 15:40 +0100
Re: [PATCH 0/6] perf tools: Improve 'make build-test' "Wangnan (F)" <wangnan0@huawei.com> - 2016-01-11 04:00 +0100
Re: [PATCH 0/6] perf tools: Improve 'make build-test' Jiri Olsa <jolsa@redhat.com> - 2016-01-11 09:50 +0100
csiph-web