GNU bug report logs - #53156
GUIX_DAEMON_SOCKET with ssh doesn't cache connections

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Efraim Flashner <efraim@HIDDEN>; dated Mon, 10 Jan 2022 09:47:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 53156 <at> debbugs.gnu.org:


Received: (at 53156) by debbugs.gnu.org; 20 May 2022 21:36:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 20 17:36:33 2022
Received: from localhost ([127.0.0.1]:40225 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nsAIT-0003Hh-Nf
	for submit <at> debbugs.gnu.org; Fri, 20 May 2022 17:36:33 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48924)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1nsAIP-0003HO-TF
 for 53156 <at> debbugs.gnu.org; Fri, 20 May 2022 17:36:33 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36942)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nsAIK-0000op-IU; Fri, 20 May 2022 17:36:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=vc1BGcK/t+klKLMgpXDSDYRhoB5bNYI3vFEJ2j7Ixh8=; b=aMDXyKKHYpoBVT7Tx6vK
 FANXSTshx0B34OlJSkv5Hwuz1MqGjf6igPQrcYLxRSlwM5Zli4VDsseFEj0HGfGiJyvoSuS2TLMv5
 6YiIbhIVN1gIH+7+Svhl1Q4Ct+6URkUJvvU9A7yh0AxkfqtDMBl/EGIJpupoJksECNy82CGVlft+l
 RdWKyoi7iCFzaNsdnu7CqginGlY3s0LD9t8oyw6rluXir0LZUxRK4Fj07IK3RArcSC9ZVrPgJS5q2
 vPIfhbz7ccUF7WnN+VHJaThXdqYZCnv8WonxVY8L5diYeTrHb4Upvk51Gqr65zf/E9/L0j086WH34
 alUcYYfl+d+dGA==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:58953
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1nsAIK-00014d-5z; Fri, 20 May 2022 17:36:24 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: 53156 <at> debbugs.gnu.org, Efraim Flashner <efraim@HIDDEN>
Subject: Re: bug#53156: GUIX_DAEMON_SOCKET with ssh doesn't cache connections
References: <YdwAAAcXOQlSzpYG@3900XT> <87k0f7y0nz.fsf@HIDDEN>
Date: Fri, 20 May 2022 23:36:22 +0200
In-Reply-To: <87k0f7y0nz.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Mon, 10 Jan 2022 18:13:04 +0100")
Message-ID: <87a6bbx4x5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: 53156
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Efraim,

Should we close this one?

  https://issues.guix.gnu.org/53156

Ludo=E2=80=99.

Ludovic Court=C3=A8s <ludo@HIDDEN> skribis:

> Hi Efraim,
>
> Efraim Flashner <efraim@HIDDEN> skribis:
>
>> I'm experimenting some more with GUIX_DAEMON_SOCKET, and while when
>> using guix offload I see a socket a /run/user/1000/destination/socket,
>
> What=E2=80=99s this file?
>
>> there's nothing similar when using
>> GUIX_DAEMON_SOCKET=3Dssh://other-machine. Depending on the machine in
>> question it can take several minutes before a build is started,
>
> That=E2=80=99s because the daemon RPC protocol is suboptimal in that it m=
akes
> lots of round trips, and round trips are very costly over SSH due to
> higher latency.
>
> Eventually we=E2=80=99ll need to adjust/change the protocol, but there=E2=
=80=99s no
> short-term solution.
>
> (For connections over TCP, =E2=80=98open-inet-socket=E2=80=99 in (guix st=
ore) uses
> TCP_NODELAY to make this acceptable.  There=E2=80=99s #:nodelay #t in (gu=
ix
> ssh), but that doesn=E2=80=99t much as much of a difference.)
>
>> and I'm having a hard time maintaining the connection until the end of
>> a longer build like gccgo.
>
> Is it that the SSH server eventually drop the connection?
>
> HTH,
> Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#53156; Package guix. Full text available.

Message received at 53156 <at> debbugs.gnu.org:


Received: (at 53156) by debbugs.gnu.org; 10 Jan 2022 17:13:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 10 12:13:19 2022
Received: from localhost ([127.0.0.1]:53192 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n6yER-0003mu-IU
	for submit <at> debbugs.gnu.org; Mon, 10 Jan 2022 12:13:19 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:48670)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1n6yEL-0003mW-T6
 for 53156 <at> debbugs.gnu.org; Mon, 10 Jan 2022 12:13:17 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id AE7243BB
 for <53156 <at> debbugs.gnu.org>; Mon, 10 Jan 2022 18:13:06 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 57Sv9KRo-hHK for <53156 <at> debbugs.gnu.org>;
 Mon, 10 Jan 2022 18:13:05 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 58B42342
 for <53156 <at> debbugs.gnu.org>; Mon, 10 Jan 2022 18:13:05 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: 53156 <at> debbugs.gnu.org
Subject: Re: bug#53156: GUIX_DAEMON_SOCKET with ssh doesn't cache connections
References: <YdwAAAcXOQlSzpYG@3900XT>
Date: Mon, 10 Jan 2022 18:13:04 +0100
In-Reply-To: <YdwAAAcXOQlSzpYG@3900XT> (Efraim Flashner's message of "Mon, 10
 Jan 2022 11:44:32 +0200")
Message-ID: <87k0f7y0nz.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spamd-Bar: /
Authentication-Results: hera.aquilenet.fr;
	none
X-Rspamd-Server: hera
X-Rspamd-Queue-Id: AE7243BB
X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[53156 <at> debbugs.gnu.org];
 TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];
 MID_RHS_MATCH_FROM(0.00)[]
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 53156
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi Efraim,

Efraim Flashner <efraim@HIDDEN> skribis:

> I'm experimenting some more with GUIX_DAEMON_SOCKET, and while when
> using guix offload I see a socket a /run/user/1000/destination/socket,

What=E2=80=99s this file?

> there's nothing similar when using
> GUIX_DAEMON_SOCKET=3Dssh://other-machine. Depending on the machine in
> question it can take several minutes before a build is started,

That=E2=80=99s because the daemon RPC protocol is suboptimal in that it mak=
es
lots of round trips, and round trips are very costly over SSH due to
higher latency.

Eventually we=E2=80=99ll need to adjust/change the protocol, but there=E2=
=80=99s no
short-term solution.

(For connections over TCP, =E2=80=98open-inet-socket=E2=80=99 in (guix stor=
e) uses
TCP_NODELAY to make this acceptable.  There=E2=80=99s #:nodelay #t in (guix
ssh), but that doesn=E2=80=99t much as much of a difference.)

> and I'm having a hard time maintaining the connection until the end of
> a longer build like gccgo.

Is it that the SSH server eventually drop the connection?

HTH,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#53156; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Jan 2022 09:46:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 10 04:46:09 2022
Received: from localhost ([127.0.0.1]:51822 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n6rFh-00014T-Ec
	for submit <at> debbugs.gnu.org; Mon, 10 Jan 2022 04:46:09 -0500
Received: from lists.gnu.org ([209.51.188.17]:51196)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <efraim@HIDDEN>) id 1n6rFe-00014J-1I
 for submit <at> debbugs.gnu.org; Mon, 10 Jan 2022 04:46:08 -0500
Received: from eggs.gnu.org ([209.51.188.92]:60728)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <efraim@HIDDEN>)
 id 1n6rFR-0004ly-As
 for bug-guix@HIDDEN; Mon, 10 Jan 2022 04:45:57 -0500
Received: from flashner.co.il ([178.62.234.194]:44176)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <efraim@HIDDEN>) id 1n6rFN-00072s-RY
 for bug-guix@HIDDEN; Mon, 10 Jan 2022 04:45:52 -0500
Received: from localhost (unknown [141.226.10.247])
 by flashner.co.il (Postfix) with ESMTPSA id B854140561
 for <bug-guix@HIDDEN>; Mon, 10 Jan 2022 09:45:04 +0000 (UTC)
Date: Mon, 10 Jan 2022 11:44:32 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: bug-guix@HIDDEN
Subject: GUIX_DAEMON_SOCKET with ssh doesn't cache connections
Message-ID: <YdwAAAcXOQlSzpYG@3900XT>
Mail-Followup-To: bug-guix@HIDDEN
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="/ZhatHuhJ7h11b+R"
Content-Disposition: inline
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Received-SPF: pass client-ip=178.62.234.194;
 envelope-from=efraim@HIDDEN; helo=flashner.co.il
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)


--/ZhatHuhJ7h11b+R
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm experimenting some more with GUIX_DAEMON_SOCKET, and while when
using guix offload I see a socket a /run/user/1000/destination/socket,
there's nothing similar when using
GUIX_DAEMON_SOCKET=3Dssh://other-machine. Depending on the machine in
question it can take several minutes before a build is started, and I'm
having a hard time maintaining the connection until the end of a longer
build like gccgo.

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 =
=D7=9D=D7=99=D7=A8=D7=A4=D7=90
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

--/ZhatHuhJ7h11b+R
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHcAAAACgkQQarn3Mo9
g1H6EQ/8D7A3LA9kgMr6amrZta0Tla3dXK/juToadz6/QsfKycQ/oT2EM5XgqAXf
VHvzjBCDBXqaQ+Uo0ycGYi00fNiaoayR+NcSHa8I7ChbvMq20zynpjqHKf0t7iW8
Xlpcm2O3Jp7cTZ9HZZNZTmIHpnR3R2HsCcdeMmqifp4c3rRRUInCEGrlP/JdXsyh
6t4HPxoVXxkzkW1Qt/R2kKLr2V/TtCSL+ZTXiLm6eRmGm7xoWyHxK5VWUznBrRNr
KuM1dVWyhpZ+wjaM5/dSkSZtvExM5jE8bMHHdYI0UgXtdaS/cYg2taQszCjKZV+x
n0a6R7lnLHV8laNEEESCthqWRG75ZV9tFyUcxJpioiKwoPqyzy1sN0nGFjRpVjEQ
tqEW0SAd/QIDesdr9hbTuPddZ828Pp8Fbn6DlxSlE6g7KcHq6h0OQz2gDH+rEjzP
7cI6nYKNzCExt9b/3I4y5Q3rzikpCsvfW/RC7N4igkR8d5LK7/VHSse1gflJZwra
LbXi3MUY++xpKjeP0aAxd4btIbFhahwqW+9R5sfd5ZKngINjGzOaW2/XvdCOJToa
rB1trwhemSBKtR++n7Ta9VEUaGS9p6rQw5wti7QTQdLJ2uP4lONMs0RhW6P819RF
Pz/wh8JNYDT/5bXkQCvCO8iLLD3wlhuJ/t3e+2gza9++mahYdr4=
=LHFG
-----END PGP SIGNATURE-----

--/ZhatHuhJ7h11b+R--




Acknowledgement sent to Efraim Flashner <efraim@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#53156; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 20 May 2022 21:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.