From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#19832: Deleting unused links is too slow Date: Tue, 10 Feb 2015 23:24:51 +0100 Message-ID: <87fvadxv4c.fsf@gnu.org> References: <20150210192521.GA431@debian> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLJEv-0006T6-Mj for bug-guix@gnu.org; Tue, 10 Feb 2015 17:25:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLJEs-0007Ih-Jw for bug-guix@gnu.org; Tue, 10 Feb 2015 17:25:05 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:48421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLJEs-0007IX-Hd for bug-guix@gnu.org; Tue, 10 Feb 2015 17:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YLJEs-0001Wy-9N for bug-guix@gnu.org; Tue, 10 Feb 2015 17:25:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20150210192521.GA431@debian> (Andreas Enge's message of "Tue, 10 Feb 2015 20:25:21 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: 19832@debbugs.gnu.org Andreas Enge 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 spinni= ng. 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=E2=80=99t GC=E2=80=99d in a long time, it=E2=80=99s also likel= y to take longer. Ludo=E2=80=99.