Operating the H3 in a reliable way (sane clockspeeds) 看全部

  • 46# zgoda
  • 2015-12-10 19:10:47
Thank you bronco, great news.

I already have few other boards with other Allwinner chips (A20, A31s) and the requirement for heatsink on H3 seemed insane for me.
  • 47# bronco
  • 2015-12-11 04:49:18
Today I made a few comparisons with my 2nd OPi PC (without heatsink):

These are the settings I found safe (on the left) compared to the linux-sunxi ones that use higher voltages (safety headroom):



When increasing the clockspeeds the H3 was idle, while decreasing 4 threads cpuburn-a7 were running. Without a heatsink throttling occures at 1.2 GHz. That's fine.

I adjusted my RPi-Monitor setup to be able to monitor the 'cooling state' also and adjusted the thermal throttling values the new linux-sunxi dvfs table contains. On the left I increased the thermal values by 5°C and on the right the new defaults. I used "sysbench --test=cpu --cpu-max-prime=20000 run --num-threads=4" to measure integer performance. The first time starting with an idle H3, the second time I let both stress and cpuburn-a7 run for 5 minutes with 4 threads each and then let sysbench measure again so that throttling might influence the results:



With the increased thermal tresholds CPU temp is allowed to get close to 85°C while performance remained the same (158 vs. 159 seconds). With the new defaults throttling occured a bit more often and the maximum performance decreased by ~5.5%. Please keep in mind that these are settings without heatsink and without fan. Just the Orange Pi without enclosure at 23°C ambient temperature. In case you attach a heatsink you won't suffer from thermal throttling at all. And all the overheating is gone.
  • 48# zgoda
  • 2015-12-12 23:04:59
My OPi PC is running DietPi. With original dvfs it was idling at 43*C and I considered it sane. Yet I decided to give a try to bronco's settings. With new dvfs CPU is idling at 33-35*C. Definitely worth trying.
  • 49# palloy
  • 2016-1-12 17:31:48
Fascinating reading this thread, thanks for working on this.

I got my OPi-PC a couple of days before Christmas, (free postage from China with AliExpress), as I sweltered in the tropics with ambient 34*C and 90% humidity.  I was still hunting for the path to the temperatures when I looked at syslog, and saw it was reporting throttling at 75, when the idle was 73 !  I junked the case and it came down to 60, hung it on edge in the air - 57.  Blowing on it got it down to 54.  I ordered a heatsink.

It is now working as a low-volume web server, headless.
It needs x2go/stable built, and kernel modules to support LUKS encryption.

What I need explaining is: what is script.bin ?  I mean is the source available?  What reads it and integrates it into Lubuntu?  Why isn't it in clear text, and loaded into filestore, where it could be changed with a text editor before being used?  Probably all stupid questions when you already have the answers.
  • 50# Atech
  • 2016-1-12 18:03:44
you first need to convert "script.bin" to its fex version (using utilities like "BINTOFEX" & "FEXTOBIN" from " http://linux-sunxi.org ") ...  script.fex can then be opened in a word editor like notepad where you can change the settings ...
regarding your question "what is script.bin" .. just think of it as a configuration file which the Allwinner SOC`s bootloader use to initialise the SOCs parameters at boot time ..
for more on script.bin/script.fex file you can visit  " http://linux-sunxi.org/Fex_Guide "  ...
1 ..91011NextPage