This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDSIDK572: Execution time of bitbake

Genius 5840 points

Part Number: TMDSIDK572

Hello,

I performed bitbake arago-core-tisdk-bundle and it is finished.

Execution time and environment is following.

Execution time : 100 hours

Environment : 

 Memory : 8Gbyte

 Number of cores : 2

 SwapFile 10GByte(I saw up to 7GByte is used while executing)

 ulimit 40961

 Disc memory after bitbake is completed : 480GByte

 

It seems that it requires a lot of execution time and resources.
Are the above results natural? Is it abnormal?

Regards,

U-SK

  • Hi U-SK,

    The build speed is dependent on 3 factors - machine capability (CPU, RAM, Disc speed write/read), network speed (for download) and other tasks running in parallel. 

    The configuration of this machine seems to be very low in terms of both CPU cores and memory. On my desktops it takes about ~10hours depending on what other jobs are running in parallel - we normally use 8 core running at 3.5GHz and RAM  >= 16GB.  So this number that you shared seems to scale with this observation. 

    I wouldn't recommend building on this machine for your daily needs and usually I build on a build server in which I can finish the task in ~3 hours - ofcourse it is a server and not a desktop.

    Last point - the overall disc memory should be ~150GB required for the build. Please double check this on your side.

    Regards

    Karthik

  • Hi Karthik,

    Thank you for your reply.

    Could you please clarify in detail what I should check for the following?

    >Last point - the overall disc memory should be ~150GB required for the build. Please double check this on your side.

    Regards,

    U-SK

  • Hi U-SK,

    You can simply check the size of the directory in which you started the yocto-build. I checked on the latest build, it is 250GB not 150GB like I mentioned earlier. Please note the correction.

    cd <to your yocto build directory>
    du -hd1 .

    Note that this is for the full build.

    Regards
    Karthik

  • Hi Karthik,

    Thank you for your reply.

    I confirmed and result in each folder is following:

    sources 400,012
    downloads 28,297,528
    build 420,599,932
    configs 508
    sample-files 92
    .git 1,860
    total 449,299,968

    Is the above the result you expected?

    Do you find any problems?

    Regards,

    U-SK

  • Hi U-SK,

    This looks fine but I still think that you probably have two different builds in the folder. My total space is 250GB.

    Anyway, I think you have what you need to proceed.

    Regards

    Karthik

  • Hi Karthik,

    Thank you for your reply.

    I understand.

    U-SK