From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id yM3XBfJzZWbIhAEAqHPOHw:P1 (envelope-from ) for ; Sun, 09 Jun 2024 11:20:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yM3XBfJzZWbIhAEAqHPOHw (envelope-from ) for ; Sun, 09 Jun 2024 11:20:50 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MpVetKpg; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717924850; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=D8ujHHdvXkwG6Wr003HCXfy5yW7bHs4nhsmABOQImNA=; b=s7uvVABkzKoI/NUAX80rqm3c5JCAZv9phIkqaRJogeat4NvuqnFf8TU9kfQvE/30v2M5hF myxziI4hLwZWwj9SL8LW3fQnjpMjuOYq710HADdWSvPlPYzo8mRFl6FkUNhWZENHnCfwKN bvpx96K5A43QW+xs94fJjzItKRo7s1CFrI4pNTlqJkUfNfSc7FoP8GE9TixM/WR4wkJSF0 jYxFojC62xi89Br6njsNIsMMFeJJ6x0+XKD8mJIkCIOW7lWDkwV1nn2R12EuQ1X/hKCBrU iQfy8OVrxHKcxjcAzOlb06hJdJSa/UUYkrd/wUXu79pK85dUIDg2lfCuNESOGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=MpVetKpg; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717924850; a=rsa-sha256; cv=none; b=USnTehh0P9fAJPNnaLb7adP7BkpqS4PR1ibesxY4sUGInfIuZ8wxqtyFowrr+VmjrbYn30 1wndEgDyCvjY3UII1fj2SUtRxNGtUe6ekebwA6Dj7bzSvBDHOdwwDiO/+qEhEh06jDkhTc o6tRLNACnlzK3bRtjShMqxestSdunSIiMij8VSQ99eMoD8RKK5RRr5VQZrw7j6nvJho2W0 ph0BGMltRWaNt/5BYcR+VH+Lxd85MrRvC9jxB+lrJI/4zwDFI88RHYw4TxDUXDk+wyIEGv wW1Y9lrovHGtmSd+NdcQ6M+TeX60d0OjXF8rXW5v5uMzR26bdro50tKFDxJKmA== 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 32B7C11C88 for ; Sun, 9 Jun 2024 11:20:49 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sGEid-0001t5-86; Sun, 09 Jun 2024 05:20:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sGEiY-0001si-Rs for guix-devel@gnu.org; Sun, 09 Jun 2024 05:20:04 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sGEiW-0003kb-TN; Sun, 09 Jun 2024 05:20:02 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-35f1691b18fso663170f8f.2; Sun, 09 Jun 2024 02:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717924797; x=1718529597; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=D8ujHHdvXkwG6Wr003HCXfy5yW7bHs4nhsmABOQImNA=; b=MpVetKpgJGkJewN2LEJgRESCZ87YAArZJH88eukCpfaE+HWQWhiV0gNfmUxtgS4uwI mUjSBR9j8H/3nilxjwyaUEibS2lH2ignMJq+RaoI05frGdZzC2wRN4HYgHFVxXmQZMeG FlfgNZiynN8oJpRxki8yC4M/sGaPpP4dB149HRAu7Cn55bW24om9P/LxU0Sx/ynuDhjD /6rv4Q+75HU2Ts/q1iPp5vzmShykT7qm8wXMEKx2DEuRu+cVHPfyBWz5iv6frqHT6e3X a1ktCyjHx00Rfr7e4D261OSpJ1is43tKBlQbuix/lQ5r0TsSS7xGJ8WjQ/IuN6WPDb8V MN3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717924797; x=1718529597; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=D8ujHHdvXkwG6Wr003HCXfy5yW7bHs4nhsmABOQImNA=; b=FRsd1D9Lq+ogNCsmU5RJolsQIL53DxG877CopIusbRlDKQUq9futXgJdjmAndMHX3p rKECrzPwBEFQedbQ+XjewESU63/pY0SgtS62KxbVdYl5yYuwU4alRCsDDumRLhros2BR eCD92ZOAC4jfydlHyJye3XCqLYaSbYKPhKcHuZab1dil7udIyzkABIujUSNAbVKbhTOm RAv0zPMXNxygM1/GLdj6uXLJfji7ysQDhOkNLmQSvls7xyzcU75uxQj4WAdLuK2ZTFkH zHVVj3NzmNpwtV6zW+9114rvs57jpty6PcB8M6COjd9yO8Q5lKDnwNzpHl6oMe+HFisk NIUg== X-Forwarded-Encrypted: i=1; AJvYcCWJ9HhHNgk81u9O6qkqrKU2+dbqPrEpKsVORjVGrDSouqJL4mCr/jhoZefYVKqAm99obg31gYH9WzHNVJeej4pmp0Q= X-Gm-Message-State: AOJu0YyfyAEBrwAl5dsevh8Le8z9rXlsqvwhibuKoKGhC7887C+5dcjL 3B7pg9rrqOVYyvAgmRY1qA212eeJtZnJI+NJLkQsOCnhICDqXWZjKiaIcPt+c+I= X-Google-Smtp-Source: AGHT+IH+cysIDdMqU9qXttPEWvTviwe8/eHZ3Kzcq5rp+PE3k0fo5kiH9stugQ1EcvIjjnbuyteIDw== X-Received: by 2002:a05:6000:511:b0:355:230:e2d3 with SMTP id ffacd0b85a97d-35efed3f914mr4606441f8f.20.1717924797010; Sun, 09 Jun 2024 02:19:57 -0700 (PDT) Received: from localhost ([141.226.8.103]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35f0eb36c72sm4251010f8f.85.2024.06.09.02.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 02:19:56 -0700 (PDT) Date: Sun, 9 Jun 2024 12:19:55 +0300 From: Efraim Flashner To: Felix Lechner Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , "Felix Lechner via Development of GNU Guix and the GNU System distribution." Subject: Re: Are 'guix gc' stats exaggerated? Message-ID: Mail-Followup-To: Felix Lechner , Ludovic =?utf-8?Q?Court=C3=A8s?= , "Felix Lechner via Development of GNU Guix and the GNU System distribution." References: <87bk4stjpi.fsf@lease-up.com> <87a5k5oczg.fsf@lease-up.com> <87tti640kw.fsf@gnu.org> <877cf1amu3.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="96V0SZUu4dB1B0m6" Content-Disposition: inline In-Reply-To: <877cf1amu3.fsf@lease-up.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=efraim.flashner@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.44 X-Spam-Score: -1.44 X-Migadu-Queue-Id: 32B7C11C88 X-Migadu-Scanner: mx13.migadu.com X-TUID: l3FOC+zKKv3z --96V0SZUu4dB1B0m6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 06, 2024 at 12:32:52PM -0700, Felix Lechner wrote: > Hi Ludo' >=20 > On Thu, Jun 06 2024, Ludovic Court=C3=A8s wrote: >=20 > > Where does that 3:1 figure come from? >=20 > Efraim's experience, I believe. I've found that to be my experience, and posted two compsize outputs to show where I got my numbers from. > > Where do you see that in the code? After checking > > =E2=80=98removeUnusedLinks=E2=80=99, I think it counts space savings ri= ght. >=20 > Sorry, I didn't look at the code. I was merely prompted to speculate by > the mentioning of hard links and inferred wrongly, it seems, that the > discrepancy was related---although in fairness I also doubted that a > fixed 3:1 ratio could be credibly explained by deduplication alone. >=20 > Also, I don't mean to appear critical. Thanks to everyone for your hard > work on Guix! In my not having looked at the code, I'll point out that running `guix gc -C 10G` will clear 10G of items from the store, but will return between 2-10G of real space for future use on the hard drive. Thinking across my various machines, on my desktop and laptop using btrfs this is the case, but on my other machines using ext4 I think the space cleared and what I'm expecting to have free to use do actually match up, but I don't remember paying that much attention to the numbers previously on those machines. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --96V0SZUu4dB1B0m6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmZlc7sACgkQQarn3Mo9 g1FgFg//XhS0W09jl6+lfDq39UffpqH6T+kx/ImO1KgZSBX80hS2+93KXjMbt0oN jZm1MJQ65aOCuWkZ331JORs7x+qNK393taSa2ayDMvb8KtekBp/KZwM5DafUEfIH QswZBQRGDar951wkOcfhUuZgWBQLgc4uZ+yMVahaJFG/1WRPhT/XsCcebww6ZtZP JkhMfmBgiH+aRfe40kZ6bj7bPmou1IMpyyImoR3TW1EJOow1WO1ItQ3hIXtP1IwC 9EW3nqglE+bqovRqc2EjYuTGu3rGwWVxHYddbqZreYcmHRpJF2VIJh5xioL8DJwj JcD8Z34oK6MqD20/nKpzi4C6COpVXEBYy1lGpNEQ05XPpavane1TeVDkEfL9FPu2 O/1F5YCgBwEbleSvbc3Kf7DPIlfXYAzXAw1F/wuMimfGI/PfPD5apDyI1jwQK9UN 7GbyVsm8JeUqdPOXdt5f7mA3uhS5sbaiWcjtx4iABOT5HbybuuiGMDF1ceQTJRS+ KP2jB3wKQW64KnM3Ohxm91RLFWUZBO3vc9KcvdnzD0Nbqk2RBt5ue6OZNKJYZALU Xyiw1wThtAHUcZ+QkkUbO2F9EBbgeUWvDqcXeLZ6YO1WUscfWAZ/+Ltc/d5Ar0fc nMi0FDH7/BdypPlQQIsqFfElgkXuubZ3r6r0vxpe4CJS6LnGjv0= =Pzdo -----END PGP SIGNATURE----- --96V0SZUu4dB1B0m6--