Thermal and Performance

Resources for debugging thermal performance on VOXL platform

Table of contents

  1. voxl-perfmon
  2. Commands
    1. Governor
    2. Frequency
    3. Online

voxl-perfmon

A Python script to monitor CPU and GPU usage as well as individual core temperatures called voxl-permon is bundled in the voxl-utils package that is installed by default on the target.

Usage can be found here

Source code can be found here

Commands

Governor

Set CPU 0 to performance mode

$ echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

View CPU 0’s governor mode

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Frequency

View CPU 0’s current frequency

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

View CPU 0’s minimum frequency

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

View CPU 0’s maximum frequency

$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

View CPU 3’s available frequencies for scaling

$ cat /sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies
$ 307200 403200 480000 556800 652800 729600 806400 883200 940800 1036800 1113600 1190400 1248000 1324800 1401600 1478400 1555200 1632000 1708800 1785600 1824000 1920000 1996800 2073600 2150400

Set CPU 3’s maximum frequency to 1785600 in the governor

$ echo 1785600 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

Online

See which CPU’s are online

$ cat /sys/devices/system/cpu/online

Set CPU 2 offline

$ echo 0 > /sys/devices/system/cpu/cpu2/online