This is an archive of the discontinued LLVM Phabricator instance.

Update number of threads for building to take advantage of distributed build cores on doug-worker-* builders
ClosedPublic

Authored by dyung on Jan 11 2023, 12:54 AM.

Details

Summary

I have an extra computer setup running icecream as a distributed build node so update the number of build threads used by the other machines to take advantage of the extra cores. But also limit the number of parallel link jobs to avoid running out of memory.

The distributed build machine contains 10 cores, it is being allocated as follows:

  • doug-worker-1a: 8 threads => 10 threads (+2)
  • doug-worker 1b: 8 threads => 10 threads (+2)
  • doug-worker 2a: 16 threads => 22 threads (+6)

Diff Detail

Event Timeline

dyung created this revision.Jan 11 2023, 12:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 11 2023, 12:54 AM
dyung requested review of this revision.Jan 11 2023, 12:54 AM
rengolin accepted this revision.Jan 11 2023, 2:33 AM
rengolin added a subscriber: rengolin.

LGTM, thanks!

This revision is now accepted and ready to land.Jan 11 2023, 2:33 AM