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.

TDA4VM: About 25% CPU usage rate is missing

Part Number: TDA4VM

TI expert

         I am currently debugging system performance,and find out that about 25% cpu usage is missing. I used top command get cpu usage, sum all  value of the process if the process cpu usage value not zero, and if process usage value is zero, I use 0.1 instead of 0  then add all value. I use 200% to subtract the sum of the previous additions , then use this result subtract (idle value * 2) ,  there value about 25%.  I want to know which operations are consuming these CPU  and  What methods can be used to optimize them ?   Thanks!

This is  one of the top command log:

top - 02:43:18 up 0 min, 0 users, load average: 0.52, 0.11, 0.04
Tasks: 160 total, 1 running, 159 sleeping, 0 stopped, 0 zombie
%Cpu(s): 43.7 us, 38.3 sy, 0.0 ni, 9.5 id, 0.0 wa, 2.3 hi, 6.3 si, 0.0 st
MiB Mem : 2400.0 total, 1333.9 free, 707.9 used, 358.2 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 1325.0 avail Mem

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4036 root 20 0 1027904 56960 26816 S 20.6 2.3 0:00.35 ismpauto
785 root 20 0 794880 10048 7744 S 13.0 0.4 0:02.52 localeth
717 root 12 -8 912128 62912 14400 S 10.7 2.6 0:03.36 vx_app_sr+
757 root 10 -10 623488 7872 5312 S 7.6 0.3 0:01.11 vx_app_ip+
1011 root 20 0 648128 9280 6784 S 6.9 0.4 0:00.68 foousion
1024 root 20 0 563520 8512 6208 S 6.9 0.3 0:00.67 EVM
3322 root 20 0 935488 32192 6592 S 6.9 1.3 0:00.21 StHR
816 root 20 0 704000 12864 7104 S 6.1 0.5 0:02.02 vx_app_pl+
937 root 20 0 683392 10112 6464 S 5.3 0.4 0:00.64 CPS
715 root 20 0 724096 11648 8064 S 4.6 0.5 0:00.57 rpm
860 root 20 0 941376 8448 6400 S 4.6 0.3 0:00.57 assApp
1316 root 20 0 494272 3072 2048 S 4.6 0.1 0:00.47 eee_tda4
3139 root 20 0 686464 13184 7360 S 4.6 0.5 0:00.27 vx_app_IP+
804 root 20 0 416000 4992 2944 S 3.8 0.2 0:00.34 app_tis+
880 root 20 0 484416 10048 6272 S 3.8 0.4 0:00.52 xxmain
1645 root 20 0 494656 3520 2304 S 3.8 0.1 0:00.26 vx_app_HD+
2151 root 20 0 551424 3008 2048 S 3.8 0.1 0:00.24 ticm_rs
741 root 20 0 661888 7168 4928 S 3.1 0.3 0:00.39 vvvApp
894 root 20 0 580224 9088 5696 S 3.1 0.4 0:00.31 app_diag.+
896 root 20 0 785792 11264 8064 S 3.1 0.5 0:00.22 vvveth
934 root 20 0 417472 14912 11584 S 3.1 0.6 0:00.28 rpis
2642 root 20 0 88576 18240 4544 S 3.1 0.7 0:00.05 Cente+
3502 root 20 0 600192 11840 6400 S 3.1 0.5 0:00.25 vx_app_IP+
836 root 20 0 802944 11072 8320 S 2.3 0.5 0:00.31 fouutaApp
10 root 20 0 0 0 0 I 0.8 0.0 0:00.02 rcu_preem+
15 root 20 0 0 0 0 S 0.8 0.0 0:00.02 ksoftirqd+
17 root 0 -20 0 0 0 I 0.8 0.0 0:00.03 kworker/1+
122 root 20 0 0 0 0 I 0.8 0.0 0:00.15 kworker/0+
692 root 20 0 0 0 0 I 0.8 0.0 0:00.10 kworker/u+
1078 root 20 0 5632 3968 2432 R 0.8 0.2 0:00.10 top
1 root 20 0 2368 832 512 S 0.0 0.0 0:00.24 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp
5 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/0+
6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0+
7 root 20 0 0 0 0 I 0.0 0.0 0:00.10 kworker/u+
8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu+
9 root 20 0 0 0 0 S 0.0 0.0 0:00.02 ksoftirqd+
11 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration+
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
14 root rt 0 0 0 0 S 0.0 0.0 0:00.00 migration+
16 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/1+
18 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
19 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 netns
20 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_tasks+
21 root 20 0 0 0 0 I 0.0 0.0 0:00.01 kworker/1+
22 root 20 0 0 0 0 S 0.0 0.0 0:00.00 oom_reaper
23 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 writeback
24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kcompactd0
25 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd
26 root 39 19 0 0 0 S 0.0 0.0 0:00.00 khugepaged
35 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 cryptd
57 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kintegrit+
58 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kblockd
59 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 blkcg_pun+
60 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 tpm_dev_wq
61 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 edac-poll+
62 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 devfreq_wq
63 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdogd
64 root 20 0 0 0 0 I 0.0 0.0 0:00.18 kworker/0+
65 root 20 0 0 0 0 I 0.0 0.0 0:00.05 kworker/u+
66 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rpciod
67 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/u+
68 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 xprtiod
98 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kswapd0
99 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nfsiod
101 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kpcitest
102 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kpcintb
103 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 vfio-irqf+
104 root 20 0 0 0 0 I 0.0 0.0 0:00.02 kworker/0+
105 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/15-20+
106 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/16-20+
107 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/17-20+
108 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/9-arm+
109 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/u+
110 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 sdhci
111 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/19-mm+
112 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 sdhci
113 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/20-mm+
114 root 20 0 0 0 0 I 0.0 0.0 0:00.01 kworker/1+
115 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mmc_compl+
116 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1+
117 root 20 0 0 0 0 S 0.0 0.0 0:00.00 jbd2/mmcb+
118 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ext4-rsv-+
119 root 20 0 0 0 0 I 0.0 0.0 0:00.01 kworker/1+
120 root 0 -20 0 0 0 I 0.0 0.0 0:00.02 kworker/0+
121 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/1+
123 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/0+
151 root 20 0 15232 5952 3136 S 0.0 0.2 0:00.33 systemd-u+
218 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 pvr_timer
240 root 39 19 0 0 0 S 0.0 0.0 0:00.00 pvr_defer+
244 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pvr_devic+
245 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 pvr_cache+
246 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 pvr_fce_s+
250 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1+
251 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0+
252 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1+
262 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0+
356 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/586-6+
365 root 20 0 0 0 0 S 0.0 0.0 0:00.00 hwrng
520 message+ 20 0 4928 1088 0 S 0.0 0.0 0:00.00 dbus-daem+
529 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ipv6_addr+
530 root 20 0 3200 704 0 S 0.0 0.0 0:00.00 dropbear
533 root 20 0 3328 448 0 S 0.0 0.0 0:00.00 telnetd
540 rpc 20 0 4352 832 0 S 0.0 0.0 0:00.00 rpcbind
546 1000 20 0 3968 1024 0 S 0.0 0.0 0:00.00 rpc.statd
551 root 20 0 2752 2048 1472 S 0.0 0.1 0:00.00 atd
560 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 cfg80211
575 root 20 0 3648 640 0 S 0.0 0.0 0:00.00 netserver
578 root 20 0 78976 896 64 S 0.0 0.0 0:00.00 irqbalance
585 root 20 0 3136 832 0 S 0.0 0.0 0:00.00 crond
616 root 20 0 12800 6912 2432 S 0.0 0.3 0:00.01 snmpd
671 root 20 0 0 0 0 S 0.0 0.0 0:00.00 jbd2/mmcb+
672 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ext4-rsv-+
674 root 20 0 0 0 0 S 0.0 0.0 0:00.00 jbd2/mmcb+
675 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ext4-rsv-+
677 root 20 0 0 0 0 S 0.0 0.0 0:00.00 jbd2/mmcb+
678 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ext4-rsv-+
680 root 20 0 0 0 0 S 0.0 0.0 0:00.00 jbd2/mmcb+
681 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ext4-rsv-+
683 root 20 0 0 0 0 S 0.0 0.0 0:00.00 jbd2/mmcb+
684 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ext4-rsv-+
705 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_diag_+
707 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 avm_autor+
709 root 20 0 5952 4864 3008 S 0.0 0.2 0:00.01 login
710 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_rpm.sh
711 root 20 0 5568 2112 1472 S 0.0 0.1 0:00.00 app_diag_+
739 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 eol_autor+
752 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 pvr_misr
753 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 pvr_misr
755 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 ipuuc_autor+
782 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_dlocal+
801 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_ddtsn.sh
814 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_pxd.sh
834 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_fuutaA+
858 root 20 0 3840 1280 704 S 0.0 0.1 0:00.00 run_assAp+
878 root 20 0 3840 1280 704 S 0.0 0.1 0:00.00 run_sidAp+
891 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_app_d+
892 root 20 0 3840 832 0 S 0.0 0.0 0:00.00 app.sh
895 root 20 0 2368 832 512 S 0.0 0.0 0:00.00 sleep
932 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_rpis.+
935 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_ipsAp+
960 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 clear_cor+
961 root 20 0 3840 3264 2432 S 0.0 0.1 0:00.05 diag_save+
964 root 20 0 2368 896 512 S 0.0 0.0 0:00.00 sleep
971 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_RTKse+
974 root 20 0 93568 8128 6272 S 0.0 0.3 0:00.05 RTKserver
1006 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 saic_cgro+
1008 root 20 0 2368 832 512 S 0.0 0.0 0:00.00 sleep
1009 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_mmAp+
1020 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_wmApp+
1080 root 20 0 2432 832 512 S 0.0 0.0 0:00.01 mpstat
1314 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_euudAp+
1637 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_HdddLI+
2149 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_ticm.+
3137 root 20 0 3840 1216 704 S 0.0 0.0 0:00.00 run_ss.sh
4032 root 20 0 3840 768 0 S 0.0 0.0 0:00.00 sh
4291 root 20 0 2368 832 512 S 0.0 0.0 0:00.00 sleep