MistySOM / rzv2l

MH11-V2L-1
MIT License
0 stars 0 forks source link

Adjust the parallel settings #31

Closed matinlotfali closed 1 year ago

matinlotfali commented 1 year ago

This is similar to https://github.com/MistySOM/rzg2l/pull/37

In this pull request, I am changing the CPU_NUM value back to nproc command which results the correct value of '4' in DC02, instead of the incorrect '12'

According to bitbake documentation here:

The maximum number of tasks BitBake should run in parallel at any one time. If your host development system supports multiple cores, a good rule of thumb is to set this variable to twice the number of cores.

Therefore, I am multiplying CPU_NUM by 2 for BB_NUMBER_THREADS.

However, for PARALLEL_MAKE and every other parallel setting, the documentation says they all default to the number of cores. So no need to override them.

The Good: This will cause the bitbake command with cache to complete around 10% faster. This will cause running multiple bitbake runs to add less pressure on the server.