Deleting unused links is too slow

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Ludovic Courtès
Owner
unassigned
Submitted by
Andreas Enge
Severity
normal

Debbugs page

Andreas Enge wrote 10 years ago
(address . bug-guix@gnu.org)
20150210192521.GA431@debian
Hello,

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.

I suppose this is a side-effect of deduplication?

Andreas
Ludovic Courtès wrote 10 years ago
(name . Andreas Enge)(address . andreas@enge.fr)(address . 19832@debbugs.gnu.org)
87fvadxv4c.fsf@gnu.org
Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (9 lines)
> 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.

Toggle quote (2 lines)
> 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’.
Andreas Enge wrote 10 years ago
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 19832@debbugs.gnu.org)
20150211000728.GA22201@debian
On Tue, Feb 10, 2015 at 11:24:51PM +0100, Ludovic Courtès wrote:
Toggle quote (2 lines)
> If you haven’t GC’d in a long time, it’s also likely to take longer.

Maybe that was the problem. I tried again later to gc one package, and it was
almost instantaneous. Which means that there might not be a problem after all.

Andreas
Ludovic Courtès wrote 10 years ago
(name . Andreas Enge)(address . andreas@enge.fr)(address . 19832-done@debbugs.gnu.org)
87lhk3oxb5.fsf@gnu.org
Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (6 lines)
> On Tue, Feb 10, 2015 at 11:24:51PM +0100, Ludovic Courtès wrote:
>> If you haven’t GC’d in a long time, it’s also likely to take longer.
>
> Maybe that was the problem. I tried again later to gc one package, and it was
> almost instantaneous. Which means that there might not be a problem after all.

OK, closing it then.

Thanks,
Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 19832@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 19832
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help