Measure and compare performance per watt on an Arm Linux system
Introduction
Prepare the Arm Linux system
Discover CPU frequency and power controls
Collect synchronized power and thermal telemetry
Establish an OpenSSL performance and power baseline
Compare Linux CPU frequency governors
Compare CPU maximum-frequency limits
Calculate performance and energy efficiency
Next Steps
Measure and compare performance per watt on an Arm Linux system
Introduction
Prepare the Arm Linux system
Discover CPU frequency and power controls
Collect synchronized power and thermal telemetry
Establish an OpenSSL performance and power baseline
Compare Linux CPU frequency governors
Compare CPU maximum-frequency limits
Calculate performance and energy efficiency
Next Steps
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Use the CPU and I/O power channels exposed by your platform’s
hwmon driver. On the example Thelio Astra, apm_xgene provides those channels. On another system, identify the equivalent labeled inputs before you run the logger. Treat the sum as an SoC estimate that excludes memory, storage, fans, and power-supply losses.List the policy directories under
/sys/devices/system/cpu/cpufreq/ and compare their count with nproc. If the counts differ, your system might group multiple CPUs into one policy. Use this layout to understand which CPUs change together before you run experiments.Replace
apm_xgene and system76_thelio_io with the device names reported by /sys/class/hwmon/hwmon*/name, then update sensor labels if your drivers use different labels. The logger accepts an output filename and sampling interval as its first and second arguments.Run
sudo ./run-openssl.sh LABEL SECONDS. The script uses openssl speed with SHA-256, a fixed 16384-byte buffer, and -multi "$(nproc)" to start one worker per online CPU. Check the saved openssl-output.txt file for the aggregate throughput.Confirm that the requested governor appears in each policy’s
scaling_available_governors file. The set-governor.sh script validates this and exits if any policy lacks the governor. Check that scaling_min_freq and scaling_max_freq remain unchanged across runs.