Michael <[email protected]> writes:

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

That sucks. I'll try it out but I guess there's no way out on building a
proper rig that can handle the compile jobs.

Though to be honest, I've been compiling all of my stuff in both my X200
and T400 laptops and  both are Core 2 Duo machines.  The only real issue
that I've had with those is with compiling Qtwebengine which took around
12-14 hours.  Other than  that the compile  times are  negligible enough
that I don't really notice it that much.

Either way, thanks for the heads up.

Cheers!

-- 
|----Give them an inch and they will take a mile.----|
|----------------------------------------------------|
|---------{gopher,gemini}://kalayaan.xyz-------------|
|-C4AE 5D53 46A0 01DF 6E92  CB46 92D7 9FBB AB9F 3E37-|

Attachment: signature.asc
Description: PGP signature

Reply via email to