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 ODdfCdZy/F6JRwAA0tVLHw (envelope-from ) for ; Wed, 01 Jul 2020 11:26:14 +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 cJIMBdZy/F65FgAAbx9fmQ (envelope-from ) for ; Wed, 01 Jul 2020 11:26:14 +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 1646C940607 for ; Wed, 1 Jul 2020 11:26:13 +0000 (UTC) Received: from localhost ([::1]:36662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jqasV-0004F3-3F for larch@yhetil.org; Wed, 01 Jul 2020 07:26:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jqasM-0004EM-72 for bug-guix@gnu.org; Wed, 01 Jul 2020 07:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jqasL-0007LY-Sy for bug-guix@gnu.org; Wed, 01 Jul 2020 07:26:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jqasL-0004hk-Op for bug-guix@gnu.org; Wed, 01 Jul 2020 07:26:01 -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: Wed, 01 Jul 2020 11:26:01 +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.159360270317988 (code B ref 41702); Wed, 01 Jul 2020 11:26:01 +0000 Received: (at 41702) by debbugs.gnu.org; 1 Jul 2020 11:25:03 +0000 Received: from localhost ([127.0.0.1]:52425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqarP-0004g2-GK for submit@debbugs.gnu.org; Wed, 01 Jul 2020 07:25:03 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:50795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jqarN-0004fS-4x for 41702@debbugs.gnu.org; Wed, 01 Jul 2020 07:25:01 -0400 Received: by mail-wm1-f54.google.com with SMTP id l17so22006312wmj.0 for <41702@debbugs.gnu.org>; Wed, 01 Jul 2020 04:25:01 -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=dc8mwMnMK4IzsAhMmGxX0tiYzDPS0eRIX6zH8ljOznw=; b=A7g5Tvh7NXH3dMSb2m6Up7sKMGhO+iHWlSeUf0VFkRvoDjXBp47QTBDk1fYuaXiY7i byWoFMYYbo2St26u9O/So0Bc2NM/W+SnyC2zxd3eULiyhXtwgEWyKepIwW9g80EDfQa0 D7wB5d/ANL1fOlbc5EMj5gCpoSzCnB4rHZiLC+gvlXUyNxQ+MDLlfrGwhJsp0hJLaBT+ YumPTklP0fo1lh4UoV7iMn29zVSDEccGNMOln67QgBRBihFObvKa8CRoGJNSKXAHeEBL HVfFMHNwe1w8szT3NeReSRtRTKpl5PIYwsVr2FsxQXgY0PZWXEmphfxm1iEMvtR7j68i EctQ== 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=dc8mwMnMK4IzsAhMmGxX0tiYzDPS0eRIX6zH8ljOznw=; b=b3Rv2FNwQktWB03qMT86zas7oq9TpT8zEIMOK/dZA4HB39IvRuPHXVMZ550+aGqJEz UJCOY0z0QUW+UfGcX5jncdrpT0YUcqAH+QDaZSwixk7KitVMk9EK0JKHDTEbqv6PCn+a o+qhTOXbnw85FlHKSJjtzbo5dLYzO5fWTAWzpbT650BhazNRBMITUMDkYQg69rPeGPwt FyfK6pDUgEB+kmzS/LeBeBiqwH7ZTQkYpIoR1pIEaII+BsP6Vk/zYiYp36Nu3KMyMdag xOKy8w2Frlzu0+PkLjDtbnWhV3oD1jarjjEZijZmAmuS7nHRMuIc3Xu0acL+NSxpVwbV De3g== X-Gm-Message-State: AOAM5308Q2nxgmhx3E4vSTibri9kh9GClA1B2jmwJG4j641CWOctlemV RTs51TtNzZV/iF6vZATOPg8CVl4t68rxqc/mNZEI8zyza0zStC2CLBBA7oUTQnLzfXs//EdAM1+ l0aVkphIqVfUubhOCy7yVBhKHLYHt6NivpmG4IttsCk6s4hlNbcK2mcEhDRvyBWZWMTzrT8og5h h2H0dQRhpy X-Google-Smtp-Source: ABdhPJyx82S2kD7BMAac4GSyrHqUxE0ON6lRHbtR1f1KE1nRaLG8ReHLaUayRrQ8dIsCsVFtg34uoA== X-Received: by 2002:a1c:f608:: with SMTP id w8mr25414929wmc.78.1593602695080; Wed, 01 Jul 2020 04:24:55 -0700 (PDT) Received: from localhost (dynamic-2a01-0c22-d42f-e700-35e4-ba94-86d1-9650.c22.pool.telefonica.de. [2a01:c22:d42f:e700:35e4:ba94:86d1:9650]) by smtp.gmail.com with ESMTPSA id j41sm7320271wre.12.2020.07.01.04.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2020 04:24:54 -0700 (PDT) Date: Wed, 1 Jul 2020 13:24:53 +0200 From: Lars-Dominik Braun Message-ID: <20200701112453.GB25179@zpidnp36> References: <20200604082316.GA3146@zpidnp36> <87mu5gtbwg.fsf@gnu.org> <20200608090453.GC3166@zpidnp36> <87k10hp6ba.fsf@gnu.org> <20200609091522.GB8597@zpidnp36> <87wo3sjjdw.fsf@gnu.org> <87y2o3zf00.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: <87y2o3zf00.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=A7g5Tvh7; 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: SGumZ6enuGY8 --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey, > What we need is Guile-SSH bindings for =E2=80=98ssh_get_fd=E2=80=99, whic= h would allow > us to get at the actual file descriptor after the connection has been > opened, and to set TCP_NODELAY there: >=20 > http://api.libssh.org/stable/group__libssh__session.html#gafe509fcea477= 14b5cd277d1e35e83276 >=20 > It=E2=80=99s not 100% clear though if it returns that =E2=80=9Cright=E2= =80=9D FD when there=E2=80=99s a > proxy command. wouldn=E2=80=99t it be easier to add the SSH_OPTIONS_NODELAY option (see [1= ]) to guile-ssh (should be trivial[2]) and let guile-ssh handle all the connection stuff without touching the socket? Or do we need the raw socket elsewhere? Cheers, Lars [1] http://api.libssh.org/stable/group__libssh__session.html#ga7a801b85800b= aa3f4e16f5b47db0a73d [2] https://github.com/artyom-poptsov/guile-ssh/blob/master/libguile-ssh/se= ssion-func.c#L52 --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl78coIACgkQQhN3ARo3 hEZJEQv9GJYnyKD23RlY9Et60BMB2YsJSjSqWxxjUneLfLnFDrIvusQZf+Lhtj3V o7aBVzoJ6GEPrSOTi2FcecSUGfuSaC1w17Zs2prjMuqq66Opkx9caeBS/dv/4iLZ HFf+Kci8+gaWQkn4BR7+tspfkjRxIulywpK4P7nP8KxUDhVDKXi6NLSJB5XCH4bg qwNSzeQnu9L0CDzlZPHq5h5bZ7Op4VyZ/oMa1koRYBBVA0KCDGHZUQGs/Mh7QaYe 5N5AMRFabXWP4hN0qDw3H7Dic/+4jYi+2QMicx1Ysh+6bVB0R666/Qwg0PGZuHvX sTwfcuHVHtHLubXEKCnzh7P5WkhzC8NpRL5iTaaadSQL/mrYe3y7ihPRtthfMkVD zv53GVPXUnxWUc1JcxMO+9OrHVdQY9HPiNbrFmJ+FjEFGuqvmpAoA8K54aolIepf D9dd9tC21M/yYcI7RCgJ5lSGbbWkHM5fz/P1b9UmKIbyQkk8WvqSt1N+IQQZM6DN QbXGmtBu =COgO -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR--