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_min_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