From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Specific MAKEOPTS for one package
Date: Fri, 28 Sep 2018 00:19:52 -0400 [thread overview]
Message-ID: <20180928041951.GB23885@waltdnes.org> (raw)
In-Reply-To: <20180925132550.GA10424@ikki.ethgen.ch>
On Tue, Sep 25, 2018 at 02:25:50PM +0100, Klaus Ethgen wrote
> Hi Folks,
>
> I have set MAKEOPTS="-j3" in my make.conf.
I assume you have 2 cores on your cpu and you're adding 1 as per the
ancient rule. That may not be the best option anyways. See
https://blogs.gentoo.org/ago/2013/01/14/makeopts-jcore-1-is-not-the-best-optimization/
The author of the blog post ran multiple tests, and concluded that
setting MAKEOPTS -j to the actual number of cores is slightly faster.
Years ago, the gcc compiler was less efficient, and adding 1 to -j did
improve compilation speed. That is apparently not the case today.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
next prev parent reply other threads:[~2018-09-28 4:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-25 13:25 [gentoo-user] Specific MAKEOPTS for one package Klaus Ethgen
2018-09-25 13:31 ` Michael Orlitzky
2018-09-25 13:34 ` Dale
2018-09-25 14:00 ` Peter Humphrey
2018-09-25 14:05 ` Klaus Ethgen
2018-09-26 13:57 ` james
2018-09-28 4:19 ` Walter Dnes [this message]
2018-10-01 11:34 ` Klaus Ethgen
2018-10-01 14:45 ` Michael Orlitzky
2018-10-01 19:48 ` Walter Dnes
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=20180928041951.GB23885@waltdnes.org \
--to=waltdnes@waltdnes.org \
--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