From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0BW7GHD8hGIVqwAAbAwnHQ (envelope-from ) for ; Wed, 18 May 2022 16:02:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aP2zGHD8hGJUBgAA9RJhRA (envelope-from ) for ; Wed, 18 May 2022 16:02:24 +0200 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 05A07129E5 for ; Wed, 18 May 2022 16:02:21 +0200 (CEST) Received: from localhost ([::1]:37862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nrKFo-0002Pq-2N for larch@yhetil.org; Wed, 18 May 2022 10:02:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrKFW-0002OA-TD for bug-guix@gnu.org; Wed, 18 May 2022 10:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nrKFW-0008FD-K2 for bug-guix@gnu.org; Wed, 18 May 2022 10:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nrKFW-0003My-D6 for bug-guix@gnu.org; Wed, 18 May 2022 10:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55499: excessively large manifests due to propagation Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 18 May 2022 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55499 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55499@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165288249811818 (code B ref -1); Wed, 18 May 2022 14:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2022 14:01:38 +0000 Received: from localhost ([127.0.0.1]:33049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrKF8-00034J-3H for submit@debbugs.gnu.org; Wed, 18 May 2022 10:01:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:37554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nrKF4-00031p-V0 for submit@debbugs.gnu.org; Wed, 18 May 2022 10:01:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrKF3-000256-KX for bug-guix@gnu.org; Wed, 18 May 2022 10:01:34 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21122) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nrKEt-000846-8Y; Wed, 18 May 2022 10:01:33 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1652882469; cv=none; d=zohomail.com; s=zohoarc; b=Qn5nYNNPyQMIrQm3N3WF8swQ6g+x4RwXS82BcN4pQfJHSxtGfcXiLQxUwwg7Aqf7b/VipTu3ufSr2WR/S94Re0sqPqlkxYB8YjiZwDP18damhEYKcCm8SOPjFoES/ASeXsNClETYua2j71jjn0XTDCnkZaBYU9dvIDArmi3VXYQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1652882469; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=gV5Ob8t7ZvuHDXn8fP33+Py781zwI88RqthA7T62hC4=; b=j/IDLhoiKUwhRvkifMp9QblCjSPkZKw3qtmbYD3u8d9LQVwiZcAWHUUWF96pTDrL1/KPMOkPw14S8hQfwHeov0cgyokV2hTU1+yzHsiFqhobW2W0qkYQwFt3ztrnEpHehbx8N+6Z2yuOGfaZVYH6FXAkp8FB/8jLg4LePWdazDk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1652882469; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=gV5Ob8t7ZvuHDXn8fP33+Py781zwI88RqthA7T62hC4=; b=doCotpDYZsDm/q6bDDvufjJrbjDh+VQwUy3c8+kOEo+Sjmf9zgWBWVVazOM51etj KLmtLrNBXKwgebif1JnQMhj2dHdbBTgtxGzNwJxfMQknvXUKM/5tgqOGiV625EDQtJw IRQ9hrLCWnO0KwJJyRODvvT7rmOPGzYM2BBmcSYw= Received: from localhost (118-108-142-46.pool.kielnet.net [46.142.108.118]) by mx.zohomail.com with SMTPS id 1652882468127716.8637033216065; Wed, 18 May 2022 07:01:08 -0700 (PDT) User-agent: mu4e 1.6.10; emacs 28.0.50 From: Ricardo Wurmus Date: Wed, 18 May 2022 15:53:06 +0200 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87sfp7kkim.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652882544; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gV5Ob8t7ZvuHDXn8fP33+Py781zwI88RqthA7T62hC4=; b=SF82SlconLa6HpjZCu67LuBoG2mG/Q9RuAk3v58Eo4HepgsaU+1eKvtYQ/ti8Y0BUZR+3r PI1FhZxIC3aDscf6qKgjYExfRiLDl+dcyQRNc/O6buA1fNxHICVKgspHeL97bz2jGa/BAP OyJ5uqxwWVUpToyxfbGJd44Zg8kmxV2aV/A/IjwTS/ICX9NoQe0ureFDTu0LPZ8uu6T/IN +Q2hryG/liugRZG0lCWZftMDs/GVWEnzqGXpqdjhLYtIZHwFeeqpu8JzPYqQQtqiKO5PLF YhZ2etyGyRGGWDOMY/Z1EZ+3xE2xpssPY4mTAj0h2eD5CRAVgUx4/fb9mH40dA== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1652882544; a=rsa-sha256; cv=fail; b=KKwPSsz0HksftfOpLv278Dz0IMyBd8+Upy1iypMVLiH9pWggnHv74Aavdy5W3YE9wTQNoU Rthb2ZidDUHVquGNlKebi8uRKPwbJTGyP0Bn55soVTnFvvh3mixNAtRVOsNeyGf49vCY8H 1fl6+Va+iKPfg51aBvCjs83c+/igEniwjgTmPLFcOAFV3jlyeIOBgJEMiva5llO57oJ0Sv K2W/oOODZK/cRlnOKS0mIHi7Ajs2D6lcG6KXU6SOLCCwN3D9Y5cZO+AAUGlbNxQS/Gjlxp IxXdhC7XQY+Prp6gMBwwcfPynPWm6uAj6a7fhUAxnaEqCuYkU6KQm9ZDyVWATg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=doCotpDY; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=doCotpDY; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 05A07129E5 X-Spam-Score: 0.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7LirUVyU4LJE Packages of some languages rely heavily on propagation. R is one example. Since the generated =E2=80=9Cmanifest=E2=80=9D file of a Guix pro= file records entries for all propagated packages, this can get really big really quickly. A profile consisting only of four R packages (r-seurat, r-cistopic, r-monocle3, and r-cicero-monocle3) results in a =E2=80=9Cmanifest=E2=80=9D = file that weighs 7.1MB. At the MDC I repeatedly encountered manifest files that are exceeding 24MB. Simply reading that big a file with (call-with-input-file "huge-manifest" read) takes several seconds. On the MDC cluster I observed a delay of about 27 seconds. Disabling read positions with (read-disable 'positions) significantly speeds this up (18s vs 27s), but it=E2=80=99s still very slow. We may be able to speed things up by supporting definitions or references in manifest files, so that we don=E2=80=99t need to repeat a sub= -tree when generating the file. --=20 Ricardo