icecc / icecream

Distributed compiler with a central scheduler to share build load
GNU General Public License v2.0
1.58k stars 248 forks source link

Cross-compilation does not keep nodes busy #628

Open Aang23 opened 7 months ago

Aang23 commented 7 months ago

Hello, I am attempting to use icecc to speed up building some large codebase on aarch64 by using a few x86_64 nodes in my network. I have generated the toolchain files and the nodes are able to compile.

However, while everything works as expected for a few moments after running make -j40, things quickly go wrong.

Screenshot from 2024-01-23 23-16-56

After only a little while, only the aarch64 node I'm building on is kept fully busy while x64 nodes are only fed a job once in a while.

Screenshot from 2024-01-23 23-17-33

This ends up being barely faster than compiling solely on the host. This issue is not present when compiling over several aarch64 systems, or on several x64 systems.