From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OIanIYcE9l/iJgAA0tVLHw (envelope-from ) for ; Wed, 06 Jan 2021 18:42: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 mp1 with LMTPS id WMZuHYcE9l9iPAAAbx9fmQ (envelope-from ) for ; Wed, 06 Jan 2021 18:42: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 0D9EF9402A9 for ; Wed, 6 Jan 2021 18:42:15 +0000 (UTC) Received: from localhost ([::1]:60948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxDl7-0000Fv-Sr for larch@yhetil.org; Wed, 06 Jan 2021 13:42:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxDkw-0000Fo-4S for bug-guix@gnu.org; Wed, 06 Jan 2021 13:42:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxDkv-0003Jk-Td for bug-guix@gnu.org; Wed, 06 Jan 2021 13:42:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kxDkv-0008G4-QU for bug-guix@gnu.org; Wed, 06 Jan 2021 13:42:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45676: Store references inside compressed data Resent-From: Miguel =?UTF-8?Q?=C3=81ngel?= Arruga Vivas Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Jan 2021 18:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45676 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Received: via spool by 45676-submit@debbugs.gnu.org id=B45676.160995847231688 (code B ref 45676); Wed, 06 Jan 2021 18:42:01 +0000 Received: (at 45676) by debbugs.gnu.org; 6 Jan 2021 18:41:12 +0000 Received: from localhost ([127.0.0.1]:45528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxDk7-0008F2-Kj for submit@debbugs.gnu.org; Wed, 06 Jan 2021 13:41:11 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:34310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxDk5-0008Ep-65 for 45676@debbugs.gnu.org; Wed, 06 Jan 2021 13:41:10 -0500 Received: by mail-wr1-f51.google.com with SMTP id q18so3353920wrn.1 for <45676@debbugs.gnu.org>; Wed, 06 Jan 2021 10:41:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=l4D7RGUK4DqePxFLmZN0FFPwnVhpJwr/A0VwH/ncaQQ=; b=NhydUk9ENIQRhONs6CrZbvO3EKk3Op5Y6QQpFrzygpdi3/T2eFbDa5uEzFiEYxwyMw eEZYYuYnzHFjTBgwCI3onr4fW/G9QAHnYg6qr05ij6x5K+HpX3FkpW2tq8ZoApZqBfdk zqCrQ3dQtzu/gTY2GT9S/sNd9y/W8m1fjKn4JjWyFx676I6ENMxZg1HuCrEnIcSh7VPS FTKuJ46wEKScipSB3HjbjQR5IOxu9ncOM+foqf1LtMQA6B5k1++xqysv6+E0WOVyetoC XfhLvPJ75CrtPzLaOx5wZepis+Nr6Je82V7nLqEHQng7pMWdvJBYZG18iut44DluMGbh UoMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=l4D7RGUK4DqePxFLmZN0FFPwnVhpJwr/A0VwH/ncaQQ=; b=FaRsb1EcRLpJ8Jl6DTUc9noYPUh/t9Nv1KHi37Oir0JGGIyJ8s2qC7PvLUFK95OT6L 8NTf5S3W04z/MU0pMV5E8kQucPwne9jnyY0aiqqJWDfsof8TDgEQYsSJ/nQCHEye0ygp boi+5UmFlkiNsEdupe/tSNAWRrxNVyuiB7iRZVoJq22TDx/wcVkSJ7N/SGhAkmo113Ud r/IAQI+L/ceDJPK7vfVMhREDTDuefhGarUZUAjJTsxPte49++Xlnt7o4EpE2Opuid3lv c0pEEoi3S4FI3D/YafB7UU5maNf1cSfsM90rf9rPwNtMIrD/CpF0fpQGIKKPoLYmLdNH 33zg== X-Gm-Message-State: AOAM533KR539QOhLJoL+yJoeC8dRPxi8TyePWMGvwSuxjzmcmAdIdIud L2n4dhSKwZzP7Jc9u1jgRi2eI2M6AlE= X-Google-Smtp-Source: ABdhPJwAzwmWeIprjRAgT9pfH22bjEBnOYFhxDJmqn12UPyzEAbw76jUqSMeuP77zh48+JWyMxkzAQ== X-Received: by 2002:a5d:58d7:: with SMTP id o23mr5660643wrf.288.1609958463447; Wed, 06 Jan 2021 10:41:03 -0800 (PST) Received: from unfall (36.193.158.146.dynamic.jazztel.es. [146.158.193.36]) by smtp.gmail.com with ESMTPSA id t1sm4489160wro.27.2021.01.06.10.41.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 10:41:02 -0800 (PST) From: Miguel =?UTF-8?Q?=C3=81ngel?= Arruga Vivas In-Reply-To: <871rezf1yg.fsf@nckx> (Tobias Geerinckx-Rice's message of "Tue, 05 Jan 2021 23:33:59 +0100") References: <8735zf30yw.fsf@gmail.com> <871rezf1yg.fsf@nckx> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Date: Wed, 06 Jan 2021 19:40:55 +0100 Message-ID: <87h7nt29jc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain 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: , Cc: 45676@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.24 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=NhydUk9E; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0D9EF9402A9 X-Spam-Score: -1.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: +QyrkUAim8pU Hi! Tobias Geerinckx-Rice writes: > It's true. It's a known trade-off of an otherwise almost-zero-effort > yet fast reference scanner. I don't think it's a bug per se, but it > is something of which to be aware. > > Let's stop installing compressed executables & data files. We already > avoid compressed .jars and other renamed zip files. This is the current trade-off between build time and closure size for executable code, but it isn't the current status regarding data files. > Gzipping a tiny handful of Lisp or Smalltalk files is pointless when > zstd {,de}compresses my entire 500GB SSD better and faster, at the > file system level where it now squarely belongs. Not every system has a file system with compression, nor most of us mortals have a SSD to test that. ;-) > Without breaking Guix. Software bugs are related to the number of lines, and this probably would end up adding more, so I get that idea, hehe. :-P With your proposal closures wouldn't benefit from the "standard tricks" used by package maintainers to reduce their footprint for uncompressed file systems. Having an option to remove that compression seems best for treating it at the file system level---perhaps only some wrappers for the compression tools to use always -0 could do most of the trick---but I'd still like to have the option of paying at build/graft time the storage savings. Of course, this is still only a wish. Happy hacking! Miguel