From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] mk: parallelize make config Date: Mon, 30 Jan 2017 19:13:32 +0100 Message-ID: <3385178.hERfc14dTb@xps13> References: <20170122015034.19824-1-ferruh.yigit@intel.com> <20170130102115.20975-1-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Ferruh Yigit Return-path: Received: from mail-wj0-f180.google.com (mail-wj0-f180.google.com [209.85.210.180]) by dpdk.org (Postfix) with ESMTP id 51F8D3237 for ; Mon, 30 Jan 2017 19:13:34 +0100 (CET) Received: by mail-wj0-f180.google.com with SMTP id uo9so9296786wjc.1 for ; Mon, 30 Jan 2017 10:13:34 -0800 (PST) In-Reply-To: <20170130102115.20975-1-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2017-01-30 10:21, Ferruh Yigit: > make config dependency resolving was always running serial, > parallelize it for better performance. > > $ time make T=x86_64-native-linuxapp-gcc config > real 0m12.633s > > $ time make -j8 T=x86_64-native-linuxapp-gcc config > real 0m1.826s > > When config creation done under a single make target, using a for loop, > make has no control on the action, and it needs to run as implemented in > the rule. But if for loop converted into multiple targets, make can > detect independent targets and run them parallel based on -j parameter. > > Signed-off-by: Ferruh Yigit Looks a good improvement, thanks Ferruh. Acked-by: Thomas Monjalon Applied