From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iAHLMsZLO2Id+QAAgWs5BA (envelope-from ) for ; Wed, 23 Mar 2022 17:33:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QCRxL8ZLO2KfcQAAauVa8A (envelope-from ) for ; Wed, 23 Mar 2022 17:33:10 +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 828C72A32C for ; Wed, 23 Mar 2022 17:33:10 +0100 (CET) Received: from localhost ([::1]:34008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nX3v3-0000tr-IT for larch@yhetil.org; Wed, 23 Mar 2022 12:33:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nX3gQ-0004ZV-CT for bug-guix@gnu.org; Wed, 23 Mar 2022 12:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nX3gQ-0004E4-4F for bug-guix@gnu.org; Wed, 23 Mar 2022 12:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nX3gP-0005IF-RM for bug-guix@gnu.org; Wed, 23 Mar 2022 12:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44053: Poor profile generation performance on spinning disks Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Mar 2022 16:18:01 +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: zimoun Received: via spool by 44053-submit@debbugs.gnu.org id=B44053.164805224920299 (code B ref 44053); Wed, 23 Mar 2022 16:18:01 +0000 Received: (at 44053) by debbugs.gnu.org; 23 Mar 2022 16:17:29 +0000 Received: from localhost ([127.0.0.1]:45660 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX3ft-0005HL-Cg for submit@debbugs.gnu.org; Wed, 23 Mar 2022 12:17:29 -0400 Received: from mail-qt1-f177.google.com ([209.85.160.177]:35443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nX3fr-0005H8-JA for 44053@debbugs.gnu.org; Wed, 23 Mar 2022 12:17:28 -0400 Received: by mail-qt1-f177.google.com with SMTP id v14so1565949qta.2 for <44053@debbugs.gnu.org>; Wed, 23 Mar 2022 09:17:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=XDxjZ/Jno6lHhYQUOOHZDBlODWOkA+zbj9HpWORpUtQ=; b=NriN1ui6LeQ3/S3obQGF+kuKQTDpmLGOsuZb3k2SuiqPWNtUv2SOuleYroyG7LQBKv n5h2VbrLKxwXvHhOal0GC+IX24Y5r6IPyoGLoxnQKEBcZYBvTcTJkLC1sZROmNzctgz7 u3Gpa4Qacs4PsxXqamETgijYI9cvye11/M5xfra85dXXiZz3Tntdj626odxT16WFAgPf gHnb/CyAGgXXbuIBx6XZRF7vLdYBXIbm9wp/yzG7BSWuq+I228BkzXUsJseZ5vaHbgL+ TxDqOF3P5k3wCwpexFFelUSKlRwDfw0ks0FzSQ+5xlaBSY0/068pVNS8rfAFjUqadrBM x8Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=XDxjZ/Jno6lHhYQUOOHZDBlODWOkA+zbj9HpWORpUtQ=; b=Em16SnCB6/mq5G+91PlUmw+X1HJ2If2bnC9hg7+5bTydLuUcjTEymN9Ax1TK2sgvbe Fmd8Vuv7Ryie+Ptt3vf+HHHmxdJdWYlF8kk3NHETEQJA8TJvOgrb1jmBHZtGBfv5czBc xCjU9/x6On5GJpOZwc6mGvN7EsK9HmMK/tQU2ZNoQjf5DkNxET22+ymDc8eU8YR+yWc+ qnRcBo+1QvF0qhwymoIMUMYYmFTkSCxECbUbWUDLwL4z/8vKC5DJOlQKuT/FgQruw49v Hh/QAAZH4VUEvipWGuaNajYJBP54lIrT0wcJrQeMu+Bc0qnDqEw/omoVvt210NOx53WZ BFhA== X-Gm-Message-State: AOAM531NKHZIW1a8/qzoQojNtbsxocEml/LLkD01+tVN4TxwOw0xyWr9 Yl/t89xBokG9YF/AICiBvy3SAWSB2uqYtg== X-Google-Smtp-Source: ABdhPJz2gE/C+ENJBbLhmR0YzwpneW1Cja3IheqfQ4BW2JME+NQZ3wmp7aZnw6IMy342rTIBtIwNsg== X-Received: by 2002:ac8:5aca:0:b0:2e1:e117:b2ff with SMTP id d10-20020ac85aca000000b002e1e117b2ffmr502198qtd.410.1648052241787; Wed, 23 Mar 2022 09:17:21 -0700 (PDT) Received: from hurd (dsl-10-129-199.b2b2c.ca. [72.10.129.199]) by smtp.gmail.com with ESMTPSA id k6-20020a378806000000b0064915d9584fsm201646qkd.8.2022.03.23.09.17.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 09:17:21 -0700 (PDT) From: Maxim Cournoyer References: <87zh4k435a.fsf@gmail.com> <86tubozvw6.fsf@gmail.com> Date: Wed, 23 Mar 2022 12:17:20 -0400 In-Reply-To: <86tubozvw6.fsf@gmail.com> (zimoun's message of "Wed, 23 Mar 2022 13:38:33 +0100") Message-ID: <87ils4y773.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1648053190; 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=XDxjZ/Jno6lHhYQUOOHZDBlODWOkA+zbj9HpWORpUtQ=; b=qL+ptbs9DlMilXDa3zBvL8r0uF4Y4uuXag+phBgd4J0oXAVz84el5VuAJmstrDluUyJmF7 Al4UIW6OL/vYk2MJqW4ZiocJMO1H+44TxtjAAQbKLtrpRCfybePUJYt1qfQW+7W/4qDwey gbraU9HBlcP4KpJRObAUBXWId0QHEPbwYO6goLSvP8bhQh0jfDN1/JaW1aPKWoV/N3UoV1 5uJvuoPuB946n4NOjfZaWpql8GvelwzF3BFwBmX4oTAG4yucYOndKBculAgX4+cD2HSjsL WQ4gGNt+4Cu4m+ealVde4xkl0N76s46ZuNXjqahHHVOz7FB0Q0CDJx2WmnI23g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648053190; a=rsa-sha256; cv=none; b=h0bR25+4XPlRaea+zdgpMnuaz+siQOV7egsT3V/bURZLCMpq8wEAHzs2dFRY6q0zFPTZKq tI9iPQwBweQwFsg5otL6p6hlRlJpFWq/lUNwnFe+jcdlBbX0S/lOk/BdmM19yBQKjHmF2P sV99LeX9aQtV7C1OasA8gvGdZ+qdHN8seJ1ea2wvYGMfasIMdOY8v9NvkbH9l/AthepEdh 1siYFTwvLPQkc/pfDAOMJ4h8Mo40k0twwUXecVtzWVPzQjf9+nf6zB10b3aV1XycPhXfg5 tqH8/9hestSp4MpPFa61XfEXWfrzPCosVvgBUmd1o5JQ1pXjrCl/MTS5EZAadA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NriN1ui6; 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.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=NriN1ui6; 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: 828C72A32C X-Spam-Score: 4.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0at/Hz9vtvWv Hi Simon, zimoun writes: > Hi Maxim, > > About performance reported by [1], > > 1: > > the commit [2], > > 2: > > improves the situation. Although I agree the performance are poor for > spinning disk, what is the next actionable step associated to this > report? > > Maybe we can close, WDYT? 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. 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. Thanks, Maxim