Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966598AbbDXSZy (ORCPT ); Fri, 24 Apr 2015 14:25:54 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:50370 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965559AbbDXSZw (ORCPT ); Fri, 24 Apr 2015 14:25:52 -0400 From: Chris J Arges To: linux-kbuild@vger.kernel.org, mmarek@suse.cz Cc: linux-kernel@vger.kernel.org, Chris J Arges Subject: [PATCH 0/2] make deb-pkg build speed improvements Date: Fri, 24 Apr 2015 13:25:38 -0500 Message-Id: <1429899940-32366-1-git-send-email-chris.j.arges@canonical.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1114 Lines: 38 These two patches should speed up the make deb-pkg build process by utilizing the make jobserver properly, and using 'find | xargs' to parallelize debug module installation. I've tested with the resulting packages to ensure the symbols work as intended by crash dumping a machine and using the dbg package symbols. Using an Ubuntu distro conf + make olddefconfig on a 56-core machine, I can see the following improvements (make clean && make deb-pkg -j`nproc`): * Before real 40m56.240s user 182m17.292s sys 140m18.812s * After real 36m22.633s user 182m28.028s sys 148m17.724s Chris J Arges (2): package: Makefile: ensure $MAKE can use jobserver builddeb: parallelize debug module installation scripts/package/Makefile | 2 +- scripts/package/builddeb | 15 ++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/