From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sJB/Ei0N+17PYwAA0tVLHw (envelope-from ) for ; Tue, 30 Jun 2020 10:00:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WJc+Di0N+154GgAAbx9fmQ (envelope-from ) for ; Tue, 30 Jun 2020 10:00:13 +0000 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 E7DC3940666 for ; Tue, 30 Jun 2020 10:00:12 +0000 (UTC) Received: from localhost ([::1]:50096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqD3j-0006hG-T0 for larch@yhetil.org; Tue, 30 Jun 2020 06:00:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqD3a-0006h6-R5 for bug-guix@gnu.org; Tue, 30 Jun 2020 06:00:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqD3a-0003w0-GC for bug-guix@gnu.org; Tue, 30 Jun 2020 06:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jqD3a-0002OM-E6 for bug-guix@gnu.org; Tue, 30 Jun 2020 06:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41702: `guix environment` performance issues Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 Jun 2020 10:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41702 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 41702-submit@debbugs.gnu.org id=B41702.15935111859147 (code B ref 41702); Tue, 30 Jun 2020 10:00:02 +0000 Received: (at 41702) by debbugs.gnu.org; 30 Jun 2020 09:59:45 +0000 Received: from localhost ([127.0.0.1]:50186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqD3J-0002NS-HZ for submit@debbugs.gnu.org; Tue, 30 Jun 2020 05:59:45 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:35284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqD3I-0002NG-45 for 41702@debbugs.gnu.org; Tue, 30 Jun 2020 05:59:44 -0400 Received: by mail-wm1-f48.google.com with SMTP id l2so17495617wmf.0 for <41702@debbugs.gnu.org>; Tue, 30 Jun 2020 02:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=33WJBfRDbKZpIgB/k/tjkyLp2VSOdL2CPuRmRNSBCcM=; b=U8s3l679tv8tdFavRpMhId3CdDxKRrx1a/mb/NaY1f7SQr6PqmWbBIQ0V3ibr89Cbs IOqeFcKSkfi22X/0U5oTPhSJ07ZslrDsV9aEsI5KP53omf+HMx8n6iN7926poZ7m5DP3 C4FdA2n1FaefmsiGKwuxbpe9bPhgjUtvKeUceG3guDZhLfWudqOgqcSQ9MVnXoymzlmW CQ370T0aavNBc7mg8eVHSmMTQZRUrMjYVGWQ9sjGyT+v/VFze2GtYYdPfzC4vq+AkFjh TWWzl5sMil2I+JvUpFjyeDKKIDA+53ep6YmNdw4XQeeoMLfgMdyOxmHUDiG6FvI+PYoP TN7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=33WJBfRDbKZpIgB/k/tjkyLp2VSOdL2CPuRmRNSBCcM=; b=Wa46A+0OP3uv2iqaUvoGB9+Na3aAfzdGgDBHS3RPQc3g0+kYWqUovYQ25cNdOys+4Y Sn0DtKLZd28tQTG6HvZbZuaSxuYHEl6+ZaqJqkHz2TJbsc7e9aN9tS/VJDNuTMGY/450 XW8vTdV8RvwHNhNu+DyvdKvcSv579aE7AgYGvNN/TpUAtjySNpu7TBZi1diPxTK6e93o /uYOlrw5fOM/Zkui1dOruJpkJ85+5160jjYG73ynmRsEH9GmyAX/EgLqqcjTbggW2wdb R4yB1Y0pBXlp7Cp5b1am0/e6DCat4RyE/U3kGREnq7ik0ctjXkFEoxvAnODNxcPS9aQM YveA== X-Gm-Message-State: AOAM530R23XAEBYSDG2u9HTt9Rwsc3eMfQACZhO/f8Ps3Z0AxfTz9rIV wRejwnj4PSGKkOqaJsNrfI/fhojjeqIosTPBLZ3vF1ESv0vOWZZqklo0Bo+po+3Q/LN1kHeE1OI i390RrXOAapTJgxSaR3CxH+bYdBA3MQLbh5RaD+GC6LAZixSJhvS7fhDq27EkJSyoqzMb4SJ2tv 2r+fE= X-Google-Smtp-Source: ABdhPJzlsXk2tczt+s0x51fhmd+pOVknWGrnBGjgKOGTcEjQ1v46yGf8k48TfyqGwg6ut7OmJh41uA== X-Received: by 2002:a7b:c348:: with SMTP id l8mr22449071wmj.54.1593511178007; Tue, 30 Jun 2020 02:59:38 -0700 (PDT) Received: from localhost (dynamic-2a01-0c23-8458-b600-ad60-edb5-3902-c635.c23.pool.telefonica.de. [2a01:c23:8458:b600:ad60:edb5:3902:c635]) by smtp.gmail.com with ESMTPSA id i67sm877690wma.12.2020.06.30.02.59.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 02:59:37 -0700 (PDT) Date: Tue, 30 Jun 2020 11:59:36 +0200 From: Lars-Dominik Braun Message-ID: <20200630095936.GA3630@zpidnp36> References: <20200604082316.GA3146@zpidnp36> <87mu5gtbwg.fsf@gnu.org> <20200608090453.GC3166@zpidnp36> <87k10hp6ba.fsf@gnu.org> <20200609091522.GB8597@zpidnp36> <87wo3sjjdw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline In-Reply-To: <87wo3sjjdw.fsf@gnu.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41702@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=leibniz-psychology-org.20150623.gappssmtp.com header.s=20150623 header.b=U8s3l679; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.61 X-TUID: vFGbN7IMfOF9 --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ludo, > The patch below is a noticeable improvement for me. On my laptop, >=20 > GUIX_DAEMON_SOCKET=3Dssh://localhost ./pre-inst-env guix build libreoff= ice -n=20 >=20 > goes from 5.8s to 3.3s. It just does the same thing as we do for > guix://. >=20 > Could you check what results it gives you? looking pretty good, comparing master without/with patch: ---snip--- N Min Max Median Avg Stddev x 10 16.87 20.77 17.44 17.802 1.1228515 + 10 9.92 13.67 10.19 10.569 1.1254574 Difference at 99.0% confidence -7.233 +/- 1.44688 -40.6303% +/- 6.68735% ---snap--- > There=E2=80=99s a project to rewrite the daemon in Scheme, started by Cal= eb > Ristvedt (reepa) as part of GSoC a few years ago. This could be an > opportunity to add a new version of the protocol that would support > pipelining. Given how much improvement you=E2=80=99ve achieved so far I=E2=80=99d say w= e can (for now) probably get away with the current protocol. Still, what=E2=80=99s the stat= us of this daemon? Lars --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl77DQMACgkQQhN3ARo3 hEZuWAwAs5btXPUr3WH4g/FqdVHSqbn6QRe6Lo8WPqKZq2IHKpk+HR+VWwRT+uyu o9S41JWMk00cbFr9I4xi2xyyld1J3NSDDOrGPP8sjxz7Z/y/h13Dh2vV3lHborEx 2ItAxK9+nGThJaFdFFdVOTd/1DZb7nLnaoQ6jrhVaQ2kMD3XmXd2dkNu/vEd8tat DV2li5sWznnvmyglyGA7gRyPVdJITy8lhRPeOn1MVNWVRxAgHZMmB/pUKcL+7KB1 msmUuylIa0suKoFwqSOh9Mw6t8tGIaNEPaaJtjWKu5ew9tg0vnEsRPJU3cunuDtJ RS/7tWk3nU+0wXCMErUgdfb9Tm3yebTopHCuyIFhC+z9M5X1owPmUNQdk5hdgbxE +972C/fzlVABPtj2UEhfV9E48gEuON66NJOjdQBeGH0qohAadTQZmy4ln1ZMkYdw +cKeLzWKj/w07oeZQGO9IE38QO26xHMye0Dx219gmQ/ar0pFgTA4QPs1bs8j5BM6 XvzW6T5G =YULY -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--