-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Am Fr den 28. Sep 2018 um  5:19 schrieb Walter Dnes:
> On Tue, Sep 25, 2018 at 02:25:50PM +0100, Klaus Ethgen wrote
> > 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.

True.

> 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.

Interesting thoughts.

First, cpufreq-set seems to be not available on gentoo anymore. Doesn't
matter, just giving it a try.

It came out, that all build times have nearly the same sys times but the
user and real times vary. Funny, this is a two CPU machine but the build
with -j1 consumes the least user time. Just the real value gives the
same pattern than on the site.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <[email protected]>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAluyBjsACgkQpnwKsYAZ
9qyOqAv+KPCXk0uftuWv7rQwzQlV9wgs9RH9OLuy9k8yXiKUTmIIjcqO7xMRJGKJ
bCQCqo0IrA+ZGnKbDYWydPTeFwM05Sa6NYHlonEcyK3tJ83GkU6J1xedhemsuCmF
eyfDn9RfQjie4C90xfCnEsov46VMcSKae1aokl2olTPPrsGcG+hjQNI6jpEtyjRu
9qzjxCdWbYho5E6PRoa4ZTvKCLSeaEiJl9fFY8Ouyy747sJPQf1lrsGsDmaf9Zxh
psvUQQGmeja1l66fvi82P19BWG3EHLw08hFJut/uKvpFHSDI+kmXixJHp7TY3avo
tmqeir1b/bq7tbBLkmpbCcOS7eYUDK0YwwENMcMQPk2l4ZC6e0xkVIlV3ZcubG2W
QF9JUSKD2bN1h4He8y/APzFFSwkzGY38nQxTTZwXoCRUZqELDHXfqPJjK8x7qE7J
5OcuPkytVcM0vbXes6Yi38MfRXMt9Re4d9uAscL12vBZet/50fUA2y9eRCP3SW0T
WHSMQ7ZT
=a+QA
-----END PGP SIGNATURE-----

Reply via email to