kiddigital wrote: ↑Saturday 09 September 2023 15:13
maybe underclock it so it does not run on maximum speed.
Default lower speed setting can also be minimized under default (core min was 400MHz on my system), so power governor can slow things even more when possible and mean temperature drops. Only reduced max from default 1200 (on my PI3B) to 1100, but 1.2GHz was almost never reached thus the min was clearly the improvement here.
In the [all] section at the end of /boot/config.txt I have this setting changes for my PI3B:
Code: Select all
# Underclock PI3B max arm=1200/core=400
# Monitor : watch -n1 vcgencmd measure_clock [arm|core]
# https://www.raspberrypi.com/documentation/computers/config_txt.html
arm_freq=1100
core_freq=350
arm_freq_min=400
core_freq_min=200
When I reinstalled from debian 10 32 bit to debian 11 64 bit, my system temperature increased by ~4/5°C, thus these settings that allowed to get back to previous figures.
Don't know if reason is the version change or going 64bit. Most probably the last hypothesis, even if surprising...
That's just 50MHz min and 100MHz drop on core freq, but effect on mean temperature is there with no noticeable perf change.
For SD, on the other side, interface can be overclocked: PI3B setting was quite conservative (50MHz, max is 100). I use 83MHz since years, same place for tuning this:
Lots of "knobs" on FS/virtual mem management side as well to increase reactivity & SD use efficiency (commit delay defaulting at 5s etc).
My systems runs with a battery backup (thus a commit delay set to 2mn/120s) so I have this added in my /etc/sysctl.conf:
Code: Select all
vm.dirty_ratio=60
vm.dirty_expire_centisecs=120000
These settings can also be changed using sysfs for test (but then not restored after a reboot). This allows much more caching & write merge: With this domoticz http UI feels more reactive.