From: "Ludovic Courtès" <ludo@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 56618@debbugs.gnu.org, Andrew Tropin <andrew@trop.in>
Subject: [bug#56618] [PATCH 0/2] Let 'guix gc -d' delete old Home generations
Date: Mon, 01 Aug 2022 14:39:26 +0200 [thread overview]
Message-ID: <87v8rcxhmp.fsf@gnu.org> (raw)
In-Reply-To: <878roi9cdk.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 24 Jul 2022 22:04:07 -0400")
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> Perhaps we could arrange for 'guix gc' to start deleting oldest items
> first (as a default behavior)? Then the above advice would provide more
> value.
Right now, the garbage collector simply collects unused items, without a
least-recently-used (LRU) policy or any such thing.
Given that in the store database items have a registration time (see
‘schema.sql’), it might be possible to sort items by registration date
before deleting them, and thus get some sort of LRU behavior. We’d have
to check the feasibility and run-time cost.
Ludo’.
next prev parent reply other threads:[~2022-08-01 12:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-17 15:19 [bug#56618] [PATCH 0/2] Let 'guix gc -d' delete old Home generations Ludovic Courtès
2022-07-17 15:21 ` [bug#56618] [PATCH 1/2] home: Add 'home-generation-base' Ludovic Courtès
2022-07-17 15:21 ` [bug#56618] [PATCH 2/2] guix gc: '--delete-generations' now deletes old Home generations Ludovic Courtès
2022-07-18 12:51 ` [bug#56618] [PATCH 1/2] home: Add 'home-generation-base' Andrew Tropin
2022-07-19 8:01 ` Ludovic Courtès
2022-07-18 12:59 ` [bug#56618] [PATCH 0/2] Let 'guix gc -d' delete old Home generations Andrew Tropin
2022-07-19 8:28 ` Ludovic Courtès
2022-07-19 9:46 ` Andrew Tropin
2022-07-21 9:07 ` Ludovic Courtès
2022-07-21 20:10 ` Maxim Cournoyer
2022-07-22 12:20 ` Ludovic Courtès
2022-07-25 2:04 ` Maxim Cournoyer
2022-08-01 12:39 ` Ludovic Courtès [this message]
2022-07-22 22:42 ` bug#56618: " Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v8rcxhmp.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=56618@debbugs.gnu.org \
--cc=andrew@trop.in \
--cc=maxim.cournoyer@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).