From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gJytJmoK42QsegAASxT56A (envelope-from ) for ; Mon, 21 Aug 2023 08:55:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UGBlJmoK42QcuQAAauVa8A (envelope-from ) for ; Mon, 21 Aug 2023 08:55:38 +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 1D7D35A3DF for ; Mon, 21 Aug 2023 08:55:36 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=efficios.com header.s=smtpout1 header.b=B+lAQzcv; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=efficios.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692600938; a=rsa-sha256; cv=none; b=DaLMxZhOXYhv11Jas9bYK3+xWvjMItTOBp/KiCvbkrfoxwBiBXkWVSW84sy9W53RgxWt2+ QMHsAhfcN2TQb9DG1EZ8nDag2crMXgglPoQnruKaG3cvL3jxI+QsNHzkiyg7/yCb0ihU2i rOJ3qOsmEIUHeX5cuP3lQP9D1Qze8LIjacb9XibP8Czq9uqELMN0ckX2SG3IGZkY1gEoJh uchBBtpTlhuaC+v0YBw/WRklflY/alMFv+y6GdowkAAXhZkI7TfoZWW0Hw7x7zDJN2cd7S QaaAJHg6xk2K2eOAxSQuGlKHr2FSafgHq0CIEgGfTz0U3Ip8c5vcMLZMQPjpyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=efficios.com header.s=smtpout1 header.b=B+lAQzcv; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=efficios.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692600938; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=Y6nfZUY402cKCkIEhsEJSMsLaaDYLWFe0NuQZ8ftWi4=; b=KPx84PtajbA1T+EgZ1HAAw7G2JB6yLJXFLJs5v3jJEEtD7wHFdit0BOCI+QF9RCGMYa7wK EVAow9oex3yIxV838ldA7R7CTHM7+cx8KjQw/X3ZH4RE591IVk5nxEdtKvFyMpvXoI5G1h DGLNPQudFJuYehDeJHufZvJZmQbe+0A3bVJ00aigDfxt02OeU/KCeO2jqIh5CE2Dc0J18c INFNsDApw31uxnahf7aycfEiPYRM5sy4JaOtqHYIMhkP7rwe3m1G6ayiICnXeAfkyVRhBt k+NHgS7eHB1UEdhfPa6QvBiGwrKhM2qaWh80IBgjFW70lBEtql3pnSX85YhrTQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXyob-0004Pv-09; Mon, 21 Aug 2023 02:55:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWMDT-0002WV-9N for bug-guix@gnu.org; Wed, 16 Aug 2023 15:30:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWMDT-0002c6-0g for bug-guix@gnu.org; Wed, 16 Aug 2023 15:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWMDS-000077-J5 for bug-guix@gnu.org; Wed, 16 Aug 2023 15:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65345: guix-pull --list-generations is slow Resent-From: Olivier Dion Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 16 Aug 2023 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65345 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 65345@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1692214161346 (code B ref -1); Wed, 16 Aug 2023 19:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2023 19:29:21 +0000 Received: from localhost ([127.0.0.1]:42119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWMCm-00005U-Pp for submit@debbugs.gnu.org; Wed, 16 Aug 2023 15:29:21 -0400 Received: from lists.gnu.org ([2001:470:142::17]:58818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWMCk-00005E-Ja for submit@debbugs.gnu.org; Wed, 16 Aug 2023 15:29:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWMCf-0002Qr-94 for bug-guix@gnu.org; Wed, 16 Aug 2023 15:29:13 -0400 Received: from smtpout.efficios.com ([167.114.26.122]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qWMCc-0002SJ-M9 for bug-guix@gnu.org; Wed, 16 Aug 2023 15:29:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1692214146; bh=Ko6uLFlgcdT97n/bD68CtK83b9WgLDdFvnq63J9uCa0=; h=From:To:Subject:Date:From; b=B+lAQzcv7qZuiELJVfHx8DObdmQqCPfqtshE+TSd4QUDL09lhvIS1epHFgrYvufqB ZXxWt6cE8Iq0YKajX9q/ac1XqcELwH/gJc6ym9QeQVCrMMlyvckGxlciZjYEDoyX9E bRuYBH1AZ2z9DZzIeIwdDbFhL/T4l75M8LDJyKeNRS+hZ7c2grs/6BP0y9bH6QGkZL yE8TLcdxRyr/gYNB+qMeHcnEaCemHgen/EHRFJ0VRuSAeT61ooFqhKl04wL3N5X1HQ UMIiD6EhTwR6+32w0ovCyvoXEGo/pSLXeQ74HHd4QMHDH1k0KtWxAJWzcs01YF/jfG w+txOoU98O5Eg== Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4RQyqk5FBhz1LMn for ; Wed, 16 Aug 2023 15:29:06 -0400 (EDT) From: Olivier Dion Organization: EfficiOS Date: Wed, 16 Aug 2023 15:29:06 -0400 Message-ID: <87cyzmwzul.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=167.114.26.122; envelope-from=odion@efficios.com; helo=smtpout.efficios.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Mailman-Approved-At: Mon, 21 Aug 2023 02:55:00 -0400 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Spam-Score: -3.46 X-Migadu-Queue-Id: 1D7D35A3DF X-Migadu-Spam-Score: -3.46 X-TUID: yw/hFMj1kLCn Hi, Calling `guix-pull --list-generations' is very slow on my system with 37 generations. $ time guix pull --list-generations > /dev/null real 0m58.702s user 1m8.418s sys 0m1.527s Also, it takes a lot of CPU (100% of a core). $ guix describe: guix 7b2b0a5 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 7b2b0a5e1d635fb0e3d2d3e9141ac27c2db644b5 >From a search in pull.scm, I think that the culprit is in the `channel-news-for-commit' procedure. Thanks, old -- Olivier Dion EfficiOS Inc. https://www.efficios.com