* bug#19832: Deleting unused links is too slow
@ 2015-02-10 19:25 Andreas Enge
2015-02-10 22:24 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2015-02-10 19:25 UTC (permalink / raw)
To: 19832
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#19832: Deleting unused links is too slow
2015-02-10 19:25 bug#19832: Deleting unused links is too slow Andreas Enge
@ 2015-02-10 22:24 ` Ludovic Courtès
2015-02-11 0:07 ` Andreas Enge
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-02-10 22:24 UTC (permalink / raw)
To: Andreas Enge; +Cc: 19832
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’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#19832: Deleting unused links is too slow
2015-02-10 22:24 ` Ludovic Courtès
@ 2015-02-11 0:07 ` Andreas Enge
2015-02-12 17:26 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Enge @ 2015-02-11 0:07 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 19832
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#19832: Deleting unused links is too slow
2015-02-11 0:07 ` Andreas Enge
@ 2015-02-12 17:26 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2015-02-12 17:26 UTC (permalink / raw)
To: Andreas Enge; +Cc: 19832-done
Andreas Enge <andreas@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’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-12 17:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-10 19:25 bug#19832: Deleting unused links is too slow Andreas Enge
2015-02-10 22:24 ` Ludovic Courtès
2015-02-11 0:07 ` Andreas Enge
2015-02-12 17:26 ` Ludovic Courtès
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).