1 |
On Wednesday, 22 November 2017 08:57:29 GMT David Haller wrote: |
2 |
> Hello, |
3 |
> |
4 |
> On Wed, 22 Nov 2017, J. Roeleveld wrote: |
5 |
> >On Wednesday, November 22, 2017 8:48:08 AM CET David Haller wrote: |
6 |
> >> So, your emerge is mostly IO and "emerge"-threads bound. Solution: |
7 |
> >> adjust your build-threads[1], and then adjust your emerge jobs! See |
8 |
> >> '--jobs' in 'man emerge'. Can't find where to set a default in a |
9 |
> >> config-file for that ATM, but you could always alias/function/script |
10 |
> > |
11 |
> >> emerge to something else, e.g. put this in your ~/.bashrc: |
12 |
> >Instead of all these aliases, simply edit your make.conf ( /etc/portage/ |
13 |
> >make.conf ) |
14 |
> > |
15 |
> >And edit (or add) the following lines: |
16 |
> >MAKEOPTS="--jobs 24 --load-average 48" |
17 |
> >EMERGE_DEFAULT_OPTS="--jobs 24 --load-average 48" |
18 |
> |
19 |
> Well, that alias/function/script is mostly for all the other (default) |
20 |
> options I want ;) Hm. What's this EMERGE_DEFAULT_OPTS though? ;)) And |
21 |
> how can I override them if not wanted? .oO( gotta read up on that )Oo. |
22 |
|
23 |
Options passed on the command line (as in an alias) override any others. I |
24 |
assume a function would be equivalent to an alias here, but I haven't |
25 |
checked as I don't use them. |
26 |
|
27 |
There used to be debates on the efficiency of alias versus function, but if |
28 |
they're only taking nanoseconds to execute, what does it matter? |
29 |
|
30 |
-- |
31 |
Regards, |
32 |
Peter. |