GNU bug report logs - #19832
Deleting unused links is too slow

Previous Next

Package: guix;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Tue, 10 Feb 2015 19:26:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19832 in the body.
You can then email your comments to 19832 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#19832; Package guix. (Tue, 10 Feb 2015 19:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Enge <andreas <at> enge.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 10 Feb 2015 19:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: bug-guix <at> gnu.org
Subject: Deleting unused links is too slow
Date: Tue, 10 Feb 2015 20:25:21 +0100
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





Information forwarded to bug-guix <at> gnu.org:
bug#19832; Package guix. (Tue, 10 Feb 2015 22:25:02 GMT) Full text and rfc822 format available.

Message #8 received at 19832 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas <at> enge.fr>
Cc: 19832 <at> debbugs.gnu.org
Subject: Re: bug#19832: Deleting unused links is too slow
Date: Tue, 10 Feb 2015 23:24:51 +0100
Andreas Enge <andreas <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#19832; Package guix. (Wed, 11 Feb 2015 00:08:02 GMT) Full text and rfc822 format available.

Message #11 received at 19832 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 19832 <at> debbugs.gnu.org
Subject: Re: bug#19832: Deleting unused links is too slow
Date: Wed, 11 Feb 2015 01:07:28 +0100
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.

Andreas





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Thu, 12 Feb 2015 17:27:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Enge <andreas <at> enge.fr>:
bug acknowledged by developer. (Thu, 12 Feb 2015 17:27:02 GMT) Full text and rfc822 format available.

Message #16 received at 19832-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas <at> enge.fr>
Cc: 19832-done <at> debbugs.gnu.org
Subject: Re: bug#19832: Deleting unused links is too slow
Date: Thu, 12 Feb 2015 18:26:54 +0100
Andreas Enge <andreas <at> enge.fr> skribis:

> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 13 Mar 2015 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.