From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.org>
Cc: guix-devel@gnu.org
Subject: Re: Suggestion: disable offloading for texlive builds on hydra?
Date: Mon, 27 Oct 2014 13:58:57 +0100 [thread overview]
Message-ID: <87mw8h4qjy.fsf@gnu.org> (raw)
In-Reply-To: <87a94irf0u.fsf@yeeloong.lan> (Mark H. Weaver's message of "Sun, 26 Oct 2014 12:07:13 -0400")
Mark H Weaver <mhw@netris.org> skribis:
> ludo@gnu.org (Ludovic Courtès) writes:
[...]
>> The rationale was that, in general, you just slow everything down by
>> sending several things at once.
>
> I have my doubts that it would slow things down very much, if at all.
> The number of parallel transfers would still be limited to a small
> number, typically 4 per build slave. The expense associated with
> running multiple processes on a CPU is mainly due to cache effects, but
> I wouldn't expect that to be an issue with network connections,
> especially when those connections are between the same two hosts. The
> practice of using multiple connections is well established in web
> browsers and imap clients, as long as the number is not too large.
>
> We're losing a huge amount of available CPU capacity in our build farm
> (probably over 30 machine-hours per texinfo rebuild) in exchange for a
> dubious increase in network efficiency.
>
> The more I think about it, the more I agree with John that we've chosen
> the wrong tradeoff here. I think we should remove those mutexes.
Hmm OK. I’m happy to try that (it’s a two-line change plus deployment.)
I can do it one of the next few days, but I’m happy if you do it. :-)
>> diff --git a/gnu/packages/texlive.scm b/gnu/packages/texlive.scm
>> index e562b02..bc0ece7 100644
>> --- a/gnu/packages/texlive.scm
>> +++ b/gnu/packages/texlive.scm
>> @@ -88,7 +88,7 @@
>> ("pkg-config" ,pkg-config)
>> ("python" ,python-2) ; incompatible with Python 3 (print syntax)
>> ("tcsh" ,tcsh)))
>> - (outputs '("out" "data"))
>> + (outputs '("out" "data" "doc"))
>> (arguments
>> `(#:out-of-source? #t
>> #:configure-flags
>>
>>
>> Data point: there’s 1.6 GiB in texmf-dist/doc (which the patch above
>> splits out), and 1.4 GiB in texmf-dist/fonts.
>
> I'd definitely be in favor of splitting out the docs.
OK, I’ll test it locally and commit if nothing breaks.
>> Another option Andreas and I discussed a while back would be to use a
>> fixed-output derivation for the data, since it’s really what it is.
>> That’s a bit hacky though: we’d have to install it, compute the hash of
>> the installed files, and then use that as the derivation’s output hash.
>
> Hmm. It is indeed a hack, but maybe worth considering. When I think
> about Guix users downloading over 3 GiB from our humble hydra quite
> often just to have TeX, it makes me worry about our bandwidth
> requirements.
Agreed.
Ludo’.
next prev parent reply other threads:[~2014-10-27 12:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 7:36 Suggestion: disable offloading for texlive builds on hydra? Mark H Weaver
2014-10-26 7:49 ` John Darrington
2014-10-26 14:12 ` Ludovic Courtès
2014-10-26 16:07 ` Mark H Weaver
2014-10-27 12:58 ` Ludovic Courtès [this message]
2014-10-28 23:55 ` Ludovic Courtès
2014-10-29 21:50 ` Andreas Enge
2014-10-29 12:29 ` Andreas Enge
2014-10-29 16:20 ` Andreas Enge
2014-10-29 22:17 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mw8h4qjy.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=mhw@netris.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.