On Thu, 2026-03-12 at 18:41 +0530, Sundeep KOKKONDA wrote: > > > > I'd suggest we don't hardcode a number, but rather set to > > oe.utils.cpu_count() > > (grep oe-core for examples). > > > I choose 8 here as there is no noticeable difference between 8/16. > Also, the rust blog says > (https://blog.rust-lang.org/2023/11/09/parallel-rustc/) - > > We recommend eight threads because this is the configuration we have > tested the most and it is known to give good results. Values lower > than eight will see smaller benefits, but are appropriate if your > hardware has fewer than eight cores. Values greater than eight will > give diminishing returns and may even give worse performance.
That sounds like min(oe.utils.parallel_make(), 8) then? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#232951): https://lists.openembedded.org/g/openembedded-core/message/232951 Mute This Topic: https://lists.openembedded.org/mt/118273920/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
