unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 43340@debbugs.gnu.org
Subject: [bug#43340] [PATCH 0/5] Speed up archive export/import
Date: Fri, 11 Sep 2020 17:01:39 +0200	[thread overview]
Message-ID: <87een8tl0s.fsf@gnu.org> (raw)
In-Reply-To: <20200911144049.14632-1-ludo@gnu.org> ("Ludovic Courtès"'s message of "Fri, 11 Sep 2020 16:40:49 +0200")

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

Ludovic Courtès <ludo@gnu.org> skribis:

> This patch series goes on top of <https://issues.guix.gnu.org/43285>.
> It addresses the performance issue described at:
>
>   https://lists.gnu.org/archive/html/guix-devel/2020-09/msg00073.html
>
> Specifically, it implements option #4 (spawning ‘guix authenticate’
> once for the whole session, instead of spawning it every time a
> store item needs to be signed or authenticated), achieving a ~15x
> speedup, which is not bad.  :-)

Below is the new Gantt chart for:

  perf timechart record guix archive --export -r $(guix build coreutils -d) -v3 >/tmp/dump

Most of the work happens in ‘guix authenticate’.


[-- Attachment #2: new timechart --]
[-- Type: image/png, Size: 42448 bytes --]

[-- Attachment #3: Type: text/plain, Size: 12 bytes --]


Ludo’.

  parent reply	other threads:[~2020-09-11 15:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-11 14:40 [bug#43340] [PATCH 0/5] Speed up archive export/import Ludovic Courtès
2020-09-11 14:51 ` [bug#43340] [PATCH 1/5] daemon: Generalize 'HookInstance' to 'Agent' Ludovic Courtès
2020-09-11 14:51   ` [bug#43340] [PATCH 2/5] daemon: Isolate signing and signature verification functions Ludovic Courtès
2020-09-11 14:51   ` [bug#43340] [PATCH 3/5] daemon: Move 'Agent' to libutil Ludovic Courtès
2020-09-12  7:21     ` Mathieu Othacehe
2020-09-11 14:51   ` [bug#43340] [PATCH 4/5] daemon: Spawn 'guix authenticate' once for all Ludovic Courtès
2020-09-12  7:20     ` Mathieu Othacehe
2020-09-11 14:51   ` [bug#43340] [PATCH 5/5] authenticate: Cache the ACL and key pairs Ludovic Courtès
2020-09-11 15:01 ` Ludovic Courtès [this message]
2020-09-12  7:12   ` [bug#43340] [PATCH 0/5] Speed up archive export/import Mathieu Othacehe
2020-09-13 13:07     ` Ludovic Courtès
2020-09-14 13:47     ` bug#43340: " Ludovic Courtès

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=87een8tl0s.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=43340@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).