CPU usage peak after RkLunch.sh

  • Some updates - this is happening randomly also when just rebooting device. Sometimes it uses 5-7% CPU, sometimes ~25-30.

    After fresh restart (with reboot)

    Tasks: 100 total, 2 running, 98 sleeping, 0 stopped, 0 zombie
    %Cpu0 : 22.1/4.1 26[|||||||||||||| ]
    GiB Mem : 20.1/0.2 [ ]
    GiB Swap: 0.0/0.0 [ ]


    when I am moving the camera:

    %Cpu0 : 4.2/25.3 30[|||||||||||||||| ]
    GiB Mem : 20.1/0.2 [ ]
    GiB Swap: 0.0/0.0 [ ]

    User time CPU switches with kernel time CPU. Are there any initialization conditions that may cause higher CPU usage in some cases? How to debug it?
  • Many factors affect the CPU. At present, we can only confirm that the rkipc function is not affected.
    Changes in CPU usage are mainly related to rkipc, which calls many Rockchip closed‑source libraries to drive various rkmpi components.However, Rockchip’s closed‑source libraries and rkmpi component drivers do not provide sufficient source code information, so there are no proper debugging methods available for now.