public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Blinka <john.blinka@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Emerge load again
Date: Wed, 29 Nov 2023 09:12:39 -0500	[thread overview]
Message-ID: <CAC_tCmptgHcC3LdiTPGL_XsvY=uu8iW5L3cwsPePWaBoeZbPzQ@mail.gmail.com> (raw)
In-Reply-To: <2326287.ElGaqSPkdT@wstn>

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

On Mon, Nov 27, 2023 at 10:39 AM Peter Humphreey <peter@prh.myzen.co.uk>
wrote:l

>
> What am I missing?


I have much less powerful hardware than you but libreoffice (as a
stand-alone build) generates many more threads than 4 on my “cluster”.  I’m
also using distcc.

On the main box, I set
MAKEOPTS=“-j17 -l6”
On the other two less powerful ones -l is 5 and 3, but -j is the same.

On the main box, /etc/distcc/hosts contains
localhost/11 sophie/5,lzo tobey/3,lzo —localslots=11 —localslots_cpp=11

On sophie and tobey (my less powerful boxes) the hosts file contains
something similar but specific to those boxes. The localslots and
localslots_cpp numbers are 3 on tobey and 5 on sophie, and the order in
which the machines are mentioned changes (local machine first, then remote
machines in order of power).

This configuration is the result of a lot of experimentation rather than
just a theoretical calculation. The various guides that discuss how to tune
these numbers for best performance were modestly helpful in explaining what
the tuning parameters mean, but experimenting and watching the resulting
performance was the best teacher.

Hope this helps.

John Blinka

[-- Attachment #2: Type: text/html, Size: 1941 bytes --]

  parent reply	other threads:[~2023-11-29 14:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-27 15:39 [gentoo-user] Emerge load again Peter Humphreey
2023-11-29 10:26 ` Michael
2023-11-29 12:06   ` Peter Humphreey
2024-01-06 11:44     ` Michael
2024-01-06 13:52       ` Peter Humphrey
2024-01-06 15:28     ` Wols Lists
2024-01-06 17:52       ` Peter Humphrey
2024-01-06 19:31         ` Wols Lists
2024-01-07  0:47           ` Peter Humphrey
2024-01-07  0:54             ` Adam Carter
2024-01-07  1:41               ` Peter Humphrey
2023-11-30 10:16   ` [gentoo-user] " Nuno Silva
2023-11-30 11:16     ` Michael
2023-11-30 16:49     ` Peter Humphreey
2023-11-29 14:12 ` John Blinka [this message]
2023-11-29 14:51   ` [gentoo-user] " Michael

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='CAC_tCmptgHcC3LdiTPGL_XsvY=uu8iW5L3cwsPePWaBoeZbPzQ@mail.gmail.com' \
    --to=john.blinka@gmail.com \
    --cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox