GNU bug report logs

#41702 `guix environment` performance issues

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #68 received at 41702-done@debbugs.gnu.org (full text, mbox, reply):

Received: (at 41702-done) by debbugs.gnu.org; 23 Oct 2020 14:51:43 +0000
From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 23 10:51:43 2020
Received: from localhost ([127.0.0.1]:57963 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1kVyPv-0000Mg-KF
	for submit@debbugs.gnu.org; Fri, 23 Oct 2020 10:51:43 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48214)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1kVyPu-0000MR-1m
 for 41702-done@debbugs.gnu.org; Fri, 23 Oct 2020 10:51:42 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:50976)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@gnu.org>)
 id 1kVyPo-0004Qm-Ib; Fri, 23 Oct 2020 10:51:36 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56962 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@gnu.org>)
 id 1kVyPo-0005FE-1h; Fri, 23 Oct 2020 10:51:36 -0400
From: Ludovic Courtès <ludo@gnu.org>
To: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Subject: Re: bug#41702: `guix environment` performance issues
References: <87y2o3zf00.fsf@gnu.org> <20200701112453.GB25179@zpidnp36>
 <87eepuyk99.fsf@gnu.org> <20200702070000.GA4532@zpidnp36>
 <20200702120333.GB4532@zpidnp36> <87k0zhkoyf.fsf@gnu.org>
 <20200706125800.GA3176@zpidnp36> <20200720095059.GB3143@zpidnp36>
 <87mu3tq2hh.fsf@gnu.org> <87r1pqc6sy.fsf@gmail.com>
 <20201023072621.GA3115@zpidnp36>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 2 Brumaire an 229 de la Révolution
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: Fri, 23 Oct 2020 16:51:34 +0200
In-Reply-To: <20201023072621.GA3115@zpidnp36> (Lars-Dominik Braun's message of
 "Fri, 23 Oct 2020 09:26:21 +0200")
Message-ID: <873625ngg9.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 41702-done
Cc: Maxim Cournoyer <maxim.cournoyer@gmail.com>, 41702-done@debbugs.gnu.org
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Hi,

Lars-Dominik Braun <ldb@leibniz-psychology.org> skribis:

> grafting is still a performance issue imo. Compare for example:

Agreed.  The fix in 58bb833365db4e8934a386497d5b00a063cfd27d is
incomplete: we’re still potentially doing things several times.

> $ time guix environment --ad-hoc  --search-paths r-learnr
> guix environment --ad-hoc --search-paths r-learnr  5,90s user 0,09s system 210% cpu 2,844 total
> $ time guix environment --ad-hoc  --search-paths r-learnr --no-grafts
> guix environment --ad-hoc --search-paths r-learnr --no-grafts  2,03s user 0,08s system 164% cpu 1,277 total

Here’s what I get over a local socket:

--8<---------------cut here---------------start------------->8---
ludo@ribbon ~/src/guix$ time guix environment --ad-hoc  --search-paths r-learnr --no-grafts
export PATH="/gnu/store/wkhd1fnmg1q30g21bfn5jprz24m041w6-profile/bin${PATH:+:}$PATH"

real	0m1.790s
user	0m1.928s
sys	0m0.102s
ludo@ribbon ~/src/guix$ time guix environment --ad-hoc  --search-paths r-learnr
export PATH="/gnu/store/pwzrpzdbli2561f2yq70kljywn93h5w6-profile/bin${PATH:+:}$PATH"

real	0m3.820s
user	0m4.954s
sys	0m0.105s
--8<---------------cut here---------------end--------------->8---

Ludo’.




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 15:54:56 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.