Gentoo Archives: gentoo-portage-dev

From: litlle girl <little.linux.girl@×××××.com>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] paraller compile portage improvement (package number of threads mark)
Date: Sat, 02 Aug 2008 10:14:59
Message-Id: 9e27f5bf0808020314t6a0b3365ree632bad7d4b4fc1@mail.gmail.com
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

Replies

Subject Author
Re: [gentoo-portage-dev] paraller compile portage improvement (package number of threads mark) "Patrick Börjesson" <psychotical@×××××××.com>