From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#24937: "deleting unused links" GC phase is too slow Date: Fri, 17 Apr 2020 10:16:09 +0200 Message-ID: <874ktieddi.fsf@gnu.org> References: <87wpg7ffbm.fsf@gnu.org> <87lgvm4lzu.fsf@gnu.org> <87twaaa6j9.fsf@netris.org> <87twaa2vjx.fsf@gnu.org> <87lgvm9sgq.fsf@netris.org> <87d1gwvgu0.fsf@gnu.org> <87wpf4yoz0.fsf@netris.org> <87fulrsqxx.fsf@gnu.org> <87vaunbvcu.fsf@mdc-berlin.de> <87ftd3muhp.fsf@elephly.net> <87eesnmrow.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44154) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPMBO-0003dq-Cs for bug-guix@gnu.org; Fri, 17 Apr 2020 04:17:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPMBN-0004kW-DR for bug-guix@gnu.org; Fri, 17 Apr 2020 04:17:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56576) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPMBK-0004h3-9Y for bug-guix@gnu.org; Fri, 17 Apr 2020 04:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPMBK-0006Vp-6R for bug-guix@gnu.org; Fri, 17 Apr 2020 04:17:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87eesnmrow.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 16 Apr 2020 16:27:27 +0200") 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-mx.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus Cc: 24937@debbugs.gnu.org Hi Ricardo, Thanks for running this benchmark! Ricardo Wurmus skribis: > root@hydra-guix-127 ~# ls -1 /gnu/store/.links | wc -l > 2017395 That=E2=80=99s not a lot, my laptop has 2.8M links. It=E2=80=99s interesting to see that system time remains at ~4.2s in all mo= des. So the only thing that modes 2 and 3 achieve is increasing CPU time. It=E2=80=99s as if the order in which files are stat=E2=80=99d had no impac= t on I/O performance. Ludo=E2=80=99.