all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Andreas Enge <andreas@enge.fr>
Cc: Felix Lechner <felix.lechner@lease-up.com>,
	 "Felix Lechner via Development of GNU Guix and the GNU System
	distribution." <guix-devel@gnu.org>
Subject: Re: Are 'guix gc' stats exaggerated?
Date: Mon, 17 Jun 2024 13:24:44 +0200	[thread overview]
Message-ID: <87r0cvak1v.fsf@gnu.org> (raw)
In-Reply-To: <ZmV2ObF1CSfnKvgE@jurong> (Andreas Enge's message of "Sun, 9 Jun 2024 11:30:33 +0200")

Andreas Enge <andreas@enge.fr> skribis:

> In my experience on ext4 (also not backed by looking at the code), "guix gc"
> always deletes substantially less than what I ask for. I always thought it
> just counted hard linked files even when the link count does not go to 0
> and the file is not actually deleted.

Yes, that’s also my experience.  I did look at the code several times, I
even thought 7033c7692ccbbbad8f7b9952015de071a5588e87 in 2020 would fix
that estimate, but it didn’t.  I guess I’m bad at maths and logic, we
should give another look at that part of the code!

(Note that creation of sparse files will be another source of
discrepancy, though there will be few of them.)

Ludo’.


  reply	other threads:[~2024-06-17 11:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-26 20:13 Are 'guix gc' stats exaggerated? Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-05-27  9:10 ` raingloom
2024-05-28  2:47   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-05-28  9:01 ` Efraim Flashner
2024-05-31 22:03   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-06-02  8:24     ` Daemon deduplication and btrfs compression [was Re: Are 'guix gc' stats exaggerated?] Efraim Flashner
2024-06-06 14:17     ` Are 'guix gc' stats exaggerated? Ludovic Courtès
2024-06-06 19:32       ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-06-09  9:19         ` Efraim Flashner
2024-06-09  9:30           ` Andreas Enge
2024-06-17 11:24             ` Ludovic Courtès [this message]
2024-05-31 16:33 ` Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0cvak1v.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --cc=felix.lechner@lease-up.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.