From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id fXtqIVdr2F+eUwAA0tVLHw (envelope-from ) for ; Tue, 15 Dec 2020 07:52:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sAzWHFdr2F+HXAAAB5/wlQ (envelope-from ) for ; Tue, 15 Dec 2020 07:52:55 +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 37AA89403AC for ; Tue, 15 Dec 2020 07:52:55 +0000 (UTC) Received: from localhost ([::1]:33230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kp58f-0006pn-St for larch@yhetil.org; Tue, 15 Dec 2020 02:52:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kp58F-0006pZ-6a for guix-devel@gnu.org; Tue, 15 Dec 2020 02:52:27 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:54759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kp58C-0003Po-7H; Tue, 15 Dec 2020 02:52:25 -0500 X-Originating-IP: 86.247.16.87 Received: from bababa (lfbn-idf2-1-709-87.w86-247.abo.wanadoo.fr [86.247.16.87]) (Authenticated sender: mail@ambrevar.xyz) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id D17C81BF210; Tue, 15 Dec 2020 07:52:19 +0000 (UTC) From: Pierre Neidhardt To: =?utf-8?Q?Nicol=C3=B2?= Balzarotti , Ludovic =?utf-8?Q?Court=C3=A8s?= , guix-devel Subject: Re: When substitute download + decompression is CPU-bound In-Reply-To: <87sg88ngd1.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> References: <87im94qbby.fsf@gnu.org> <87sg88ngd1.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> Date: Tue, 15 Dec 2020 08:52:18 +0100 Message-ID: <871rfrld59.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.201; envelope-from=mail@ambrevar.xyz; helo=relay8-d.mail.gandi.net X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 37AA89403AC X-Spam-Score: -1.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: mpW6LLzvAZvY --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Another option is plzip (parallel Lzip, an official part of Lzip). > decompression of ungoogled-chromium from the LAN completes in 2.4s for > gzip vs. 7.1s for lzip. On a low-end ARMv7 device, also on the LAN, I > get 32s (gzip) vs. 53s (lzip). With four cores, plzip would beat gzip in the first case. With only 2 cores, plzip would beat gzip in the second case. What's left to do to implement plzip support? That's the good news: almost nothing! =2D On the Lzip binding side, we need to add support for multi pages. It's a bit of work but not that much. =2D On the Guix side, there is nothing to do. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/YazISHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/HQMIAJ/6XNy80M4jqroyIZ2r9xq751gdKKQ2 WBs4/GUdDjOYQ7r1MnpNr/IfgRp6yP7RFr33hZ+srhYLjK3fKQk7Bdb5S8+EVLoX qNkTqt5HxpoT7wya/MnXpZ3TB5+h0X7ZOVVChIzkx/v8sUWfYQsY5IED6G8LVcy1 SRtv3T/YnPwP0G3S9AsnHw+neZ+BRDLDnWm4BDqtzer/jFzXFkbvqpTIoZG/E1GM HTxuYHzLbIr/LsvYENtPCZ8pxbCnkyUc8vTKVpM3VRNizyGJ6OfRcmrhoWzzoxbI 0WvqoJdX5L6+4kzi//8QHPAwR8akptYNmCgxA+sVU0loJecVZp9k3WE= =rwgi -----END PGP SIGNATURE----- --=-=-=--