1 |
On Saturday, 26 February 2022 22:47:52 GMT Ramces Tampo-og Red wrote: |
2 |
|
3 |
> Yeah, I was just thinking about that since building a powerful, new |
4 |
> computer around my area is prohibitively expensive. But getting old, |
5 |
> prebuilt computers is ludicrously cheap. I figured that I can get a few |
6 |
> of them for $50-75 and just plug them to an ethernet switch to do the |
7 |
> compiling for me. |
8 |
|
9 |
Distributed compiling may not be as useful as you think. Not all phases of a |
10 |
build can be distributed, pre-processing and linking will still take a lot of |
11 |
time, some packages will not compile over distcc and will fail, any gains in |
12 |
compiling time could be eaten away by network losses, etc. On the other hand |
13 |
a 'better' PC with more RAM and a faster CPU with more cores could prove |
14 |
transformative in its performance impact, when used as a building server for |
15 |
binary packages to be installed thereafter on slower systems. |
16 |
|
17 |
I have found older PCs with limited resources eventually reach an EOL as far |
18 |
as their capability to emerge large packages. I have a very old Core 2 Duo |
19 |
Pentium laptop with 4G RAM, which even with MAKEOPTS="-j1" takes forever to |
20 |
build qtwebengine: |
21 |
|
22 |
genlop -t dev-qt/qtwebengine |
23 |
|
24 |
Fri Feb 4 20:06:46 2022 >>> dev-qt/qtwebengine-5.15.2_p20211216 |
25 |
merge time: 1 day, 3 hours, 12 minutes and 7 seconds. |
26 |
|
27 |
Chromium got so slow over the years, I stopped emerging it long ago. |
28 |
|
29 |
Give distcc a go if you have a spare PC to experiment and want to test % |
30 |
improvements with your setup, but personally I wouldn't invest money on it. |
31 |
Instead I'd save up for a faster machine. YMMV. |