From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wHjgDjdRO2JBFwEAgWs5BA (envelope-from ) for ; Wed, 23 Mar 2022 17:56:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6C+HCzdRO2LAegEAauVa8A (envelope-from ) for ; Wed, 23 Mar 2022 17:56:23 +0100 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 EF2261FE17 for ; Wed, 23 Mar 2022 17:56:22 +0100 (CET) Received: from localhost ([::1]:58334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nX4HV-0003hF-V8 for larch@yhetil.org; Wed, 23 Mar 2022 12:56:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nX4HC-0003dH-Bn for bug-guix@gnu.org; Wed, 23 Mar 2022 12:56:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51798) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nX4HC-0001oH-24 for bug-guix@gnu.org; Wed, 23 Mar 2022 12:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nX4HC-0006Mc-1s for bug-guix@gnu.org; Wed, 23 Mar 2022 12:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44053: Poor profile generation performance on spinning disks Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Mar 2022 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44053 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 44053-submit@debbugs.gnu.org id=B44053.164805451624403 (code B ref 44053); Wed, 23 Mar 2022 16:56:02 +0000 Received: (at 44053) by debbugs.gnu.org; 23 Mar 2022 16:55:16 +0000 Received: from localhost ([127.0.0.1]:45695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX4GS-0006LW-IN for submit@debbugs.gnu.org; Wed, 23 Mar 2022 12:55:16 -0400 Received: from mail-io1-f41.google.com ([209.85.166.41]:37680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX4GR-0006LD-4J for 44053@debbugs.gnu.org; Wed, 23 Mar 2022 12:55:15 -0400 Received: by mail-io1-f41.google.com with SMTP id c23so2406956ioi.4 for <44053@debbugs.gnu.org>; Wed, 23 Mar 2022 09:55:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pDzMfo5PzRNO9R570eQsWpoh9rwrg0yL1xF9HNJLzlY=; b=FbKGR81frAmclggeMdMBdST3v1XcG6QG8RjWBYRhgfST7OlVhifjpJGRtZr5kshTni 78hZnJ9lLeKQ/tDE95DTEHUanij4G3ZkH63RuhTnez4rebJNEnpzIGF6e6cfLqTLQoAm FSYdFE79Coh5gz8mXdhuUnpfIbduZKohZ3aq3zpgASq7Qt1ymgVv7PR8r5aplzoJWwEl royGhO+JWxINPkNKIYCfLh8SEqbk4I6bSob62xzzJNxNC0rCr0zdT+yQheM9Nvo9pj1+ hH35fTtM9oJfWxthmwOG+ov3MLVDG+gwue6VMwcR47sz3waIgir77AWSpMqpOtByIShI 8afA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pDzMfo5PzRNO9R570eQsWpoh9rwrg0yL1xF9HNJLzlY=; b=lEG50REdxEJeJdVKwU/oeQVMvUseP5B6eIwF5a0Eu1NPn61HPzye+CIL4DY0s2aWzE BeLYmCxjKuy0cIT+P0t7w33UK84z2uq1AXTXBq4KnvuJdXCyHlYvjEirqcc0QIH4x5ki DlRWSOxPcZa4abevs1g5XCO1kF5G+G6j6Dpf9qx2MRmJptJDTAm6QrWPwvrNqbOUCVZK YX4ZtRbWmvfgBahACHBMjF4R70LV1wSlXdVqZAzVOjyvCLJpod5FP5pj66RHneJ0bhAx 1bFCRbPspbmxB8ftXbg9m85LUlcnYE2V/sye6LofCRGtNLyp2DOHFvU7I7FsxroI31a4 wYsA== X-Gm-Message-State: AOAM530QrQQgFzBYgQtILpv9P3qe0UWop+eDEm1pVCBjDuJ6/IlxSm8V wvcL841Z0Qa3Lqs1sf2G+DxIQTD0rimRi7V47Xo= X-Google-Smtp-Source: ABdhPJyz2l7cnszMLy8qursrRvn2ErzuhMYkhZHdyLSgHn5HaMRetEMzE2e598FIN6s9Coc34l/Adcv2k/bjKq6x9Pk= X-Received: by 2002:a05:6638:d0c:b0:31a:5d8a:c013 with SMTP id q12-20020a0566380d0c00b0031a5d8ac013mr433275jaj.132.1648054509300; Wed, 23 Mar 2022 09:55:09 -0700 (PDT) MIME-Version: 1.0 References: <87zh4k435a.fsf@gmail.com> <86tubozvw6.fsf@gmail.com> <87ils4y773.fsf@gmail.com> In-Reply-To: <87ils4y773.fsf@gmail.com> From: zimoun Date: Wed, 23 Mar 2022 17:54:57 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" 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: , Cc: 44053@debbugs.gnu.org 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=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648054583; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=pDzMfo5PzRNO9R570eQsWpoh9rwrg0yL1xF9HNJLzlY=; b=jKx1OMU29EXKpWX4xIH/DhoNZRNVKyIY3WZTBIQzWvctqXFXqgMisLZ6gjWE9z0x6j2ayL ZkRRmPttawJmrsdDxmQduT0a9LnrTJ7Z9JfxptbWNfnMDS1VQfByPTOfloMxz4JjW0nnFl YJPI/kRyQXzmlZ/zXKOuN04j466mL/3zsnbPeKyrZ3JSdzgZXTC5QtLt6he0K8JTVjNtjg XCXgaAsD3kFy7RXQp0rzFmtiXEGHeheUdC9VqEXGQ268RvtD3JIZBVs9TVulSTpdVxQxeC S3C8hmejMWHgC1yiHNJSCDLN+ihaIi5mgOeEx0DiG6Fyk+4FLAp2I1xbk+RBEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648054583; a=rsa-sha256; cv=none; b=oSoXfWcP3CD7yWzscjg2MirYA+AX9OxJ37bbeXniLwx30XG3a56Ucx5gk7SrJJCB8dJeWF 4dtyuKbzbX4x/g+HSTqI6AV/MiuMJTTWYQ1vpzxqx8X31eep5hBWlV1zlXS6x0kNBLgwez 061HOFaWw43z93fB2QgqCZuq/GOPHC59fAYqKywCbae/yumVlyzesmBHEHifGhIpT5fbzI qJuoKJXex2fbuNPdc2PNBCSBa+lDnCBPIpr/Y4aayIPQqHwAqA1loZmF8m/Xf5wJLNReNy 6/rCRa614xUu7kVveS6d0JWyhImymdc5pFaljl5dQML5/5t7kVr37rgtXRSRBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FbKGR81f; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 4.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FbKGR81f; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: EF2261FE17 X-Spam-Score: 4.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: tGXtFWGmrWwW Hi Maxim, On Wed, 23 Mar 2022 at 17:17, Maxim Cournoyer wrote: > This issue is more about the time it takes to generate the file > hierarchy of the profile, rather than with the profile hooks. The > profile hooks should be tolerably fast at this point. Yeah, I have seen your profiling about man-db, cool! > There is perhaps more optimization that can be done at the level of > populating the symbolic links of a profile, so I'd like to leave this > open until someone gets around to profiling what is slow and whether > something more can be done. Ok. So we need to provide a "configuration". For instance, a typical manifest and Guix revision to compare with. WDYT? Cheers, simon