trip-points throttling?

Posts: 14
Joined: Wed Mar 08, 2017 11:30 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0

trip-points throttling?

Unread post by blu » Sat Apr 13, 2019 5:53 pm


I've been benchmarking some code on a XU4 (active cooling version) with Memeka's excellent Stretchy Pants image, kernel 4.9.11, and I've noticed a what I suspect is a thermal-throttling-related performance oddity:

1. setting the big core's governor to performance (2GHz)
2. pinning a computational single-thread load to the big cores (taskset 0xf0)
3. performance (i.e. time) oscillates between 20s and 22s for the same workload

Checking the thermal zones, temp at idle for zone0 is approx 45-47C:

Code: Select all

$ cat /sys/class/thermal/thermal_zone0/temp
At the same time, the trip points are set as:

Code: Select all

$ for i in {0..3}; do cat /sys/class/thermal/thermal_zone0/trip_point_${i}_temp ; done
Monitoring temp-freq on the big cluster as:

$ while (true); do cat /sys/class/thermal/thermal_zone0/temp ; cat /sys/devices/system/cpu/cpufreq/policy4/scaling_cur_freq ; sleep 1; done

Shows that for the duration of the benchmark temp rises to mid 60's C, and the fan kicks in at 50C, but the freq stays stable at 2GHz. And yet, benchmark times oscillate by 10%. The only IO the benchmark does is some printf, which is redirected to /dev/null. Any ideas what might be the cause of oscillations?

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: Bing [Bot] and 0 guests