TPEPlatform/Graphic: Difference between revisions

Jump to navigation Jump to search
Line 17: Line 17:
* Chrome or Content process CPU bound  
* Chrome or Content process CPU bound  
** <font color="red">How to make sure the platform is not chrome process CPU bound?</font> In most cases, CPU bound happens in Content process.
** <font color="red">How to make sure the platform is not chrome process CPU bound?</font> In most cases, CPU bound happens in Content process.
* memcpy peformance
* memcpy peformance
** System memory to graphic memory copy
** System memory to graphic memory copy
** System memory to system memory copy
** System memory to system memory copy


*CPU Scheduling/ Governor
*CPU Scheduler/ CPU Governor
** Try to lock CPU cores/frequency(platform-dependent)
** Lock CPU cores and frequency(platform-dependent)
  For example:
  For example:
  adb shell echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  adb shell echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Line 31: Line 29:
  For example:
  For example:
  watch -n 0.3 "adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq"
  watch -n 0.3 "adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq"
** use simple script to see CPU loading and frequency
** Use simple script to see CPU loading and frequency
*** adb shell while true; do i=1; done
*** adb shell while true; do i=1; done
** Gecko profiler[https://intranet.mozilla.org/TPEPlatform/PerfTool] to get the callstack of CPU bound  
** Gecko profiler[https://intranet.mozilla.org/TPEPlatform/PerfTool] to get the callstack of CPU bound  
Confirmed users
1,643

edits

Navigation menu