unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: 19832@debbugs.gnu.org
Subject: bug#19832: Deleting unused links is too slow
Date: Tue, 10 Feb 2015 23:24:51 +0100	[thread overview]
Message-ID: <87fvadxv4c.fsf@gnu.org> (raw)
In-Reply-To: <20150210192521.GA431@debian> (Andreas Enge's message of "Tue, 10 Feb 2015 20:25:21 +0100")

Andreas Enge <andreas@enge.fr> skribis:

> I just compiled a test package and tried a
> "guix gc -d /path/to/package/in/store"
>
> After printing
>  deleting `/gnu/store/642pwarg5hppzh1gwadd07w0g4w3rwpx-nss-certs-3.17.3'
>  deleting `/gnu/store/trash'
>  deleting unused links...
> which is instantaneous, I need to wait for 5 minutes with the disk spinning.

Literally 5 minutes?  It would be more like 30s on my SSD.

> I suppose this is a side-effect of deduplication?

That, and the fact that you have a disk that actually spins.  ;-)

If you haven’t GC’d in a long time, it’s also likely to take longer.

Ludo’.

  reply	other threads:[~2015-02-10 22:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 19:25 bug#19832: Deleting unused links is too slow Andreas Enge
2015-02-10 22:24 ` Ludovic Courtès [this message]
2015-02-11  0:07   ` Andreas Enge
2015-02-12 17:26     ` 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=87fvadxv4c.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=19832@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    /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).