From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CAcHNa4FyV8pBwAA0tVLHw (envelope-from ) for ; Thu, 03 Dec 2020 15:35:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WHrZMK4FyV+ERQAA1q6Kng (envelope-from ) for ; Thu, 03 Dec 2020 15:35:10 +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 7C3C49404FD for ; Thu, 3 Dec 2020 15:35:10 +0000 (UTC) Received: from localhost ([::1]:42466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkqdR-0002kI-DM for larch@yhetil.org; Thu, 03 Dec 2020 10:35:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkqdK-0002jy-RQ for guix-patches@gnu.org; Thu, 03 Dec 2020 10:35:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkqdK-00050K-KE for guix-patches@gnu.org; Thu, 03 Dec 2020 10:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkqdK-0006uD-Hq for guix-patches@gnu.org; Thu, 03 Dec 2020 10:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45018] [PATCH 0/6] Process and connection reuse for substitutions Resent-From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Dec 2020 15:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45018 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 45018@debbugs.gnu.org Received: via spool by 45018-submit@debbugs.gnu.org id=B45018.160700967226504 (code B ref 45018); Thu, 03 Dec 2020 15:35:02 +0000 Received: (at 45018) by debbugs.gnu.org; 3 Dec 2020 15:34:32 +0000 Received: from localhost ([127.0.0.1]:41425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkqcp-0006tQ-L1 for submit@debbugs.gnu.org; Thu, 03 Dec 2020 10:34:32 -0500 Received: from mail-oln040092254108.outbound.protection.outlook.com ([40.92.254.108]:6165 helo=APC01-PU1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkn6D-0004ka-CE for 45018@debbugs.gnu.org; Thu, 03 Dec 2020 06:48:38 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CWw4HdF0QUQhX0SXcy9R0oHU+hB7wljv41ll2Zb+YtOX3BM/ImOGrQB89Cruet19FRSDxC8IUoMPOyVCvbTq2L5tk3CJbuOsRTadYzpTCDKz+Kwh8KP39ZbcQoWBiTfdh63U2p/UG06+KL8sH2/UGPbWa6qv9hj6qPlq34d1l8bplEFHQ1pSRuepv6x0AkVFuKAehaDIPY2CKyM+gm11psXCv5VFSzUr3SU82m2W9Mh2y2oNsVbI87vPO/X+voXG01bNT95dEljfkB9cQeqdwW8K/Ntw88WPvFbpjC76UmBdB8ujNVBXXx618uyvc9xXBRALopENaR+/S2P2oRYWeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h8Kq+xub/Ux3pi0KBxbvjJIhkT/vkAJp+mV+bMq+8XA=; b=UiXH/ikeR4nfso2iofYi0yiuQPYCYT5tr6Bv6d/EX3ru5XKhNt5VpvIeiOr5WvIl4CcI6OWjLMAYxFvXosRg8gTkFRtt9u6Zo+ZQiAeLzjMk8N4+CaBDOpjbb83tGSUk1XArXJmMc85I/pdn4Ol8p9l87UIoDvw4ciikCXxScnH1eP2yQTEepe6cG7wYVH5PellEluOyJriYga/U0tQr6UggFBezFWxBJR66a2tsGhQwysekjn0aW/5ovC0i9qvbnZ5eeEpd5BSTvxD1lDGB891QdnyZPuRT+0pU73Kp4wAvy0bhU4SpEEz2+zyf1S7xiOS5NzQ9OmAyol6P7ZGSng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=h8Kq+xub/Ux3pi0KBxbvjJIhkT/vkAJp+mV+bMq+8XA=; b=IEWUIegRH1ZetHwEuZQyyMhrfHSVmv8/L5tDwwtyMjE8+F8epe0yLRFRrLPjh70jsthuzyhGiDvKyuosICxpuLsNiI/CWLXzbQicJTV2GGpKvWqr56raKkIbjRaZ3wCQ0DYiU/eFbDv8DCfei7u1yhEpZLtR9dVp4wTCHm/i4Zw6dbhwXB9TC/zvtcAd6ui+E5XsWAAf8vBPGPAyIvO4weyZAIkW8rXZjg7x+P0Gk36MiC44uplyUqyMu8bo6HdNbDT3H2BlLvpwlRbMoQeGlYZSgPi8MjeLnlY9p0SMqpj466LgR0/OsTs3FRqeLS0aSpPONLumWLqEzmLGLAu0XQ== Received: from HK2APC01FT054.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebc::4f) by HK2APC01HT060.eop-APC01.prod.protection.outlook.com (2a01:111:e400:7ebc::288) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Thu, 3 Dec 2020 11:48:26 +0000 Received: from TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (10.152.248.59) by HK2APC01FT054.mail.protection.outlook.com (10.152.249.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Thu, 3 Dec 2020 11:48:26 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:A215D47A707979B95B535D707D7D8AC8E00C0655FE0CE3B0FECF7B1260729C47; UpperCasedChecksum:978E15A81DEF47158C5C6A6BAE9875DC618987938490518E41C6E92669079A6E; SizeAsReceived:8778; Count:47 Received: from TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM ([fe80::d802:80c9:f6bd:1fbb]) by TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM ([fe80::d802:80c9:f6bd:1fbb%8]) with mapi id 15.20.3632.017; Thu, 3 Dec 2020 11:48:26 +0000 From: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= References: <20201203101314.10842-1-ludo@gnu.org> Date: Thu, 03 Dec 2020 19:48:49 +0800 In-Reply-To: <20201203101314.10842-1-ludo@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 3 Dec 2020 11:13:14 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TMN: [d6U0K1ZjTWd3aTp36D91pS/Ja8fGZBQqDCQZgfB+ZSQIYaGLzzvbTwk91Bk09eDp] X-ClientProxiedBy: SJ0PR05CA0066.namprd05.prod.outlook.com (2603:10b6:a03:332::11) To TYAP286MB0185.JPNP286.PROD.OUTLOOK.COM (2603:1096:404:8038::14) X-Microsoft-Original-Message-ID: <87y2ifaz4u.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost (2409:8a62:37c:2f0:2f1:f5ff:fe18:6bb) by SJ0PR05CA0066.namprd05.prod.outlook.com (2603:10b6:a03:332::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.5 via Frontend Transport; Thu, 3 Dec 2020 11:48:25 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 47 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 36bfdf5c-7f79-42c7-1644-08d897815874 X-MS-TrafficTypeDiagnostic: HK2APC01HT060: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vVX7iVJjIYwlmzYkcwXz0hGSIUPXltofs6Xx0qz/YeyNJo6AkewNrGwBUs8IVCfWf6oyYCub5mrPLDkWjgmDuMhknA7H2OW7zw5Rg1S1iv8lJrOyrYY253r3Vsg4zi0BXNB+9xnZrYSkw9X7bQTAnSw/M3+/Lkn04nYe3oOsnt8UmFiYax6vI6SUCyxAfA0x7UmNSBVH5DJ4n8SaHiXMHg== X-MS-Exchange-AntiSpam-MessageData: 38bwLpVqzqGhha9ZkiSMwy5M/tFs5a+jjWGioHY/yhxpHNPq+aYgadD4EHZE3jZ7qSK+YY0ryMoSPy+xK0LsyhDF93t6nbK41e4cSbVgQvUkg2qhXMlFoQrCPXOxxIemHHfX1RcO4b0KvWz9Us/n16QvpCDrocVuhRsU4F6gQ8wefIqwH5KBVqq1iF0NIZhW67Ip6qcLBAFuumCPR5znqw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36bfdf5c-7f79-42c7-1644-08d897815874 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2020 11:48:26.6788 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HK2APC01FT054.eop-APC01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2APC01HT060 X-Mailman-Approved-At: Thu, 03 Dec 2020 10:34:30 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.82 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=outlook.com header.s=selector1 header.b=IEWUIegR; arc=reject (signature check failed: fail, {[1] = sig:microsoft.com:reject}); dmarc=fail reason="SPF not aligned (relaxed)" header.from=outlook.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7C3C49404FD X-Spam-Score: 0.82 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: uC+Ur44paLsO Ludovic Court=C3=A8s writes: > Hi Guix! > > The attached patches optimize substitute downloads by: (1) keeping > a single =E2=80=98guix substitute=E2=80=99 process for all the substitute= s (instead > of respawning a new one each time a store item is substituted), and > (2) reusing connections to substitute servers in between substitutions. > ... > Anyway, I think it=E2=80=99s a welcome improvement, especially when > downloading lots of stuff such as during the initial system installation. > Plus, there are more deletions than insertions. :-) > > Thoughts? I think this will definitely help my unstable internet connections and slow hdd, thank you!