From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=YhsoTdMN0fz5swdSUxM4kCwa0XtFC3+7krQCgPRxT54=; b=1G3iWYhqT6G/yfo5ttJVGir7AiYf3SkXN4z1+byi841yaH0pW+wswm/0fmd4MVMCZc A+a6cmb24MBAqHqdHIV9X2nYbvBtieLVKNU/IgAD9n5X1eI8DhaX3WNfNWiA7reuqrwy 1v9a0/gia6hi+W+X1th1fYBfYLGa6TOFyOhslay4lrF0D0rlngOm0R/Ll0J0zr1AQDgC yds6gI5dRqHLu+ZjX850RkKVhLr2dsJxI1LN3ZZePNGM3fR5RkxS3DUJTP2Q2FP3pCWY en4D7odBnlwJpL5U1V57WUBTXlIzsdNqKpCRHuE3OMMR6K0kUrtt22xTaQW5lyeNO9qt KxnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=YhsoTdMN0fz5swdSUxM4kCwa0XtFC3+7krQCgPRxT54=; b=en99PjnqEq4VM9BzUkRnVPtuiEM/VRC6IEwBBhDTiEh00/Togql/FnHnxhiPBjXNOG 285C4vTKOBojcswnndfTfK4u6TXMPU4Sbfbv28KXChVtbsZ8MX0ipmEwrCEAv2VHl/MT 56HMILzfDjcCYFTxYB9ATxwAVDB4o8Li5D/e+ICOwOv625R18tlGSu1FFE1b5J+SXin1 AC2MagIRChEYz9puCc3io0ZVGBHGGR0Qngptb+uedpdeU98MVSKF57OOUP/7jc8mBwBE qx1e8XNjEwAXasyjdfMd0Fam+at2+5m6jSuPFnC5pJXLxNfI3gIDeDbfAMsjdOCx1PTh 9b6A== X-Gm-Message-State: AIkVDXLcF/VqyY59tl8Y5gbA2Wp6zWE/Xz6Ug3/N725UDdMG4/SPimVCUFl0Kq+2w4cEjmpL X-Received: by 10.223.148.2 with SMTP id 2mr21838459wrq.75.1485800014078; Mon, 30 Jan 2017 10:13:34 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 191sm19993023wmo.21.2017.01.30.10.13.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 10:13:33 -0800 (PST) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org Date: Mon, 30 Jan 2017 19:13:32 +0100 Message-ID: <3385178.hERfc14dTb@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170130102115.20975-1-ferruh.yigit@intel.com> References: <20170122015034.19824-1-ferruh.yigit@intel.com> <20170130102115.20975-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] mk: parallelize make config X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2017 18:13:34 -0000 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