From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: guix gc takes long in "deleting unused links ..." Date: Sat, 02 Feb 2019 11:38:13 +0100 Message-ID: <87k1ii8oh6.fsf@roquette.mug.biscuolo.net> References: <20190201065332.6d4c9815@alma-ubu> <87womjcfoi.fsf@cune.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:42111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpshN-0005o0-QW for guix-devel@gnu.org; Sat, 02 Feb 2019 05:38:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gpshF-0005At-D1 for guix-devel@gnu.org; Sat, 02 Feb 2019 05:38:52 -0500 Received: from ns13.heimat.it ([46.4.214.66]:43526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gpshA-00053M-K7 for guix-devel@gnu.org; Sat, 02 Feb 2019 05:38:47 -0500 In-Reply-To: <87womjcfoi.fsf@cune.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Caleb Ristvedt , guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Caleb, thank you very much for the technocal details of the garbage collection process! Caleb Ristvedt writes: > Bj=C3=B6rn H=C3=B6fling writes: > >> Why does that take soo long? > > Warning: technical overview follows. > > It takes so long because after the garbage collection pass it then does > a *full* pass over the /gnu/store/.links directory. Which is huge.=20 [...] >> Or better: Is it save here to just hit CTRL-C (and let the daemon work >> in background, or whatever)? > > I expect that CTRL-C at that point would cause the guix process to > terminate, closing its connection to the daemon. I don't believe the > daemon uses asynchronous I/O [...] IMHO both this questions/anwsers should start a brand new "Guix FAQ" texinfo document :-) I'll try to bootstrap one if I can Thanks! Giovanni =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlxVcxUACgkQ030Op87M ORI3hhAA4a5ggANg6KkeoaBpm9WYbPgPK72dJ+K+UWK4ZtsyPhZ+mHSp2NYS9vzp wr3SJan8Sh/5U525NAZzUaminStBAEYfFEc+E87SNOpyyWBWCrQH76CoqEAPvPmn lgtCVsSvOcXvizSMKy4e3C7bC0esZb2jXkNsoGEBiVwyP9bTwIESeEo2wJw8TwC5 82YZUhp0wGHyhrzOpjQyLovEgPHbi7I2EYkexHqxeHZ3D7++p77ruMLj8HHc9GIx g435myYLQtF9E+VPig01XFhcXU1U+A0qCB+gmCPDlYhLGpeOXGFrSXBjv2/n+4Gq RNm1GVXFJtxcFzzQSyVKIn829gVrHwWwZmzjffaBJI1xjL+NLZiMQA6Jfapoccgy QVNxi/oUTJgRw23fhTZES6yyYExRisbzHrRkkKi6RLs3eq2hQnKCXy1MiDvogFBB AfJRlEJSsWcPfcxmmMeiMor9QF4gfzyfQYb8iOzhoDnm0z+fLhxLDNJuCCVFAh30 5KNfZY7yEGoVjCrBzHJevRXX50NzaKj7LLHJyD9auwujqE9STxsVeFSlBFryToT6 Cnz9jQ9RbnAtp3XPQAX2vbWYr9mzvEh5nZ1bywpb1W1ypxVp1uQJRfwHNsIi5mfV QoI+i9P/XADAOl75WkkzK+FeeZMtQNnaGBNguTrmMw1pD26APqM= =jG8v -----END PGP SIGNATURE----- --=-=-=--