Hi Sir,
My customer found that when moving cursor , CPU usage will pull high dramatically (over 50%)
He want to know is HW or SW decode when moving cursor .
Thanks!
Environment : IMX6 DL Android 6.0.1_2.1.0
moving cursor :
CPU0: 54.2% usr 18.2% sys 0.2% nic 25.2% idle 0.0% io 0.0% irq 0.0% sirq
CPU1: 50.3% usr 14.1% sys 0.1% nic 34.5% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 2.32 0.83 0.30 2/452 1195
[7m PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND[0m
527 231 system S < 1527m 153.3 1 43.4 system_server
217 1 system D < 174m 17.6 1 8.5 /system/bin/surfaceflinger
891 231 u0_a10 S 1464m 147.0 0 5.1 {ndroid.launcher} com.android.
604 231 u0_a18 S 984m 98.8 0 4.3 {ndroid.systemui} com.android.
94 2 root SW 0 0.0 1 0.6 [kworker/1:3]
not moving:
CPU0: 24.2% usr 8.7% sys 0.0% nic 65.3% idle 1.2% io 0.0% irq 0.0% sirq
CPU1: 22.6% usr 7.6% sys 0.0% nic 70.1% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 1.48 0.68 0.26 1/463 1214
[7m PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND [0m
599 226 u0_a18 S 992m 99.6 1 7.1 {ndroid.systemui} com.android.
525 226 system S < 1549m 155.5 1 6.7 system_server
1201 213 root R 3388 0.3 0 2.9 toybox top
I see surfaceflinger process takes significant CPU usage in case of cursor movement.
Please make sure that hardware cursor drawing is enabled. Display Processor of i.MX has an option for hardware cursor.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------