I added a script lurking around on my disk for some time to Armbian's repo to be hopefully included into future Armbian releases when testing looks good: https://github.com/igorpecovnik/lib/blob/master/scripts/h3consumption
Since it's just a script you can include it in your running Armbian installation simply by downloading it from Github -- try it this way please:
sudo -s
wget -q -O /usr/local/bin/h3consumption "https://raw.githubusercontent.com/igorpecovnik/lib/master/scripts/h3consumption"
chmod 755 /usr/local/bin/h3consumption
h3consumption -H
h3consumption -p
The last 2 calls will show the verbose help text along with current settings. This might then look like this:
Mode of operation/test:
Please read through the description (-H output) first and check also the referenced links
Use -p to get currently used settings
Use the other switches to modify settings
Do not use -p now but instead do a reboot first and then check again -p
You might also have a look at /etc/rc.local and /etc/defaults/cpufrequtils to get an idea where the script does things for a better understanding
Two examples (will go into details later in different thread😞
On an Orange Pi Plus 2E 'h3consumption -c 1 -m 1296 -d 408 -g off -e fast' reduces default idle consumption from 1650 mW by 780 mW to just 870 mW
On an Orange Pi Lite 'h3consumption -D 132 -c1 -g off -u off' reduces default idle consumption from 1060 mW by 660 mW to just 400 mW (same low consumption running identical settings possible with NanoPi M1, Orange Pi One/PC/PC Plus and maybe the larger boards too when GBit Ethernet PHY can be completely disabled)
Please note: the -D switch allows to use DRAM clockspeeds that are way below Allwinner's defaults and what's expected to work ok (since DDR3 shouldn't be clocked lower than 300 MHz and Allwinner used 408 MHz clockspeed as lower limit). While clockspeeds as low as 132 MHz seemed to work reliably in my tests and it should be ok to test these out when having in mind that this is an experimental feature you won't be able to go lower than 408 MHz anyway without a kernel patch (available in post #14 here) with all available official Armbian releases. So you've to either use the kernel .deb I provide in the other thread or wait for a new round of Armbian images (no idea how Igor's plans look like)
It's a bug I introduced in early April -- will be fixed with soon to be released Armbian 5.11: http://forum.armbian.com/index.php/topic/1223-prepare-v511-bugfix-update/?view=getlastpost
Green led has now "heartbeat" trigger enabled by default, it blinks like the "heart" of the CPU, on higher loads it blinks slightly faster than on lower ones.