From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0JfaKzYKiGK6jgAAbAwnHQ (envelope-from ) for ; Fri, 20 May 2022 23:37:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iCHGKzYKiGICLwAA9RJhRA (envelope-from ) for ; Fri, 20 May 2022 23:37:58 +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 E5D482956E for ; Fri, 20 May 2022 23:37:57 +0200 (CEST) Received: from localhost ([::1]:55130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nsAJo-0006Vm-EL for larch@yhetil.org; Fri, 20 May 2022 17:37:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsAIx-0005hO-C8 for bug-guix@gnu.org; Fri, 20 May 2022 17:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nsAIw-0000sv-Ck for bug-guix@gnu.org; Fri, 20 May 2022 17:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nsAIw-0003IR-6p for bug-guix@gnu.org; Fri, 20 May 2022 17:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#53156: GUIX_DAEMON_SOCKET with ssh doesn't cache connections Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 20 May 2022 21:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53156 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53156@debbugs.gnu.org, Efraim Flashner Received: via spool by 53156-submit@debbugs.gnu.org id=B53156.165308259412633 (code B ref 53156); Fri, 20 May 2022 21:37:02 +0000 Received: (at 53156) by debbugs.gnu.org; 20 May 2022 21:36:34 +0000 Received: from localhost ([127.0.0.1]:40225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsAIT-0003Hh-Nf for submit@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 ) id 1nsAIP-0003HO-TF for 53156@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 ) 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 ) id 1nsAIK-00014d-5z; Fri, 20 May 2022 17:36:24 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87k0f7y0nz.fsf@gnu.org> Date: Fri, 20 May 2022 23:36:22 +0200 In-Reply-To: <87k0f7y0nz.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 10 Jan 2022 18:13:04 +0100") Message-ID: <87a6bbx4x5.fsf@gnu.org> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653082678; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=vc1BGcK/t+klKLMgpXDSDYRhoB5bNYI3vFEJ2j7Ixh8=; b=behwwjC+P7XL3oIhNBaX2VAQ/qLWuz8ltm2XBxaX5bhugJCtZph9sCfOWJ3gpz9YTr4H81 WsaaTrVMHYiFabjZ1/HL/X7fRP+UtwgQbe1w2cLIFwEsTAGIaFvWxq1NyX9rBJqFqzZukY Oiavm4rVgQwYLgMt4hSR1T3Y/i1vGHl/7++3F3q6OBUpQRnGgcTz8WuRdhZpLb6aE4MvKL M4VGGGHZhUXuUrNa9r1l2Z/vWreg6AJfi5I1g8mIRCH41YR3ShGrQro42VCcejIsWKgY47 9QA6nrufMEyCPlA7bMjNeavXkZe+cUTnY176MhckGt2tHs4kVJ/fJgWOL2cD6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653082678; a=rsa-sha256; cv=none; b=jirWatEJHmjdhcZipewr7up+FEm82ofEkNzQwuJYngfQNq9DoF3Lr2ltntUBgfPYyywnWT IiujtfTllfdDRQaZTucboeGh7BSK/bgTdbv9aG4ySklIJPECsXyJAgBpQR/5DJ25RNftnC L5O1Xk9LuzKZ7kk0V+9P727QaNsJD7I/h+lINKfEZcCXHfgw6PEylWrLcJu/UXKxl8MsMd +5uOVRyy8FXGbZIDlc8EkXcXcwhkC69HlcJejXmcVAU5/lRo1E5yOa9vAoHi9klcTqWwg2 KFy0rjbWlXp6ICei4E3DiOrXHKiQcLJn8hTaoXGnNRc3KFZz1v4dbDTJyJfPrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=aMDXyKKH; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -5.04 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=aMDXyKKH; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: E5D482956E X-Spam-Score: -5.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: eHQsfcQUmq9n Hi Efraim, Should we close this one? https://issues.guix.gnu.org/53156 Ludo=E2=80=99. Ludovic Court=C3=A8s skribis: > Hi Efraim, > > Efraim Flashner 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.