Skip to main content
Graduate II
September 3, 2019
Solved

linux performance

  • September 3, 2019
  • 4 replies
  • 1251 views

I just got my dk2 kit, played with it a little bit, but the performance is so bad. it takes a lot to boot ~30sec and after that it is unresponsive, you click something, then several seconds later something happens. Is this considered normal, or it is just my board?

    This topic has been closed for replies.
    Best answer by PatrickF

    30second for booting the demo is normal.

    The starter package and demo are not optimized for performances, but more for flexibility to work on various platform and to allow user tests, so, have all debug and logging enabled, and all peripherals are initialized, which overall is not good for boot time and performances. There is as well some user input wait delay on uBoot.

    The demo is done in Python using GTK, which could also explain low responsiveness.

    Note that DK2 HW is using 16-bit DDR3L and does not support UHS-I SD-Card modes. EV1 board will exhibit slightly better boot time using an UHS-I SD-Card.

    We are preparing a wiki page to give some hint and recipes to optimize boot time in a real user application (10 seconds to Linux prompt is probably achievable). let's wait one or two weeks.

    4 replies

    PatrickFAnswer
    Technical Moderator
    September 4, 2019

    30second for booting the demo is normal.

    The starter package and demo are not optimized for performances, but more for flexibility to work on various platform and to allow user tests, so, have all debug and logging enabled, and all peripherals are initialized, which overall is not good for boot time and performances. There is as well some user input wait delay on uBoot.

    The demo is done in Python using GTK, which could also explain low responsiveness.

    Note that DK2 HW is using 16-bit DDR3L and does not support UHS-I SD-Card modes. EV1 board will exhibit slightly better boot time using an UHS-I SD-Card.

    We are preparing a wiki page to give some hint and recipes to optimize boot time in a real user application (10 seconds to Linux prompt is probably achievable). let's wait one or two weeks.

    Graduate II
    September 4, 2019

    Ok, reasonable explanation, it would be a good idea to offer also a performance optimized demo, to have a feel what this platform is capable of. 10 sec target is still to slow. I'm trying to imagine a real world application where 10 sec is acceptable. More realistic would be <1 sec to static boot screen, <5 sec to (limited) functionality, interactivity

    Technical Moderator
    September 4, 2019

    <1s is acheivable in a STANDBY mode wakeup case if external DDR content is retained in self-refresh (suspend to RAM). This is how most OpenOS system work.

    Technical Moderator
    September 4, 2019

    you can get a live video of other interesting demos here: https://www.youtube.com/watch?v=8gZze2bld48