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 iPnROGNeZl/kLQAA0tVLHw (envelope-from ) for ; Sat, 19 Sep 2020 19:39:15 +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 KIHWNGNeZl++dwAA1q6Kng (envelope-from ) for ; Sat, 19 Sep 2020 19:39:15 +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 DA10A9401AE for ; Sat, 19 Sep 2020 19:39:14 +0000 (UTC) Received: from localhost ([::1]:37766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJihV-0000iB-M7 for larch@yhetil.org; Sat, 19 Sep 2020 15:39:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJihL-0000he-PX for guix-patches@gnu.org; Sat, 19 Sep 2020 15:39:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJihJ-0007Sv-Na for guix-patches@gnu.org; Sat, 19 Sep 2020 15:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJihJ-0007AJ-L7 for guix-patches@gnu.org; Sat, 19 Sep 2020 15:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43516] [PATCH core-updates] packages: Enable multi-threaded xz compression when repacking source. Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Sep 2020 19:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43516 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 43516@debbugs.gnu.org Received: via spool by 43516-submit@debbugs.gnu.org id=B43516.160054429727493 (code B ref 43516); Sat, 19 Sep 2020 19:39:01 +0000 Received: (at 43516) by debbugs.gnu.org; 19 Sep 2020 19:38:17 +0000 Received: from localhost ([127.0.0.1]:48160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJigb-00079N-35 for submit@debbugs.gnu.org; Sat, 19 Sep 2020 15:38:17 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:37977) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJigY-000798-Pf for 43516@debbugs.gnu.org; Sat, 19 Sep 2020 15:38:16 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id C45AA7DB; Sat, 19 Sep 2020 15:38:08 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 19 Sep 2020 15:38:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=RFjJjPMmwVPO6i2yXdLF5T5d oOsZ1wX9uv1hjvztc4Y=; b=eL7MZSgk4k6do5haIhv0U9jjFrE1Lboyuo7RDtG0 oIP6AULqzMo5ca4jVupfrOGSLKiQ3tCouEzFbveGgAblmCOdWOL8MomBXJJpKecP s4kTExVcigiu5YGEjb6Fsg7DqbGogXw3QD/ox4SdMbLzdIqY8i9FGm/dSDF9AVmg g7o= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=RFjJjP MmwVPO6i2yXdLF5T5doOsZ1wX9uv1hjvztc4Y=; b=bxihV8Rb+Dn505Sb1Zmjt2 R/0XfWh5IXomYveMuPJot9QZoOH4UYZxFHhgIjMjQ6CcuSGVhjqIBb5Ig3bP/oiZ YYTkFpVjtspuDQZcPiJsmRMISwngdiUHzJShC4nD8zvS6xN0CGraraWDjkDsRzGu bjF+RebVj1AnTaIRB/fmjAJ18f7bgIWBX8dBGo3R3mW8L0VeqjQwob3M5JQ5fWSf RTZD/91ndA7mok5LUtdPYKKwPxDLwBPWX5IEXGmwsc2WB982mZXNV+resLx6mti5 Vn9+M+8A81qX2xCkUzzA4fLR2+q8MCUrjVhRnEt1tdjjpUTjliVc2jIkGLlwLrZA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrtdekgddugedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpedvvddugefffeeitddthfefvdeuhffgkeeikeegkeevteeghfeftefggeeuudff ieenucffohhmrghinhepghhnuhdrohhrghenucfkphepjeefrddugedurdduvdejrdduge einecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgv ohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net [73.141.127.146]) by mail.messagingengine.com (Postfix) with ESMTPA id A46CF3064674; Sat, 19 Sep 2020 15:38:07 -0400 (EDT) Date: Sat, 19 Sep 2020 15:38:05 -0400 From: Leo Famulari Message-ID: <20200919193805.GA31344@jasmine.lan> References: <20200919170357.13583-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200919170357.13583-1-maxim.cournoyer@gmail.com> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=famulari.name header.s=mesmtp header.b=eL7MZSgk; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=bxihV8Rb; dmarc=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-Spam-Score: -0.01 X-TUID: spTKx3zuzz1i On Sat, Sep 19, 2020 at 01:03:57PM -0400, Maxim Cournoyer wrote: > The xz compression is slow; using multiple threads/cores yields a linear > performance improvement. > > * guix/packages.scm (patch-and-repack): Ensure xz is invoked with --threads=N > by setting the XZ_DEFAULTS environment variable. We tried this previous but reverted it because the archives were not bit-reproducible: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3e95125e9bd0676d4a9add9105217ad3eaef3ff0 It's really a shame... it would be nice to reduce the time used for XZ compression. But the bandwidth used to move the results is even more expensive in terms of time and money, since most people should get substitutes.