From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id YBGQMEDfWV/4TQAA0tVLHw (envelope-from ) for ; Thu, 10 Sep 2020 08:09:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cBhaLEDfWV8jcgAAbx9fmQ (envelope-from ) for ; Thu, 10 Sep 2020 08:09:36 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 73109940415 for ; Thu, 10 Sep 2020 08:09:36 +0000 (UTC) Received: from localhost ([::1]:45138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGHeB-0001NC-C3 for larch@yhetil.org; Thu, 10 Sep 2020 04:09:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGHe3-0001N5-8h for guix-devel@gnu.org; Thu, 10 Sep 2020 04:09:27 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:51155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGHe0-0002VE-VF; Thu, 10 Sep 2020 04:09:26 -0400 X-IronPort-AV: E=Sophos;i="5.76,359,1592863200"; d="scan'208";a="466903233" Received: from unknown (HELO ribbon) ([193.50.110.102]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Sep 2020 10:09:17 +0200 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Danny Milosavljevic , Mathieu Othacehe Subject: linux-module-builder leads to huge store items X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Fructidor an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 10 Sep 2020 10:09:11 +0200 Message-ID: <874ko6jbo8.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/10 04:09:19 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: O63sHgC2m/4+ Hello Danny & Mathieu, While looking for sources of contention on ci.guix.gnu.org, I found that =E2=80=9Clinux-libre-module-builder=E2=80=9D leads to huuuuge trees in the = store; performing deduplication on these trees takes ages, and more generally these big trees look unreasaonble to me. --8<---------------cut here---------------start------------->8--- $ find /gnu/store/s9md49vjambvprpp5ba3aqvhxilw0w7k-linux-libre-module-build= er-5.8.8|wc -l 85604 $ du -hs /gnu/store/s9md49vjambvprpp5ba3aqvhxilw0w7k-linux-libre-module-bui= lder-5.8.8 1.1G /gnu/store/s9md49vjambvprpp5ba3aqvhxilw0w7k-linux-libre-module-buil= der-5.8.8 --8<---------------cut here---------------end--------------->8--- Surely we don=E2=80=99t need that much just to build a kernel module. :-) (gnu build-system linux-module) has this: ;; TODO: Only preserve the minimum, i.e. [Kbuild], Kconfig, ;; scripts, include, ".config". Which files exactly are needed? Can we go ahead and implement this TODO? I understand the need to =E2=80=9Ccut corners=E2=80=9D while trying things = out, but I=E2=80=99d argue that this specific corner should have been restored before getting into master. Thanks, Ludo=E2=80=99.