1 |
Hi all, |
2 |
|
3 |
There are lots of portage packages that hasn't got jobserver, (i.e. gcc, |
4 |
firefox...) |
5 |
and can be compiled only at one thread/core. |
6 |
This is waste of time and resources on dualcore/quadcore cpus. |
7 |
|
8 |
|
9 |
How about mark packages with number of threads it can be compiled ? |
10 |
(ie. |
11 |
T0 - no limits of threads, |
12 |
T1 - 1 thread, |
13 |
-------- |
14 |
Tn - n threads) |
15 |
|
16 |
Iproved emerge command will be able to compile two or more packages |
17 |
(each 1 thread marked) at the same time (if this packages don't depend on |
18 |
each other). |
19 |
Then wait until compilation ends, and start multithread marked packages |
20 |
compilaton. |
21 |
|
22 |
Packages can be sort to compile one core/thread packages at the same time. |
23 |
|
24 |
This can be good solution until programers change code to multi thread |
25 |
compile. |
26 |
|
27 |
Regs, |
28 |
LLG |