unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke@fastmail.com>
Cc: 26256@debbugs.gnu.org
Subject: bug#26256: [PATCH 4/6] gnu: fio: Enable rbd support.
Date: Tue, 28 Mar 2017 11:45:19 +0200	[thread overview]
Message-ID: <87d1d17n0w.fsf@gnu.org> (raw)
In-Reply-To: <87vaquv09a.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Tue, 28 Mar 2017 00:10:57 +0200")

Marius Bakke <mbakke@fastmail.com> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Marius Bakke <mbakke@fastmail.com> skribis:
>>
>>> * gnu/packages/benchmark.scm (fio)[inputs]: Add ceph:lib.
>>
>> Would be worth checking how this affects the closure size.  It’s a
>> developer tool though, so I’d argue that it’s less of a problem if the
>> closure size is increased noticeably in this cases.
>
> ceph:lib increases fios closure size from 452.3 MiB to a good 738 MiB.
>
> However, by moving the fio auxiliary scripts to a separate output, I
> managed to get the baseline size down from 452.3 MiB to 75.3 MiB. See
> attached patch. WDYT?
>
> From b942036bef17a4eacfd7406a9a5130fd2255252d Mon Sep 17 00:00:00 2001
> From: Marius Bakke <mbakke@fastmail.com>
> Date: Tue, 28 Mar 2017 00:08:36 +0200
> Subject: [PATCH] gnu: fio: Install python scripts in separate output.
>
> * gnu/packages/benchmark.scm (fio)[outputs]: New field.
> [arguments]: Rename 'wrap-python-scripts' to 'move-outputs'. Keep wrapper.

[...]

> +         (add-after 'install 'move-outputs
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let ((out (assoc-ref outputs "out"))
> +                   (utils (string-append (assoc-ref outputs "utils") "/bin")))

Add a comment explaining that this saves X MiB on the closure.

> +    (outputs '("out" "utils"))

Maybe s/utils/bin/ if there aren’t any other binaries, otherwise LGTM!

Thank you!

Ludo’.

  reply	other threads:[~2017-03-28  9:46 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170325202717.14345-1-mbakke@fastmail.com>
     [not found] ` <20170325203017.14931-1-mbakke@fastmail.com>
2017-03-27 11:38   ` bug#26256: [PATCH 1/6] Revert "gnu: snappy: Update to 1.1.4." Ludovic Courtès
     [not found]   ` <20170325203017.14931-2-mbakke@fastmail.com>
2017-03-27 11:39     ` bug#26256: [PATCH 2/6] gnu: xmlstarlet: Disable failing tests Ludovic Courtès
     [not found]   ` <20170325203017.14931-3-mbakke@fastmail.com>
     [not found]     ` <87wpbdw04q.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me>
2017-03-27 11:48       ` bug#26256: [PATCH 3/6] gnu: Add ceph Ludovic Courtès
2017-03-27 20:13         ` Marius Bakke
2017-03-28  8:57           ` Marius Bakke
2017-03-28  9:43           ` Ludovic Courtès
     [not found]   ` <20170325203017.14931-4-mbakke@fastmail.com>
2017-03-27 11:50     ` bug#26256: [PATCH 4/6] gnu: fio: Enable rbd support Ludovic Courtès
2017-03-27 22:10       ` Marius Bakke
2017-03-28  9:45         ` Ludovic Courtès [this message]
     [not found]   ` <20170325203017.14931-6-mbakke@fastmail.com>
2017-03-27 11:52     ` bug#26256: [PATCH 6/6] gnu: Add multipath-tools Ludovic Courtès
     [not found]   ` <20170325203017.14931-5-mbakke@fastmail.com>
2017-03-27 11:51     ` bug#26256: [PATCH 5/6] gnu: Add userspace-rcu Ludovic Courtès
2017-03-27 19:13       ` Marius Bakke
2017-03-27 22:57         ` Marius Bakke
2017-03-27 23:41           ` Marius Bakke
2017-03-28  8:17             ` Ludovic Courtès
2017-03-28  8:14         ` Ludovic Courtès
2017-03-27 19:49     ` Tobias Geerinckx-Rice
2017-03-27 19:54       ` Tobias Geerinckx-Rice
2017-03-27 20:08       ` Marius Bakke
2017-03-27 22:21         ` Tobias Geerinckx-Rice
2017-03-27 22:31           ` Marius Bakke
2017-03-27 22:59             ` Tobias Geerinckx-Rice
2017-03-27 23:05               ` Marius Bakke
2017-03-28 11:16             ` Ludovic Courtès
2017-03-28 15:10 ` bug#26256: [PATCH 0/6] Add ceph + multipath-tools Marius Bakke

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=87d1d17n0w.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=26256@debbugs.gnu.org \
    --cc=mbakke@fastmail.com \
    /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).