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 eADeElwPFGDhZAAA0tVLHw (envelope-from ) for ; Fri, 29 Jan 2021 13:36:28 +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 cIKpDlwPFGCzdgAA1q6Kng (envelope-from ) for ; Fri, 29 Jan 2021 13:36:28 +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 C60709403C9 for ; Fri, 29 Jan 2021 13:36:27 +0000 (UTC) Received: from localhost ([::1]:49792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5Two-0005qa-Gn for larch@yhetil.org; Fri, 29 Jan 2021 08:36:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5TuN-0003i9-M0 for guix-devel@gnu.org; Fri, 29 Jan 2021 08:33:56 -0500 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:42095) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5TuL-0003X9-SR; Fri, 29 Jan 2021 08:33:55 -0500 Received: by mail-qt1-x829.google.com with SMTP id e15so6582613qte.9; Fri, 29 Jan 2021 05:33:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=uR69aUM2TU2NXYoyEZw/b/2FI9fJ37YYmpiJWfa+fOo=; b=sbyBiAjQIZ2vAGO5pcRjIg9Z60jKiaBTsOXMXIj1oo1WuLI0us+jPP6yluNwENcZuW STJI9QSjd+BE4eJ/2ZoYqTYpVKpQeDGsYqReWYSPikFuRBjrUGxtdze9g0SeP6IEqQym eAQw4L484FPTbruxpUmlzeNfkhv/GxGBPHEzTPKLam+gsSKDo2to/YUfkbbRBFw/qT0j TloLYV2X9qwiilTeEZjOVE3Zrw3J+qhVa/SNxu9wvpFPhgcGaXFLRPAGafM/pbMXBcZ2 4p49tyRLk3Gq5z5BYiXdGMQbh4vx4dYRKkfa4CpiNKt+6++jLHAwYXQOJVYlET5Fd5xp xy/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uR69aUM2TU2NXYoyEZw/b/2FI9fJ37YYmpiJWfa+fOo=; b=AuG6W+LdBLtbqQKIN7JB1MnY2N/LJ9gFMrD2iJwvoGsVqtxPcuyhS+YW0L4AoiVspN u5bgC9E6OORGmppqi+BSQyqgHPXw89Mnb/oTOX3E8VOAW8Q6e3tATTU80jLy30tumUQr RBF9ZpQNlusOYksw5n7qBjQUIPV8sQfe9+gocF2iXiJ5ZjTAEGrlG+KPgSbnTbqVmQnU quvGb3BMVsMt0NpIEc4V2EBj9Bz4S4maMXRTKW6S3rJVnFRA+bnCpr6PnDN2NDIYxTRb v8Py3UgH0ck8IM2rHFLjPUVCeJHIajT2jZM9R6kWs/qAvROUKBG54qqJnaU6igi7JnOX jseA== X-Gm-Message-State: AOAM533dZtXJl6c/xCGBfWHhhzoQbu/jxbwkxjSN33lWFC3lJ6uGdENG 6+uLKXWLbcHjA7IfirHuEdqIEd2v/E7RvRKd2kKiJl8Q X-Google-Smtp-Source: ABdhPJwlkAZUsCWAJ4/DD+8faRFLew00nZUc8Fi1zEhtA4XYXpzx3UTW+c8BiP3IP/+LzLxWSikf3IRCBSbe6994Nvc= X-Received: by 2002:a05:622a:2d4:: with SMTP id a20mr4254281qtx.217.1611927232379; Fri, 29 Jan 2021 05:33:52 -0800 (PST) MIME-Version: 1.0 References: <87im94qbby.fsf@gnu.org> <94405d66-b13c-e6e6-e8d5-df23b93e5d97@web.de> <87im92voqw.fsf@dismail.de> <87ft3d2fge.fsf@yamatai> <87bldr191v.fsf@gnu.org> <87h7ni62nt.fsf@ambrevar.xyz> <87bld9j651.fsf@gnu.org> In-Reply-To: <87bld9j651.fsf@gnu.org> From: zimoun Date: Fri, 29 Jan 2021 14:33:41 +0100 Message-ID: Subject: Re: When substitute download + decompression is CPU-bound To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=zimon.toutoune@gmail.com; helo=mail-qt1-x829.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=sbyBiAjQ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: C60709403C9 X-Spam-Score: -1.25 X-Migadu-Scanner: scn1.migadu.com X-TUID: nXSELmz9OHTE Hi, On Thu, 28 Jan 2021 at 19:07, Ludovic Court=C3=A8s wrote: > We could do that. I suppose a possible agenda would be: > > 1. Start providing zstd susbstitutes anytime. However, most clients > will keep choosing lzip because it usually compresses better. > > 2. After the next release, stop providing lzip substitutes and provide > only gzip + zstd-19. > > This option has the advantage that it wouldn=E2=80=99t break any installa= tion. > It=E2=80=99s not as nice as the ability to choose a download strategy, as= we > discussed earlier, but implementing that download strategy sounds > tricky. I propose to announce at the next release (v1.3) that strategy X will be dropped at the next next release (v1.4), explaining the daemon upgrade and/or point to documentation. >From my understanding (thanks Guillaume for the plots!), X means gzip. And we should keep lzip-9 (users with a weak network) et zstd-19, as Pierre and Guillaume are proposing. So gzip would stay until v1.4, i.e., more or less 1 year (or 1.5 years) mor= e. All the best, simon