Bitbake speed

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bitbake speed

3,303件の閲覧回数
dugurlu
Contributor I

Hello everyone,

I'm working on a project which has many Bitbake recipes and takes a lot of time.(up to 24 hours)  I am a newbie on embedded Linux.

How can ı solve this problem? 

Thanks.

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

2,864件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Dogan Ugurlu,

Bitbake can take a while especially with recipes with a large number of tasks. It also fetches the source code on-demand, so there are several variables that will affect how much bitbake takes to finish all tasks in the queue:

- Your internet connection is one variable, as some repositories are very large.

- If you are using a Virtual Machine the process will be much slower.

- Having multiple cores allow to run several tasks in parallel. You may change this number, but it’s recommended to keep it at 2X the number of cores at a maximum. To do this add these lines on the conf/local.conf file under the build directory (instead of n, place the number of parallel threads you desire):

PARALLEL_MAKE ?= "-j n"

BB_NUMBER_THREADS ?= "n"

I hope this helps!

Regards,

0 件の賞賛
返信