1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA512 |
3 |
|
4 |
Am Fr den 28. Sep 2018 um 5:19 schrieb Walter Dnes: |
5 |
> On Tue, Sep 25, 2018 at 02:25:50PM +0100, Klaus Ethgen wrote |
6 |
> > I have set MAKEOPTS="-j3" in my make.conf. |
7 |
> I assume you have 2 cores on your cpu and you're adding 1 as per the |
8 |
> ancient rule. |
9 |
|
10 |
True. |
11 |
|
12 |
> That may not be the best option anyways. See |
13 |
> https://blogs.gentoo.org/ago/2013/01/14/makeopts-jcore-1-is-not-the-best-optimization/ |
14 |
> The author of the blog post ran multiple tests, and concluded that |
15 |
> setting MAKEOPTS -j to the actual number of cores is slightly faster. |
16 |
> Years ago, the gcc compiler was less efficient, and adding 1 to -j did |
17 |
> improve compilation speed. That is apparently not the case today. |
18 |
|
19 |
Interesting thoughts. |
20 |
|
21 |
First, cpufreq-set seems to be not available on gentoo anymore. Doesn't |
22 |
matter, just giving it a try. |
23 |
|
24 |
It came out, that all build times have nearly the same sys times but the |
25 |
user and real times vary. Funny, this is a two CPU machine but the build |
26 |
with -j1 consumes the least user time. Just the real value gives the |
27 |
same pattern than on the site. |
28 |
|
29 |
Regards |
30 |
Klaus |
31 |
- -- |
32 |
Klaus Ethgen http://www.ethgen.ch/ |
33 |
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@××××××.ch> |
34 |
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C |
35 |
-----BEGIN PGP SIGNATURE----- |
36 |
Comment: Charset: ISO-8859-1 |
37 |
|
38 |
iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAluyBjsACgkQpnwKsYAZ |
39 |
9qyOqAv+KPCXk0uftuWv7rQwzQlV9wgs9RH9OLuy9k8yXiKUTmIIjcqO7xMRJGKJ |
40 |
bCQCqo0IrA+ZGnKbDYWydPTeFwM05Sa6NYHlonEcyK3tJ83GkU6J1xedhemsuCmF |
41 |
eyfDn9RfQjie4C90xfCnEsov46VMcSKae1aokl2olTPPrsGcG+hjQNI6jpEtyjRu |
42 |
9qzjxCdWbYho5E6PRoa4ZTvKCLSeaEiJl9fFY8Ouyy747sJPQf1lrsGsDmaf9Zxh |
43 |
psvUQQGmeja1l66fvi82P19BWG3EHLw08hFJut/uKvpFHSDI+kmXixJHp7TY3avo |
44 |
tmqeir1b/bq7tbBLkmpbCcOS7eYUDK0YwwENMcMQPk2l4ZC6e0xkVIlV3ZcubG2W |
45 |
QF9JUSKD2bN1h4He8y/APzFFSwkzGY38nQxTTZwXoCRUZqELDHXfqPJjK8x7qE7J |
46 |
5OcuPkytVcM0vbXes6Yi38MfRXMt9Re4d9uAscL12vBZet/50fUA2y9eRCP3SW0T |
47 |
WHSMQ7ZT |
48 |
=a+QA |
49 |
-----END PGP SIGNATURE----- |