From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40504: Insufficient high-level caching when grafts are enabled Date: Wed, 08 Apr 2020 13:00:58 +0200 Message-ID: <87sghe5jit.fsf@inria.fr> 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]:53824) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jM8T5-0003wt-7N for bug-guix@gnu.org; Wed, 08 Apr 2020 07:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jM8T4-0004DV-4t for bug-guix@gnu.org; Wed, 08 Apr 2020 07:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39907) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jM8T4-0004DL-0h for bug-guix@gnu.org; Wed, 08 Apr 2020 07:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jM8T3-0004dx-UK for bug-guix@gnu.org; Wed, 08 Apr 2020 07:02:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:53692) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jM8S7-0003IU-76 for bug-guix@gnu.org; Wed, 08 Apr 2020 07:01:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jM8S7-0003lJ-3G for bug-guix@gnu.org; Wed, 08 Apr 2020 07:01:03 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49276 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jM8S5-0003wh-T3 for bug-guix@gnu.org; Wed, 08 Apr 2020 07:01:02 -0400 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: 40504@debbugs.gnu.org Hello Guix, --8<---------------cut here---------------start------------->8--- $ GUIX_PROFILING=3Dadd-data-to-store-cache guix system build gnu/system/exa= mples/bare-bones.tmpl -d --no-grafts /gnu/store/w5bsspzdgr55w01fiywir9a8glzlfiph-system.drv 'add-data-to-store' cache: lookups: 2289 hits: 174 (7.6%) .drv files: 1314 (57.4%) Scheme files: 935 (40.8%) $ GUIX_PROFILING=3Dadd-data-to-store-cache guix system build gnu/system/exa= mples/bare-bones.tmpl -d=20 /gnu/store/fg95kb40mmyyl4py5b2238amzzqdy56k-system.drv 'add-data-to-store' cache: lookups: 2557 hits: 360 (14.1%) .drv files: 1473 (57.6%) Scheme files: 1041 (40.7%) $ guix describe Generacio 137 Mar 31 2020 09:13:55 (nuna) guix 011f941 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 011f9412795c141ea05fdfa3096ab252252d7080 --8<---------------cut here---------------end--------------->8--- That the =E2=80=98add-data-to-store=E2=80=99 hit rate doubles when grafts a= re enabled looks fishy. Ludo=E2=80=99.