From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758901AbcAKIqP (ORCPT ); Mon, 11 Jan 2016 03:46:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57102 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752006AbcAKIqM (ORCPT ); Mon, 11 Jan 2016 03:46:12 -0500 Date: Mon, 11 Jan 2016 09:46:08 +0100 From: Jiri Olsa To: "Wangnan (F)" Cc: Arnaldo Carvalho de Melo , jolsa@kernel.org, namhyung@kernel.or, lizefan@huawei.com, pi3orama@163.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/6] perf tools: Improve 'make build-test' Message-ID: <20160111084608.GA15415@krava.brq.redhat.com> References: <1452263041-225488-1-git-send-email-wangnan0@huawei.com> <20160108143252.GG19314@kernel.org> <569319B6.1050901@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <569319B6.1050901@huawei.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2016 at 10:55:50AM +0800, Wangnan (F) wrote: > 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? I think we can add separate target that will skip the feature detection, given that there's extra call before generating FEATURE-DUMP file.. I'll check on this > > 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). nice thanks, jirka