public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* Automatic cap on BB_NUMBER_THREADS and PARALLEL_MAKE
@ 2020-12-03 17:48 Ross Burton
  2020-12-03 18:20 ` [OE-core] " Alexander Kanavin
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Ross Burton @ 2020-12-03 17:48 UTC (permalink / raw)
  To: OE-core

Hi,

Currently, BB_NUMBER_THREADS and PARALLEL_MAKE use the number of cores
available unless told otherwise.  This was a good idea six years
ago[1] but some modern machines are moving to very large core counts.

For example, 88 core dual Xeons are fairly common. A ThunderX2 has 256
cores (2 sockets, 4 hyperthreads per physical core). The Ampere Altra
is dual socket 2*80=160 cores.

At this level of parallelisation the sheer amount of I/O from the
unpack storm is quite excessive.  As a strawman argument, I propose a
hard cap to the default BB_NUMBER_THREADS of -- and I'm literally
making up numbers here -- 32.  Maybe 64.  Comments?

Cheers,
Ross

[1] http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=1529ef0504542145f2b81b2dba4bcc81d5dac96e

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-12-04  9:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-03 17:48 Automatic cap on BB_NUMBER_THREADS and PARALLEL_MAKE Ross Burton
2020-12-03 18:20 ` [OE-core] " Alexander Kanavin
2020-12-03 18:51   ` Konrad Weihmann
2020-12-04  6:39   ` Mikko Rapeli
2020-12-04  9:23   ` Jose Quaresma
2020-12-03 18:31 ` Andre McCurdy
2020-12-03 18:32 ` Paul Barker
2020-12-03 18:56 ` Khem Raj
2020-12-03 23:05 ` Richard Purdie
2020-12-04  6:38 ` Mikko Rapeli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox