From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <robin.jarry@6wind.com>
Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45])
 by dpdk.org (Postfix) with ESMTP id 5E3081023
 for <dev@dpdk.org>; Tue, 24 Jan 2017 13:31:13 +0100 (CET)
Received: by mail-wm0-f45.google.com with SMTP id r144so206421782wme.1
 for <dev@dpdk.org>; Tue, 24 Jan 2017 04:31:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:in-reply-to:user-agent;
 bh=yfscpVJsJLVseAnZ65ID0khXQeV5YRKrdvlaObHzpzg=;
 b=Zc/OPwBgs+aJgoVQn385rVHgSf2ly7VylxhohFrFGVPkrPurAHg3uVjvZ66Avfyy8G
 0PQnPSdv6RMCnif7usfYXC2BlqVrjLVjvODb+MP1WjyLwu5DGNj91IlJWCxXl17F4y64
 TZbyYygv5ahQr0oJjsug8Tw0KbZ9mD4jfCQcW+XU+Gdu7zeRjJWzMvj9kMQT6sC/z8vX
 dt+/+3zilTjtGzTfnejeR+4QiSREKB/BNORmzwwIX2PH4hp4ASBI81g8yeEDMzCNbXZL
 TCaDHGDS4DMkmcTCSS5zpXCeQac5vowfGcceDcA3GHNgghUk1YlZRvUQ+8CIveBFzjIV
 qVzw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:references
 :mime-version:content-disposition:in-reply-to:user-agent;
 bh=yfscpVJsJLVseAnZ65ID0khXQeV5YRKrdvlaObHzpzg=;
 b=WUOXhgYLNlO2UIjjDVf2bEq0PPSuntmlN5KeXFgb977oBhmeytJ7Jrdmk6fFsf60zo
 Lhnj7X6rP5oL2kr6HVys2EMG8dKQqmqVUtmjzY1iGlAwVJ7Fdu8M0XASEzdyE9uMrh2b
 UTQHC9XuH9kcDDkKZwVCj2rozGFWlJEoPbiglv9RcHjONjemXbc84xWsIZ+XoZUXFoKe
 ljWTaMWwiUxkAGwtVIk++0bktusypfYbm2FIwmkLbXXhaW1RTQS56ka0ffP+hOLVm6lZ
 t1UWseNGN8KMdyZzhbHxp8lM478vAz3DxLV3ihwHmmD8P2s9AwlEtNhTQ3O+j2ZjfYAc
 yhlA==
X-Gm-Message-State: AIkVDXLJYoqs9Dv4S/ZhKwnUdJRbDJpS017jXq/xYe/04PqMCljmrQZlNnoMFd7LCRxAkNgg
X-Received: by 10.28.46.73 with SMTP id u70mr16985211wmu.54.1485261073122;
 Tue, 24 Jan 2017 04:31:13 -0800 (PST)
Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78])
 by smtp.gmail.com with ESMTPSA id x135sm26133436wme.23.2017.01.24.04.31.12
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 24 Jan 2017 04:31:12 -0800 (PST)
Date: Tue, 24 Jan 2017 13:31:06 +0100
From: Robin Jarry <robin.jarry@6wind.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: Olivier Matz <olivier.matz@6wind.com>, dev@dpdk.org,
 ferruh.yigit@intel.com, thomas.monjalon@6wind.com
Message-ID: <20170124123106.uprr62tzlwquhbvj@6wind.com>
References: <20170123181813.00567e47@platinum>
 <1485191953-2613-1-git-send-email-olivier.matz@6wind.com>
 <20170124111949.6jcif4uliwg6bgxv@6wind.com>
 <20170124112633.GA156840@bricha3-MOBL3.ger.corp.intel.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <20170124112633.GA156840@bricha3-MOBL3.ger.corp.intel.com>
User-Agent: NeoMutt/20161126 (1.7.1)
Subject: Re: [dpdk-dev] [PATCH] mk: optimize directory dependencies
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jan 2017 12:31:13 -0000

Hi Bruce,

2017-01-24, Bruce Richardson:
>what are the differences in the patches like when doing a build rather
>than just a config? If the build is minutes long because of slow IO,
>is the extra 10 seconds really going to make that much of a difference?

I agree there is no significant difference in total build time (config 
included) when using -j8 (about ~15s). And I understand your concern 
about the complexity of the patch in the second solution.

But the way dependencies are computed is overly complex and I feel that 
parallelizing is just hiding dust under the carpet. The result after the 
second solution is cleaner (to me): we get rid of an obscure shell 
script and we stop piping make output to files thus restoring the 
possibility to use make -d to debug problems.

And while the goal is to reduce the config time, why not go all the 
way?

-- 
Robin