Jetson/AGX Xavier Performance Governor

From eLinux.org
< Jetson
Revision as of 18:39, 8 October 2018 by Peter Pan (talk | contribs) (Created page with "In power non-sensitive case, using performance governor can help to run GPU at highest frequency by default and still be able to be thermal throttled. == Re-config kernel ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In power non-sensitive case, using performance governor can help to run GPU at highest frequency by default and still be able to be thermal throttled.

Re-config kernel

Run below command on board to check if CONFIG_DEVFREQ_GOV_PERFORMANCE is set or not. If not, please set CONFIG_DEVFREQ_GOV_PERFORMANCE=y and update the kernel

 $ zcat /proc/config.gz | grep CONFIG_DEVFREQ_GOV_PERFORMANCE

Enable performance governor for GPU

Run below command on board to check all available governors for GPU

 $ cat /sys/class/devfreq/17000000.gv11b/available_governors

To enable performance governor, run below command on board as root

 # echo performance > /sys/class/devfreq/17000000.gp10b/governor

Check GPU frequency

With performance governor enabled, GPU should run at highest frequency by default, run below command on board as root to check GPU frequency

 # /home/nvidia/tegrastats

Emulate thermal throttle

TODO