unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 40504@debbugs.gnu.org
Subject: bug#40504: Insufficient high-level caching when grafts are enabled
Date: Wed, 08 Apr 2020 13:00:58 +0200	[thread overview]
Message-ID: <87sghe5jit.fsf@inria.fr> (raw)

Hello Guix,

--8<---------------cut here---------------start------------->8---
$ GUIX_PROFILING=add-data-to-store-cache guix system build gnu/system/examples/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=add-data-to-store-cache guix system build gnu/system/examples/bare-bones.tmpl -d 
/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 ‘add-data-to-store’ hit rate doubles when grafts are enabled
looks fishy.

Ludo’.

                 reply	other threads:[~2020-04-08 11:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sghe5jit.fsf@inria.fr \
    --to=ludo@gnu.org \
    --cc=40504@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).